Merge pull request #2142 from jareguo/v1.7-release

bump
This commit is contained in:
Jare Guo
2017-11-28 16:32:13 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -567,7 +567,7 @@ var Component = cc.Class({
// because enabledInHierarchy is assigned after onEnable.
// Actually, if not yet scheduled, resumeTarget/pauseTarget has no effect on component,
// therefore there is no way to guarantee the paused state other than isTargetPaused.
var paused = scheduler.isTargetPaused();
var paused = scheduler.isTargetPaused(this);
scheduler.schedule(callback, this, interval, repeat, delay, paused);
},
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "cocos-creator-js",
"version": "1.6.0",
"version": "1.7.0",
"description": "Cocos2d-html5 is a cross-platform 2D game engine written in Javascript, based on Cocos2d-X and licensed under MIT. It incorporates the same high level api as “Cocos2d JS-binding engine” and compatible with Cocos2d-X. It currently supports canvas and WebGL renderering.",
"homepage": "http://www.cocos2d-x.org",
"authors": [