ng-annotate
Advanced tools
Comparing version 0.15.0 to 0.15.1
@@ -332,3 +332,5 @@ // ng-annotate-main.js | ||
target.$methodName = method.name; | ||
if (target) { | ||
target.$methodName = method.name; | ||
} | ||
@@ -335,0 +337,0 @@ if (ctx.rename && args.length === 2 && target) { |
@@ -12,3 +12,3 @@ // ng-annotate.js | ||
var ngAnnotate = require("./ng-annotate-main"); | ||
var version = "0.15.0"; | ||
var version = "0.15.1"; | ||
var optimist = require("optimist") | ||
@@ -15,0 +15,0 @@ .usage("ng-annotate v" + version + "\n\nUsage: ng-annotate OPTIONS <file>\n\n" + |
@@ -0,4 +1,7 @@ | ||
## v0.15.1 2015-01-15 | ||
* bugfix release for compatibility with io.js | ||
## v0.15.0 2015-01-15 | ||
* "ngInject" directive prologue (usage like "use strict") | ||
* /*@ngNoInject*/, ngNoInject(..) and "ngNoInject" for suppressing false positives | ||
* /* @ngNoInject */, ngNoInject(..) and "ngNoInject" for suppressing false positives | ||
* Acorn is now the default and only parser | ||
@@ -5,0 +8,0 @@ * removed the experimental --es6 option and made it the default |
@@ -332,3 +332,5 @@ // ng-annotate-main.js | ||
target.$methodName = method.name; | ||
if (target) { | ||
target.$methodName = method.name; | ||
} | ||
@@ -335,0 +337,0 @@ if (ctx.rename && args.length === 2 && target) { |
{ | ||
"name": "ng-annotate", | ||
"version": "0.15.0", | ||
"version": "0.15.1", | ||
"description": "add, remove and rebuild angularjs dependency injection annotations", | ||
@@ -5,0 +5,0 @@ "main": "build/es5/ng-annotate-main.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
359261
9604