Commit c130abb1 authored by Romain Courteaud's avatar Romain Courteaud

Support mutex on top gadget methods.

parent d939a570
...@@ -1787,10 +1787,11 @@ ...@@ -1787,10 +1787,11 @@
} }
// Surcharge declareMethod to inform parent window // Surcharge declareMethod to inform parent window
TmpConstructor.declareMethod = function declareMethod(name, callback) { TmpConstructor.declareMethod = function declareMethod(name, callback,
options) {
var result = RenderJSGadget.declareMethod.apply( var result = RenderJSGadget.declareMethod.apply(
this, this,
[name, callback] [name, callback, options]
); );
notifyDeclareMethod(name); notifyDeclareMethod(name);
return result; return result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment