Skip to content

Commit 833681c

Browse files
author
gianluca.cagnin
committed
fix password
1 parent ca20f7d commit 833681c

File tree

6 files changed

+34
-28
lines changed

6 files changed

+34
-28
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-utils",
3-
"version": "2.0.0",
3+
"version": "2.0.3",
44
"description": "",
55
"main": [
66
"./dist/au.js",

dist/au.js

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/au.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/au-input.js

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/au-input.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/au-input.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -470,16 +470,18 @@
470470

471471
(() => {
472472
var inputsDirective = [
473-
new au.input.NumberInput,
474-
new au.input.DateInput,
475-
new au.input.TextInput,
476-
new au.input.CheckboxInput,
477-
new au.input.FileInput,
478-
new au.input.TextAreaInput,
479-
new au.input.SelectInput
473+
au.input.NumberInput,
474+
au.input.DateInput,
475+
au.input.TextInput,
476+
au.input.CheckboxInput,
477+
au.input.FileInput,
478+
au.input.TextAreaInput,
479+
au.input.SelectInput,
480+
au.input.PasswordInput
480481
];
481-
482+
482483
inputsDirective.forEach(d => {
483-
angular.module(au.moduleName).directive(d.directiveName,()=> d.directive());
484+
var obj = new d();
485+
angular.module(au.moduleName).directive(obj.directiveName,()=> obj.directive());
484486
});
485487
})();

0 commit comments

Comments
 (0)