Working with webpack

This commit is contained in:
2016-02-28 12:55:24 +08:00
parent e1306cf35a
commit 56f2e7d8a7
35 changed files with 413 additions and 2826 deletions
+4 -2
View File
@@ -1,7 +1,8 @@
/** @module Helpers
* Define some useful helpers that are used throughout the game.
*/
var Helpers = (function () {
var ObjectStorage = require("js/storage");
var Helpers = (function (ObjectStorage) {
'use strict';
/** Load a file (usually JSON).
*/
@@ -100,4 +101,5 @@ var Helpers = (function () {
validateSaveVersion: validateSaveVersion,
analytics: ''
};
})();
})(ObjectStorage);
module.exports=Helpers;