Skip to content

Commit

Permalink
fix(uiNumberMask): fix numberWithoutGrupoSep spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
danidewitt authored and assisrafael committed Nov 3, 2016
1 parent 8a5c5cd commit 1a9dacb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<body ng-app="demo">
<form name="form" ng-controller="ctrl">
<h2>ui-number-mask</h2>
<input type="text" name="field21" ng-model="numberWithoutGrupoSep" ui-number-mask ui-hide-group-sep> <br>
<span ng-bind="numberWithoutGrupoSep"></span> - {{form.field21.$error}}
<input type="text" name="field21" ng-model="numberWithoutGroupSep" ui-number-mask ui-hide-group-sep> <br>
<span ng-bind="numberWithoutGroupSep"></span> - {{form.field21.$error}}
<br>
<input type="text" name="field" ng-model="numberWithDefaultDecimals" ui-number-mask> <br>
<span ng-bind="numberWithDefaultDecimals"></span>
Expand Down
4 changes: 2 additions & 2 deletions src/global/number/number.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<body ng-app="app">
<form name="form" ng-controller="ctrl">
<h2>ui-number-mask</h2>
<input type="text" name="field21" ng-model="numberWithoutGrupoSep" ng-model-options="{allowInvalid:true}" ui-number-mask ui-hide-group-sep> <br>
<span ng-bind="numberWithoutGrupoSep"></span> - {{form.field21.$error}}
<input type="text" name="field21" ng-model="numberWithoutGroupSep" ng-model-options="{allowInvalid:true}" ui-number-mask ui-hide-group-sep> <br>
<span ng-bind="numberWithoutGroupSep"></span> - {{form.field21.$error}}
<br>
<input type="text" name="field" ng-model="numberWithDefaultDecimals" ng-model-options="{allowInvalid:true}" ui-number-mask> <br>
<span ng-bind="numberWithDefaultDecimals"></span>
Expand Down
4 changes: 2 additions & 2 deletions src/global/number/number.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ describe('ui.utils.masks.number', function() {
formatterModel = new StringMask('###0.00', {reverse: true}),
numberToFormat = '', formatedNumberAsString, formatedNumberAsNumber;

var input = element(by.model('numberWithoutGrupoSep')),
value = element(by.binding('numberWithoutGrupoSep'));
var input = element(by.model('numberWithoutGroupSep')),
value = element(by.binding('numberWithoutGroupSep'));

var i;
for (i = 1; i <= 9; i++) {
Expand Down

0 comments on commit 1a9dacb

Please sign in to comment.