Sha256: 1e5868678eb9d78696094a6de73a5e5b10c29f04ee9b273746eb2de191d9ab3d

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

/**
 * AngularUI - The companion suite for AngularJS
 * @version v0.2.0 - 2012-08-06
 * @link http://angular-ui.github.com
 * @license MIT License, http://www.opensource.org/licenses/MIT
 */
(function(a){var b=window.ieShivDebug||!1,c=function(){var a=-1;if(navigator.appName=="Microsoft Internet Explorer"){var b=navigator.userAgent,c=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");c.exec(b)!=null&&(a=parseFloat(RegExp.$1))}return a},d=function(a,b){var c=[],d=a.replace(/([A-Z])/g,function(a){return" "+a.toLowerCase()}),e=d.split(" "),f=e[0],g=e.slice(1).join("-");return c.push(f+":"+g),c.push(f+"-"+g),c.push("x-"+f+"-"+g),c.push("data-"+f+"-"+g),c},e=function(){var a=["ngInclude","ngPluralize","ngView"],c=window.myAngularModules||[];c.push("ui.directives"),b&&console.log("moduleNames",c);for(var e=0,f=c.length;e<f;e++){var g=angular.module(c[e]);angular.forEach(g._invokeQueue,function(c){if(c[1]==="directive"){var d=c[2][0];a.push(d)}else b&&console.log("skipping",c[1],c[2][0])})}b&&console.log("tags found",a);for(var h=0,i=a.length;h<i;h++){b&&console.log("tag",a[h]);var j=d(a[h],":");for(var k=0,l=j.length;k<l;k++){var m=j[k];b&&console.log("shivving",m),document.createElement(m)}}},f=c();(f>-1&&f<9||b)&&e()})(window);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angular-ui-rails-0.0.1 vendor/assets/javascripts/angular-ui-ieshiv.min.js