Sha256: 8d661707e59508f957d313f026e3343d83d440b7ab11d2aa219f46c1664f4cda
Contents?: true
Size: 1.22 KB
Versions: 11
Compression:
Stored size: 1.22 KB
Contents
/** * AngularUI - The companion suite for AngularJS * @version v0.2.1 - 2012-09-19 * @link http://angular-ui.github.com * @license MIT License, http://www.opensource.org/licenses/MIT */ (function(e){var t=window.ieShivDebug||!1,n=function(){var e=-1;if(navigator.appName==="Microsoft Internet Explorer"){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})");n.exec(t)!==null&&(e=parseFloat(RegExp.$1))}return e},r=function(e,t){var n=[],r=e.replace(/([A-Z])/g,function(e){return" "+e.toLowerCase()}),i=r.split(" "),s=i[0],o=i.slice(1).join("-");return n.push(s+":"+o),n.push(s+"-"+o),n.push("x-"+s+"-"+o),n.push("data-"+s+"-"+o),n},i=function(){function i(n){if(n[1]==="directive"){var r=n[2][0];e.push(r)}else t&&console.log("skipping",n[1],n[2][0])}var e=["ngInclude","ngPluralize","ngView","ngSwitch"],n=window.myAngularModules||[];n.push("ui.directives"),t&&console.log("moduleNames",n);for(var s=0,o=n.length;s<o;s++){var u=angular.module(n[s]);angular.forEach(u._invokeQueue,i)}t&&console.log("tags found",e);for(var a=0,f=e.length;a<f;a++){t&&console.log("tag",e[a]);var l=r(e[a],":");for(var c=0,h=l.length;c<h;c++){var p=l[c];t&&console.log("shivving",p),document.createElement(p)}}},s=n();(s>-1&&s<9||t)&&i()})(window);
Version data entries
11 entries across 11 versions & 1 rubygems