Skip to content

Commit

Permalink
Merge pull request #39 from gameclosure/browser-optimizations
Browse files Browse the repository at this point in the history
Update to and support timestep v2.1.0
  • Loading branch information
rogueSkib committed Oct 10, 2015
2 parents 7c65727 + b84655b commit 4f53b46
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/timestep
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "devkit-core",
"author": "Game Closure",
"description": "devkit engine",
"version": "3.0.2",
"version": "3.1.0",
"repository": {
"type": "git",
"url": "http://github.com/gameclosure/devkit-core.git"
Expand Down
2 changes: 0 additions & 2 deletions src/build/browser/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,10 @@ var CSSFont = Class(function () {
this.init = function (file) {
this.file = file;
this.fileBase = path.basename(file, path.extname(file));

this.name = this.fileBase.trim();

var split = this.name.split(/\-/g);
if (split.length > 1) {
this.name = split[0];

var suffix = normalizeFontType(split[1].toLowerCase());

Expand Down
3 changes: 2 additions & 1 deletion src/build/common/jsConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ exports.JSConfig = Class(function () {
sdkVersion: config.sdkVersion || 'unknown',
splash: {
autoHide: true
}
},
useWebGL: manifest.browser && manifest.browser.canvas && manifest.browser.canvas.useWebGL || false
};

if (manifest.disableNativeViews) {
Expand Down

0 comments on commit 4f53b46

Please sign in to comment.