-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
478 additions
and
629 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
language: node_js | ||
node_js: | ||
- "0.12" | ||
- "0.11" | ||
- "0.10" | ||
before_script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
:figure-caption!: | ||
|
||
image::https://travis-ci.org/mmjmanders/ng-iban.svg?branch=master[title="travis status", alt="travis status", link="https://travis-ci.org/mmjmanders/ng-iban"] | ||
|
||
image::https://app.wercker.com/status/eb4337041c62e162c5dd7af43122647c/m[title="wercker status", alt="wercker status", link="https://app.wercker.com/project/bykey/eb4337041c62e162c5dd7af43122647c"] | ||
|
||
= ng-iban - validate input fields as IBAN | ||
The goal is to provide an easy way to validate an input field as an IBAN number with https://angularjs.org/[AngularJS]. | ||
From version `0.4.0` the module uses https://github.com/arhs/iban.js[iban.js] for validation. | ||
|
||
== Usage | ||
First add | ||
|
||
* `AngularJS` | ||
* `ng-iban` | ||
|
||
to your HTML file. | ||
|
||
Make sure you require `mm.iban` as a dependency of your AngularJS module. | ||
|
||
== Installation | ||
`bower install ng-iban` | ||
|
||
=== directive | ||
[source,html] | ||
---- | ||
<input type="text" ng-model="iban" ng-iban/> | ||
---- | ||
|
||
To use this directive the `ngModel` directive must also be used because this directive depends on it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ng-iban", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"authors": [ | ||
"Mark Manders <[email protected]>" | ||
], | ||
|
@@ -25,6 +25,7 @@ | |
"angular": ">=1 <2" | ||
}, | ||
"devDependencies": { | ||
"angular-mocks": ">=1 <2" | ||
"angular-mocks": ">=1 <2", | ||
"iban": "~0.0.5" | ||
} | ||
} |
Oops, something went wrong.