mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
Makes singleton variable name of OptionsHelper lowercase
When we require a singleton, its instance name should be named by lowercase, since it is not a class. Relates to #128
This commit is contained in:
parent
05c4e4de81
commit
5b3bfd4370
6 changed files with 13 additions and 13 deletions
|
|
@ -13,7 +13,7 @@ define([
|
|||
"Game/" + GLOBALS.context + "/GameObjects/Item",
|
||||
"Game/" + GLOBALS.context + "/GameObjects/Items/Skateboard",
|
||||
|
||||
], function (Parent, Settings, ItemSettings, Box2D, OptionsHelper, Exception, nc, Assert, AbstractLayer, CollisionDetector, Tile, Item, Skateboard) {
|
||||
], function (Parent, Settings, ItemSettings, Box2D, optionsHelper, Exception, nc, Assert, AbstractLayer, CollisionDetector, Tile, Item, Skateboard) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
@ -187,7 +187,7 @@ define([
|
|||
throw new Exception("Item name (" + name + ") cannot be found in item list");
|
||||
}
|
||||
|
||||
return OptionsHelper.merge(ItemSettings[name], ItemSettings.Default);
|
||||
return optionsHelper.merge(ItemSettings[name], ItemSettings.Default);
|
||||
};
|
||||
|
||||
TiledLevel.prototype.getTileImagePath = function(gid) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue