Skip to content

Commit 6d1166a

Browse files
committed
lint fixes
1 parent 3043fd5 commit 6d1166a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/boot/Game.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ var Device = require('../device');
1717
var DOMContentLoaded = require('../dom/DOMContentLoaded');
1818
var EventEmitter = require('eventemitter3');
1919
var InputManager = require('../input/InputManager');
20-
var PluginCache = require('../plugins/PluginCache');
2120
var PluginManager = require('../plugins/PluginManager');
2221
var SceneManager = require('../scene/SceneManager');
2322
var SoundManagerCreator = require('../sound/SoundManagerCreator');

src/plugins/PluginCache.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ PluginCache.registerCustom = function (key, plugin, mapping)
8080
PluginCache.hasCore = function (key)
8181
{
8282
return corePlugins.hasOwnProperty(key);
83-
}
83+
};
8484

8585
/**
8686
* Checks if the given key is already being used in the custom plugin cache.
@@ -95,7 +95,7 @@ PluginCache.hasCore = function (key)
9595
PluginCache.hasCustom = function (key)
9696
{
9797
return customPlugins.hasOwnProperty(key);
98-
}
98+
};
9999

100100
/**
101101
* Returns the core plugin object from the cache based on the given key.
@@ -110,7 +110,7 @@ PluginCache.hasCustom = function (key)
110110
PluginCache.getCore = function (key)
111111
{
112112
return corePlugins[key];
113-
}
113+
};
114114

115115
/**
116116
* Returns the custom plugin object from the cache based on the given key.
@@ -125,7 +125,7 @@ PluginCache.getCore = function (key)
125125
PluginCache.getCustom = function (key)
126126
{
127127
return customPlugins[key];
128-
}
128+
};
129129

130130
/**
131131
* Returns an object from the custom cache based on the given key that can be instantiated.
@@ -140,7 +140,7 @@ PluginCache.getCustom = function (key)
140140
PluginCache.getCustomClass = function (key)
141141
{
142142
return (customPlugins.hasOwnProperty(key)) ? customPlugins[key].plugin : null;
143-
}
143+
};
144144

145145
/**
146146
* Removes a core plugin based on the given key.
@@ -156,7 +156,7 @@ PluginCache.remove = function (key)
156156
{
157157
delete corePlugins[key];
158158
}
159-
}
159+
};
160160

161161
/**
162162
* Removes a custom plugin based on the given key.
@@ -172,6 +172,6 @@ PluginCache.removeCustom = function (key)
172172
{
173173
delete customPlugins[key];
174174
}
175-
}
175+
};
176176

177177
module.exports = PluginCache;

src/plugins/PluginManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ var PluginManager = new Class({
403403
{
404404
// Add it to the plugin store
405405
PluginCache.registerCustom(key, plugin);
406+
406407
// gamePlugins[key] = plugin;
407408

408409
if (start)

0 commit comments

Comments
 (0)