diff --git a/entries/callbacks.add.xml b/entries/callbacks.add.xml index 63661cae..cfe1d489 100644 --- a/entries/callbacks.add.xml +++ b/entries/callbacks.add.xml @@ -1,5 +1,5 @@ - + callbacks.add() 1.7 @@ -9,6 +9,7 @@ Add a callback or a collection of callbacks to a callback list. +

This method returns the Callbacks object onto which it is attached (this).

Example

Using callbacks.add() to add new callbacks to a callback list:


@@ -45,4 +46,4 @@ callbacks.fire( 'world' );
   
   
   
-
\ No newline at end of file
+
diff --git a/entries/callbacks.disable.xml b/entries/callbacks.disable.xml
index 59791260..34ef50e2 100644
--- a/entries/callbacks.disable.xml
+++ b/entries/callbacks.disable.xml
@@ -1,11 +1,12 @@
 
-
+
   callbacks.disable()
   
     1.7
   
   Disable a callback list from doing anything more.
   
+    

This method returns the Callbacks object onto which it is attached (this).

Example

Using callbacks.disable() to disable further calls being made to a callback list:


@@ -31,4 +32,4 @@ callbacks.fire( 'foobar' ); // foobar isn't output
   
   
   
-
\ No newline at end of file
+
diff --git a/entries/callbacks.empty.xml b/entries/callbacks.empty.xml
index 0ce8bf94..4f97a6bf 100644
--- a/entries/callbacks.empty.xml
+++ b/entries/callbacks.empty.xml
@@ -1,11 +1,12 @@
 
-
+
   callbacks.empty()
   
     1.7
   
   Remove all of the callbacks from a list.
   
+    

This method returns the Callbacks object onto which it is attached (this).

Example

Using callbacks.empty() to empty a list of callbacks:


@@ -35,4 +36,4 @@ console.log( callbacks.has( bar ) ); // false
   
   
   
-
\ No newline at end of file
+
diff --git a/entries/callbacks.fire.xml b/entries/callbacks.fire.xml
index f868c22d..fae7736c 100644
--- a/entries/callbacks.fire.xml
+++ b/entries/callbacks.fire.xml
@@ -1,5 +1,5 @@
 
-
+
   callbacks.fire()
   
     1.7
@@ -9,6 +9,7 @@
   
   Call all of the callbacks with the given arguments
   
+    

This method returns the Callbacks object onto which it is attached (this).

Example

Using callbacks.fire() to invoke the callbacks in a list with any arguments that have been passed:


@@ -43,4 +44,4 @@ callbacks.fire( 'hello again' );
   
   
   
-
\ No newline at end of file
+
diff --git a/entries/callbacks.fireWith.xml b/entries/callbacks.fireWith.xml
index 5b97314b..ab9365b8 100644
--- a/entries/callbacks.fireWith.xml
+++ b/entries/callbacks.fireWith.xml
@@ -1,5 +1,5 @@
 
-
+
   callbacks.fireWith()
   
     1.7
@@ -12,6 +12,7 @@
   
   Call all callbacks in a list with the given context and arguments.
   
+    

This method returns the Callbacks object onto which it is attached (this).

Example

Using callbacks.fireWith() to fire a list of callbacks with a specific context and an array of arguments:


@@ -35,4 +36,4 @@ callbacks.fireWith( window, ['foo','bar']);
   
   
   
-
\ No newline at end of file
+
diff --git a/entries/callbacks.lock.xml b/entries/callbacks.lock.xml
index c4863310..ec2380c0 100644
--- a/entries/callbacks.lock.xml
+++ b/entries/callbacks.lock.xml
@@ -1,11 +1,13 @@
 
-
+
   callbacks.lock()
   
     1.7
   
   Lock a callback list in its current state.
-  
+  
+    

This method returns the Callbacks object onto which it is attached (this).

+
Using callbacks.lock() to lock a callback list to avoid further changes being made to the list state: -
\ No newline at end of file +
diff --git a/entries/callbacks.remove.xml b/entries/callbacks.remove.xml index 9852f4f9..5a3413fc 100644 --- a/entries/callbacks.remove.xml +++ b/entries/callbacks.remove.xml @@ -1,5 +1,5 @@ - + callbacks.remove() 1.7 @@ -8,7 +8,9 @@ Remove a callback or a collection of callbacks from a callback list. - + +

This method returns the Callbacks object onto which it is attached (this).

+
Using callbacks.remove() to remove callbacks from a callback list: -
\ No newline at end of file +