7 lines
753 B
JavaScript
7 lines
753 B
JavaScript
/*!
|
|
* AngularJS Material Design
|
|
* https://github.com/angular/material
|
|
* @license MIT
|
|
* v1.1.18-master-97a1616
|
|
*/
|
|
function MdWhiteframeDirective(m){return{link:function(e,r,t){var i="";t.$observe("mdWhiteframe",function(e){-1!=(e=parseInt(e,10)||4)&&(24<e||e<1)&&(m.warn("md-whiteframe attribute value is invalid. It should be a number between 1 and 24",r[0]),e=4);var a=-1==e?"":"md-whiteframe-"+e+"dp";t.$updateClass(a,i),i=a})}}}goog.provide("ngmaterial.components.whiteframe"),goog.require("ngmaterial.core"),MdWhiteframeDirective.$inject=["$log"],angular.module("material.components.whiteframe",["material.core"]).directive("mdWhiteframe",MdWhiteframeDirective),ngmaterial.components.whiteframe=angular.module("material.components.whiteframe"); |