Merge branch 'v1.3' of github.com:cocos-creator/engine into v1.3

This commit is contained in:
VisualSJ
2016-10-18 18:16:44 +08:00
2 changed files with 8 additions and 0 deletions
@@ -44,6 +44,10 @@ var DragonBonesAsset = cc.Class({
}
},
statics: {
preventDeferredLoadDependents: true
},
createNode: CC_EDITOR && function (callback) {
var node = new cc.Node(this.name);
var armatureDisplay = node.addComponent(dragonBones.ArmatureDisplay);
@@ -51,6 +51,10 @@ var DragonBonesAtlasAsset = cc.Class({
},
},
statics: {
preventDeferredLoadDependents: true
},
createNode: CC_EDITOR && function (callback) {
var node = new cc.Node(this.name);
var armatureDisplay = node.addComponent(dragonBones.ArmatureDisplay);