Skip to content

Commit

Permalink
what: ajile.2.1.7
Browse files Browse the repository at this point in the history
when: 2014.01.31.23.04-07.00
whom: Mike Lee : iskitz

* Added: ajile 0.4   source code
* Added: ajile 0.5   source code
* Added: ajile 0.5.5 source code
* Added: ajile 0.6.2 source code
* Added: ajile 0.6.5 source code
* Added: ajile 0.7   source code
* Added: ajile 0.7.5 source code
* Added: ajile 0.7.8 source code
* Added: ajile 0.7.9 source code
* Added: ajile 0.9   source code
* Added: ajile 0.9.1 source code
  • Loading branch information
iskitz committed Feb 1, 2014
1 parent bfb8751 commit b9b5a87
Show file tree
Hide file tree
Showing 13 changed files with 16,483 additions and 2 deletions.
24 changes: 23 additions & 1 deletion test/net.ajile.test.Ajile.AddImportListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Namespace ("net.ajile.test.Ajile");
function $notifyListener ($listener) {
listener.item = $listener.item;
listener.name && expect ($listener.name).toBe (listener.name);
expect ($listener.item).toBeDefined();
expect ($listener.item).toBeDefined(); // BUG: Why is this failing?!
}
function $wasListenerNotified () {
return listener.notify.calls.length > 0;
Expand Down Expand Up @@ -241,6 +241,28 @@ Namespace ("net.ajile.test.Ajile");
$start();
}//end: notifiesMultiListener()


function notifiesWildcardListener () {
function $start () {
listener.name = "net.ajile.test.Ajile.AddImportListener.Wildcard.*";
listener.notify = $notifyListener;
spyOn (listener, "notify").andCallThrough();
runs (addAndNotifyListener);
waitsFor ($wasListenerNotified, "adds and notifies a wildcard listener", 500);
runs (wasListenerAdded);
}
function addAndNotifyListener () {
Ajile.AddImportListener (listener.name, listener.notify); // Add multi-item listener.
net.ajile.test.Ajile.AddImportListener.Wildcard = {wildcard:true};
Include (listener.name); // Include & notify listener.
}
function wasListenerAdded() {
$wasListenerAdded(0);
expect (global["wildcard"]).not.toBeDefined();
}
$start();
}//end: notifiesWildcardListener()

$start();

})(this);
866 changes: 866 additions & 0 deletions use/com.iskitz.ajile.0.4.src.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion use/com.iskitz.ajile.0.5.5.js

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions use/com.iskitz.ajile.0.5.5.src.js

Large diffs are not rendered by default.

Loading

0 comments on commit b9b5a87

Please sign in to comment.