angular-inline-svg
Advanced tools
Comparing version 0.0.854 to 0.0.855
/*! | ||
* angular-inline-svg | ||
* | ||
* Version: 0.0.2 - 2019-03-29T05:20:08.895Z | ||
* Version: 0.0.2 - 2019-03-30T07:09:04.351Z | ||
* License: MIT | ||
@@ -6,0 +6,0 @@ */ |
/*! | ||
* angular-inline-svg | ||
* | ||
* Version: 0.0.2 - 2019-03-29T05:20:08.895Z | ||
* Version: 0.0.2 - 2019-03-30T07:09:04.351Z | ||
* 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.854", | ||
"version": "0.0.855", | ||
"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