mirror of
https://github.com/wassname/cardsforscience.git
synced 2026-09-11 12:00:40 +08:00
Working with webpack
This commit is contained in:
+4
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user