Skip to content

Commit

Permalink
Revised coding pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgr-myrg committed May 4, 2012
1 parent c8f7561 commit b128d3c
Show file tree
Hide file tree
Showing 15 changed files with 269 additions and 248 deletions.
2 changes: 1 addition & 1 deletion build/devshop-eventsignal.js
Expand Up @@ -3,4 +3,4 @@
* Released under the MIT license:
* https://github.com/rgr-myrg/DevShop-JS/raw/master/MIT-LICENSE
*/
(function(a){a.DevShop=typeof a.DevShop==="object"?a.DevShop:{}})(window);(function(a){a.EventSignal=function(){var b=[];this.addListener=function(d){typeof d==="function"&&b.push(d)};this.removeListener=function(d){for(var a=b.length,c=0;c<a;c++)b[c]===d&&b.splice(c)};this.dispatch=function(){for(var a=b.length,e=0;e<a;e++)try{b[e].apply(this,arguments)}catch(c){}}}})(DevShop);
(function(a){a.DevShop=typeof a.DevShop==="object"?a.DevShop:{}})(window);(function(a){a.EventSignal=function(){var b=[];return{addListener:function(d){typeof d==="function"&&b.push(d)},removeListener:function(d){for(var c=b.length,a=0;a<c;a++)b[a]===d&&(b[a]=null)},dispatch:function(){for(var a=b.length,c=0;c<a;c++)typeof b[c]==="function"&&b[c].apply(this,arguments)}}}})(DevShop);
10 changes: 5 additions & 5 deletions build/devshop-full.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions build/devshop-mvc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/devshop-observer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b128d3c

Please sign in to comment.