Skip to content

Commit

Permalink
try to make hft-settings.js work on node
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed May 28, 2015
1 parent 588bf64 commit 023a795
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions public/hft/0.x.x/scripts/hft-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
"use strict";
(function(window) {

define([], function() {

if (window === undefined) {
window = {};
}
window.hftSettings = window.hftSettings || {};

var numRE = /\d+/;
Expand Down Expand Up @@ -113,3 +117,5 @@ define([], function() {

return window.hftSettings;
});
}(this));

0 comments on commit 023a795

Please sign in to comment.