angular-errorlookup
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -0,1 +1,2 @@ | ||
import * as angular from 'angular'; | ||
export interface IFilterFunction { | ||
@@ -2,0 +3,0 @@ (type?: string): boolean; |
@@ -6,9 +6,8 @@ (function (factory) { | ||
else if (typeof define === 'function' && define.amd) { | ||
define(["require", "exports"], factory); | ||
define(["require", "exports", 'angular', 'lodash'], factory); | ||
} | ||
else { | ||
factory(void 0, {}); | ||
} | ||
})(function (require, exports) { | ||
'use strict'; | ||
var angular = require('angular'); | ||
var _ = require('lodash'); | ||
var ErrorLookupError = (function () { | ||
@@ -22,3 +21,3 @@ function ErrorLookupError(message) { | ||
return ErrorLookupError; | ||
})(); | ||
}()); | ||
exports.ErrorLookupError = ErrorLookupError; | ||
@@ -711,3 +710,3 @@ ErrorLookupError.prototype = Object.create(Error.prototype, { | ||
return ErrorLookup; | ||
})(); | ||
}()); | ||
Services.ErrorLookup = ErrorLookup; | ||
@@ -765,3 +764,3 @@ })(Services = exports.Services || (exports.Services = {})); | ||
return ErrorLookupProvider; | ||
})(); | ||
}()); | ||
Providers.ErrorLookupProvider = ErrorLookupProvider; | ||
@@ -860,3 +859,3 @@ })(Providers = exports.Providers || (exports.Providers = {})); | ||
return ErrorLookupForm; | ||
})(); | ||
}()); | ||
Directives.errorLookupForm = ErrorLookupForm.instance(); | ||
@@ -915,3 +914,3 @@ var ErrorLookup = (function () { | ||
return ErrorLookup; | ||
})(); | ||
}()); | ||
Directives.errorLookup = ErrorLookup.instance(); | ||
@@ -1013,3 +1012,3 @@ var ErrorLookupDisplay = (function () { | ||
return ErrorLookupDisplay; | ||
})(); | ||
}()); | ||
Directives.errorLookupDisplay = ErrorLookupDisplay.instance(); | ||
@@ -1020,3 +1019,3 @@ var ErrorLookupTemplate = (function () { | ||
this.require = 'errorLookupDisplay'; | ||
this.template = "<ul class=\"error-lookup-display\" ng-show=\"$displaying()\">\n <li class=\"error-lookup-display-item\" ng-repeat=\"error in $errors | errorMessages:$options track by $index\" ng-bind-html=\"error\"></li>\n </ul>"; | ||
this.template = "<ul class=\"error-lookup-display\" ng-show=\"$displaying()\">\n\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"error-lookup-display-item\" ng-repeat=\"error in $errors | errorMessages:$options track by $index\" ng-bind-html=\"error\"></li>\n\t\t\t\t\t\t\t\t\t\t</ul>"; | ||
this.link = function (scope, el, attrs, ctrl) { | ||
@@ -1031,3 +1030,3 @@ ctrl.setOptions(scope.$eval(attrs['errorLookupTemplate'])); | ||
return ErrorLookupTemplate; | ||
})(); | ||
}()); | ||
Directives.errorLookupTemplate = ErrorLookupTemplate.instance(); | ||
@@ -1109,3 +1108,3 @@ })(Directives || (Directives = {})); | ||
return ErrorMessages; | ||
})(); | ||
}()); | ||
Filters.errorMessages = ErrorMessages.instance(); | ||
@@ -1112,0 +1111,0 @@ })(Filters || (Filters = {})); |
{ | ||
"name": "angular-errorlookup", | ||
"version": "1.0.0", | ||
"description": "Because AngularJS general error messages still suck. ngMessages can kiss my ass.", | ||
"main": "./angular-errorlookup.js", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/pocesar/angular-errorlookup" | ||
}, | ||
"dependencies": {}, | ||
"keywords": [ | ||
"ngMessage", | ||
"ngMessages", | ||
"angular", | ||
"angularjs", | ||
"error", | ||
"handling", | ||
"service", | ||
"provider", | ||
"directive", | ||
"ngModel", | ||
"input", | ||
"form" | ||
], | ||
"browser":"./angular-errorlookup.js", | ||
"typings":"./angular-errorlookup.d.ts", | ||
"devDependencies": { | ||
"coveralls": "^2.11.6", | ||
"karma": "^0.13.21", | ||
"mocha": "^2.4.5", | ||
"karma-coverage": "^0.5.3", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"phantomjs-prebuilt": "^2.1.4", | ||
"karma-mocha": "^0.2.2", | ||
"karma-spec-reporter": "^0.0.24" | ||
}, | ||
"scripts": { | ||
"travis": "karma start ./test/karma.conf.js --single-run --browsers PhantomJS", | ||
"test": "karma start ./test/karma.conf.js", | ||
"dorelease": "npm publish ." | ||
} | ||
"name": "angular-errorlookup", | ||
"version": "2.0.0", | ||
"description": "Because AngularJS general error messages still suck. ngMessages can kiss my ass.", | ||
"main": "./angular-errorlookup.js", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/pocesar/angular-errorlookup" | ||
}, | ||
"dependencies": {}, | ||
"keywords": [ | ||
"ngMessage", | ||
"ngMessages", | ||
"angular", | ||
"angularjs", | ||
"error", | ||
"handling", | ||
"service", | ||
"provider", | ||
"directive", | ||
"ngModel", | ||
"input", | ||
"form" | ||
], | ||
"browser": "./angular-errorlookup.js", | ||
"typings": "./angular-errorlookup.d.ts", | ||
"devDependencies": { | ||
"@types/angular": "^1.5.7", | ||
"@types/chai": "^3.4.28", | ||
"@types/lodash": "0.0.27", | ||
"coveralls": "^2.11.8", | ||
"karma": "^0.13.21", | ||
"karma-coverage": "^0.5.4", | ||
"karma-mocha": "^0.2.2", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"karma-spec-reporter": "^0.0.24", | ||
"mocha": "^2.4.5", | ||
"phantomjs-prebuilt": "^2.1.4", | ||
"sinon": "^1.17.3" | ||
}, | ||
"scripts": { | ||
"compile": "tsc -p tsconfig.json", | ||
"travis": "karma start ./test/karma.conf.js --single-run --browsers PhantomJS", | ||
"test": "karma start ./test/karma.conf.js", | ||
"dorelease": "npm publish ." | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
86504
1375
0
12