Sha256: 86c958cc5d9b6352ce3c868114551e60e6c9faf7167f3230225e873941b56ef0

Contents?: true

Size: 1.18 KB

Versions: 6

Compression:

Stored size: 1.18 KB

Contents

/*!
 * Angular Material Design
 * https://github.com/angular/material
 * @license MIT
 * v0.10.0
 */
!function(r,e,a){"use strict";function t(r,a,t){function i(r,e,a){return r.attr("aria-valuemin",0),r.attr("aria-valuemax",100),r.attr("role","progressbar"),o}function o(i,o,c){t(o);var s=o[0].querySelector(".md-bar1").style,u=o[0].querySelector(".md-bar2").style,l=e.element(o[0].querySelector(".md-container"));c.$observe("value",function(r){if("query"!=c.mdMode){var e=d(r);o.attr("aria-valuenow",e),u[a.CSS.TRANSFORM]=n[e]}}),c.$observe("mdBufferValue",function(r){s[a.CSS.TRANSFORM]=n[d(r)]}),r(function(){l.addClass("md-ready")})}function d(r){return r>100?100:0>r?0:Math.ceil(r||0)}return{restrict:"E",template:'<div class="md-container"><div class="md-dashed"></div><div class="md-bar md-bar1"></div><div class="md-bar md-bar2"></div></div>',compile:i}}e.module("material.components.progressLinear",["material.core"]).directive("mdProgressLinear",t),t.$inject=["$$rAF","$mdConstant","$mdTheming"];var n=function(){function r(r){var e=r/100,a=(r-100)/2;return"translateX("+a.toString()+"%) scale("+e.toString()+", 1)"}for(var e=new Array(101),a=0;101>a;a++)e[a]=r(a);return e}()}(window,window.angular);

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
todo_rails-0.1.7 vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js
todo_rails-0.1.6 vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js
todo_rails-0.1.5 vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js
todo_rails-0.1.4 vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js
todo_rails-0.1.3 vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js
todo_rails-0.1.2 vendor/assets/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js