Remove useless ccclass decorator (#3239)

This commit is contained in:
pandamicro
2018-09-13 01:35:07 +08:00
committed by GitHub
parent 243d645760
commit 1dab0a28ad
2 changed files with 0 additions and 6 deletions
-4
View File
@@ -101,7 +101,6 @@ function stableRemoveInactive (iterator, flagToClear) {
}
// This class contains some queues used to invoke life-cycle methods by script execution order
@ccclass
class LifeCycleInvoker {
constructor (invokeFunc) {
var Iterator = array.MutableForwardIterator;
@@ -132,7 +131,6 @@ function compareOrder (a, b) {
}
// for onLoad: sort once all components registered, invoke once
@ccclass
class OneOffInvoker extends LifeCycleInvoker {
add (comp) {
var order = comp.constructor._executionOrder;
@@ -171,7 +169,6 @@ class OneOffInvoker extends LifeCycleInvoker {
}
// for update: sort every time new component registered, invoke many times
@ccclass
class ReusableInvoker extends LifeCycleInvoker {
add (comp) {
var order = comp.constructor._executionOrder;
@@ -271,7 +268,6 @@ function createInvokeImpl (funcOrCode, useDt) {
/**
* The Manager for Component's life-cycle methods.
*/
@ccclass
export default class ComponentScheduler {
constructor() {
this.unscheduleAll();
-2
View File
@@ -53,7 +53,6 @@ var callOnLoad = CC_SUPPORT_JIT ? ('c.onLoad();c._objFlags|=' + IsOnLoadCalled)
};
// for __preload: used internally, no sort
@ccclass
class UnsortedInvoker extends CompScheduler.LifeCycleInvoker {
add (comp) {
this._zero.array.push(comp);
@@ -130,7 +129,6 @@ function _onLoadInEditor (comp) {
/**
* The class used to perform activating and deactivating operations of node and component.
*/
@ccclass
export default class NodeActivator {
constructor() {
this.reset();