New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-eha.counter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-eha.counter - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

1

.tmp/scripts.template.js

@@ -19,2 +19,3 @@ angular.module('eha.counter.template', ['templates/counter.template.tpl.html']);

" min=\"0\"\n" +
" step=\"1\"\n" +
" class=\"form-control input-lg eha-counter-input\"\n" +

@@ -21,0 +22,0 @@ " ng-change=\"change\"\n" +

@@ -19,2 +19,3 @@ angular.module('eha.counter.template', ['templates/counter.template.tpl.html']);

" min=\"0\"\n" +
" step=\"1\"\n" +
" class=\"form-control input-lg eha-counter-input\"\n" +

@@ -21,0 +22,0 @@ " ng-change=\"change\"\n" +

@@ -19,2 +19,3 @@ angular.module('eha.counter.template', ['templates/counter.template.tpl.html']);

" min=\"0\"\n" +
" step=\"1\"\n" +
" class=\"form-control input-lg eha-counter-input\"\n" +

@@ -21,0 +22,0 @@ " ng-change=\"change\"\n" +

2

dist/counter.template.min.js

@@ -1,1 +0,1 @@

angular.module("eha.counter.template",["templates/counter.template.tpl.html"]),angular.module("templates/counter.template.tpl.html",[]).run(["$templateCache",function(a){a.put("templates/counter.template.tpl.html",'<div class="input-group">\n <span class="input-group-btn">\n <button\n class="btn btn-warning eha-counter-btn"\n type="button"\n ng-click="count = decrementTouch(count)"\n >\n <i class="fa fa-minus"></i>\n </button>\n </span>\n\n <input\n type="number"\n min="0"\n class="form-control input-lg eha-counter-input"\n ng-change="change"\n ng-model="count"\n required\n />\n\n <span class="input-group-btn">\n <button\n class="btn btn-info eha-counter-btn"\n type="button"\n ng-click="count = incrementTouch(count)"\n >\n <i class="fa fa-plus"></i>\n </button>\n </span>\n\n</div>\n')}]),function(){"use strict";var a=angular.module("eha.counter.directive",[]);a.directive("ehaCounter",function(){return{restrict:"E",templateUrl:"templates/counter.template.tpl.html",scope:{count:"=bind",change:"=onchange",name:"=name"},link:function(a,b){function c(a){return isNaN(a)||""===a||1>a}var d=b.find("button"),e=d.eq(0),f=d.eq(1);a.incrementTouch=function(a){return c(a)?1:parseInt(a,10)+1},a.decrementTouch=function(a){return c(a)?0:parseInt(a,10)-1},b.on("$destroy",function(){f.off("click"),e.off("click")})}}}),"undefined"!=typeof module&&module.exports&&(module.exports=a)}(),function(){"use strict";var a=angular.module("eha.counter",["eha.counter.directive","eha.counter.template"]);"undefined"!=typeof module&&module.exports&&(module.exports=a)}();
angular.module("eha.counter.template",["templates/counter.template.tpl.html"]),angular.module("templates/counter.template.tpl.html",[]).run(["$templateCache",function(a){a.put("templates/counter.template.tpl.html",'<div class="input-group">\n <span class="input-group-btn">\n <button\n class="btn btn-warning eha-counter-btn"\n type="button"\n ng-click="count = decrementTouch(count)"\n >\n <i class="fa fa-minus"></i>\n </button>\n </span>\n\n <input\n type="number"\n min="0"\n step="1"\n class="form-control input-lg eha-counter-input"\n ng-change="change"\n ng-model="count"\n required\n />\n\n <span class="input-group-btn">\n <button\n class="btn btn-info eha-counter-btn"\n type="button"\n ng-click="count = incrementTouch(count)"\n >\n <i class="fa fa-plus"></i>\n </button>\n </span>\n\n</div>\n')}]),function(){"use strict";var a=angular.module("eha.counter.directive",[]);a.directive("ehaCounter",function(){return{restrict:"E",templateUrl:"templates/counter.template.tpl.html",scope:{count:"=bind",change:"=onchange",name:"=name"},link:function(a,b){function c(a){return isNaN(a)||""===a||1>a}var d=b.find("button"),e=d.eq(0),f=d.eq(1);a.incrementTouch=function(a){return c(a)?1:parseInt(a,10)+1},a.decrementTouch=function(a){return c(a)?0:parseInt(a,10)-1},b.on("$destroy",function(){f.off("click"),e.off("click")})}}}),"undefined"!=typeof module&&module.exports&&(module.exports=a)}(),function(){"use strict";var a=angular.module("eha.counter",["eha.counter.directive","eha.counter.template"]);"undefined"!=typeof module&&module.exports&&(module.exports=a)}();

@@ -48,3 +48,3 @@ {

},
"version": "1.0.3"
"version": "1.0.4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc