Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

closed #4234: New EventDispacher test works ok on JSB. #31

Merged
merged 6 commits into from
Mar 5, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 75 additions & 38 deletions frameworks/js-bindings/bindings/auto/api/jsb_cocos2dx_auto_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1105,12 +1105,10 @@ checkAvailable : function (
cc.EventDispatcher = {

/**
* @method pauseEventListenersForTarget
* @param {cc.Node} arg0
* @param {bool} arg1
* @method setEnabled
* @param {bool} arg0
*/
pauseEventListenersForTarget : function (
node,
setEnabled : function (
bool
)
{
Expand All @@ -1136,16 +1134,6 @@ node
{
},

/**
* @method setEnabled
* @param {bool} arg0
*/
setEnabled : function (
bool
)
{
},

/**
* @method addCustomEventListener
* @param {String} arg0
Expand Down Expand Up @@ -1173,23 +1161,13 @@ int
},

/**
* @method removeEventListenersForType
* @param {cc.EventListener::Type} arg0
*/
removeEventListenersForType : function (
type
)
{
},

/**
* @method dispatchCustomEvent
* @param {String} arg0
* @param {void*} arg1
*/
dispatchCustomEvent : function (
str,
void
* @method removeEventListenersForTarget
* @param {cc.Node|cc.EventListener::Type} node
* @param {bool} bool
*/
removeEventListenersForTarget : function(
node,
bool
)
{
},
Expand All @@ -1207,13 +1185,13 @@ bool
},

/**
* @method removeEventListenersForTarget
* @param {cc.Node} arg0
* @param {bool} arg1
* @method dispatchCustomEvent
* @param {String} arg0
* @param {void*} arg1
*/
removeEventListenersForTarget : function (
node,
bool
dispatchCustomEvent : function (
str,
void
)
{
},
Expand All @@ -1240,6 +1218,18 @@ event
{
},

/**
* @method pauseEventListenersForTarget
* @param {cc.Node} arg0
* @param {bool} arg1
*/
pauseEventListenersForTarget : function (
node,
bool
)
{
},

/**
* @method removeCustomEventListeners
* @param {String} arg0
Expand Down Expand Up @@ -12539,6 +12529,43 @@ str

};

/**
* @class Device
*/
cc.Device = {

/**
* @method setAccelerometerEnabled
* @param {bool} arg0
*/
setAccelerometerEnabled : function (
bool
)
{
},

/**
* @method setAccelerometerInterval
* @param {float} arg0
*/
setAccelerometerInterval : function (
float
)
{
},

/**
* @method getDPI
* @return {int}
*/
getDPI : function (
)
{
return 0;
},

};

/**
* @class FileUtils
*/
Expand Down Expand Up @@ -14590,6 +14617,16 @@ TileMapAtlas : function (
*/
cc.EventListenerTouchOneByOne = {

/**
* @method isSwallowTouches
* @return {bool}
*/
isSwallowTouches : function (
)
{
return false;
},

/**
* @method setSwallowTouches
* @param {bool} arg0
Expand Down
Loading