angular-inline-svg
Advanced tools
Comparing version 0.0.28 to 0.0.29
/*! | ||
* angular-inline-svg | ||
* | ||
* Version: 0.0.2 - 2017-03-30T08:15:43.348Z | ||
* Version: 0.0.2 - 2017-03-30T08:19:16.916Z | ||
* License: MIT | ||
@@ -6,0 +6,0 @@ */ |
/*! | ||
* angular-inline-svg | ||
* | ||
* Version: 0.0.2 - 2017-03-30T08:15:43.348Z | ||
* Version: 0.0.2 - 2017-03-30T08:19:16.916Z | ||
* License: MIT | ||
*/ | ||
!function(){"use strict";angular.module("inline-svg",[]).directive("inlineSvgSymbol",["$document","$http","$templateCache","$compile","$rootScope",function(e,t,n,a,r){var i=[];return{restrict:"E",replace:!0,scope:{symbol:"="},template:'<svg><use xlink:href="{{symbol}}"></use></svg>',link:function(l,c,s){var o=s.sprite;i.indexOf(o)<0&&(i.push(o),t.get(o,{cache:n}).then(function(t){var n=angular.element(t.data);n.attr("class","ng-hide").attr("data-sprite",""),n=a(n)(r),angular.element(e[0].body).prepend(n)}))}}}])}(); |
{ | ||
"name": "angular-inline-svg", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "inline svg component for angular", | ||
@@ -5,0 +5,0 @@ "main": "dist/ngInlineSvg.min.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package