Telegram Web, preconfigured for usage in I2P. http://web.telegram.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
1.7 KiB

/*
AngularJS v1.3.0-rc.0
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(r,d,s){'use strict';d.module("ngMessages",[]).directive("ngMessages",["$compile","$animate","$templateRequest",function(q,l,m){return{restrict:"AE",controller:["$scope",function(k){this.$renderNgMessageClasses=d.noop;var b=[];this.registerMessage=function(a,e){for(var c=0;c<b.length;c++)if(b[c].type==e.type){if(a!=c){var g=b[a];b[a]=b[c];a<b.length?b[c]=g:b.splice(0,c)}return}b.splice(a,0,e)};this.renderMessages=function(a,e){a=a||{};var c;d.forEach(b,function(b){var f;if(f=!c||e)f=a[b.type],
f=null!==f&&!1!==f&&f;f?(b.attach(),c=!0):b.detach()});this.renderElementClasses(c)}}],require:"ngMessages",link:function(k,b,a,e){e.renderElementClasses=function(a){a?l.setClass(b,"ng-active","ng-inactive"):l.setClass(b,"ng-inactive","ng-active")};var c=d.isString(a.ngMessagesMultiple)||d.isString(a.multiple),g;k.$watchCollection(a.ngMessages||a["for"],function(a){g=a;e.renderMessages(a,c)});(a=a.ngMessagesInclude||a.include)&&m(a).then(function(a){var h;a=d.element("<div/>").html(a);d.forEach(a.children(),
function(a){a=d.element(a);h?h.after(a):b.prepend(a);h=a;q(a)(k)});e.renderMessages(g,c)})}}}]).directive("ngMessage",["$animate",function(d){return{require:"^ngMessages",transclude:"element",terminal:!0,restrict:"AE",link:function(l,m,k,b,a){for(var e,c,g=m[0],f=g.parentNode,h=0,p=0;h<f.childNodes.length;h++){var n=f.childNodes[h];if(8==n.nodeType&&0<=n.nodeValue.indexOf("ngMessage")){if(n===g){e=p;break}p++}}b.registerMessage(e,{type:k.ngMessage||k.when,attach:function(){c||a(l,function(a){d.enter(a,
null,m);c=a})},detach:function(a){c&&(d.leave(c),c=null)}})}}}])})(window,window.angular);
//# sourceMappingURL=angular-messages.min.js.map