Skip to content

Commit

Permalink
Fix chromed require.js problems
Browse files Browse the repository at this point in the history
Spenser Shumaker <[email protected]>
  • Loading branch information
Spenser Shumaker committed Jul 25, 2014
1 parent b66000a commit 2ec58ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions strata.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
(function (root, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define('strata', ['jquery', 'jsUri', 'js-markdown-extra'], factory);
define('strata', ['jquery', 'jsUri'], function($, uri){
root.strata = factory($, uri);
});
} else {
root.strata = factory(root.$, root.Uri);
}
Expand Down Expand Up @@ -75,7 +77,7 @@
authHostname,
fetchAccountUsers;

strata.version = "1.0.26";
strata.version = "1.0.27";
redhatClientID = "stratajs-" + strata.version;

if (window.portal && window.portal.host) {
Expand Down

0 comments on commit 2ec58ee

Please sign in to comment.