angular-inline-svg
Advanced tools
Comparing version 0.0.57 to 0.0.58
/*! | ||
* angular-inline-svg | ||
* | ||
* Version: 0.0.2 - 2017-04-21T11:58:28.252Z | ||
* Version: 0.0.2 - 2017-04-22T16:00:08.214Z | ||
* License: MIT | ||
@@ -6,0 +6,0 @@ */ |
/*! | ||
* angular-inline-svg | ||
* | ||
* Version: 0.0.2 - 2017-04-21T11:58:28.252Z | ||
* Version: 0.0.2 - 2017-04-22T16:00:08.214Z | ||
* 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.57", | ||
"version": "0.0.58", | ||
"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