(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/script/test.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, '645cdyPURBBhpnmnr4B3YAQ', 'test', __filename);
// script/test.js

'use strict';

cc.Class({
    extends: cc.Component,

    properties: {
        bigNode: cc.Node,
        littleNode: cc.Node
    },

    // LIFE-CYCLE CALLBACKS:

    onLoad: function onLoad() {
        this.bigNode.on('touchstart', function () {
            cc.log('touchstart big');
        });
        this.bigNode.on('touchend', function () {
            cc.log('touchend big');
        });
        this.littleNode.on('touchstart', function () {
            cc.log('touchstart littleNode');
        });
        this.littleNode.on('touchend', function () {
            cc.log('touchend littleNode');
        });
        cc.tween(this.littleNode).then(cc.tween().by(2, { position: cc.v2(960, 0) }).by(2, { position: cc.v2(-960, 0) })).repeatForever().start();
    }
}
// update (dt) {},
);

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=test.js.map
        