Skip to content

Commit

Permalink
updates readme and bower.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciro S. Costa committed May 23, 2014
1 parent 95719d0 commit 2d9b6a2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

See it [live!](http://plnkr.co/KaXW4oPFSkDWg9xlEihD)

## What it does?

As a filter, filters it (ooooh, don't say), and as a directive, 'masks' the input.

| from | to |
| ------------- | --------------- |
| 551132078877 | (11) 3207-8877 |
| 1132078877 | (11) 3207-8877 |
| 55112078877 | (11) 207-8877 |
| 1198181 | (11) 98181 |
| 5511932078877 | (11) 93207-8877 |
| 11932078877 | (11) 93207-8877 |
| 10315 | 10315 |
| 199 | 199 |
| 0800 | 0800 |
| 0800215 | 0800 215 |
| 08007260505 | 0800 726 0505 |

## Quickuse

For using this lib you're just required to perform:
Expand Down
5 changes: 3 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"name": "ng-formatPhone-br",
"version": "0.0.0",
"version": "0.0.1",
"homepage": "https://github.com/cirocosta/ng-formatphone-br",
"authors": [
"Ciro S. Costa <ciro.costa@usp.br>"
],
"main": "src/phone-format-br.js",
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
"demo"
],
"devDependencies": {
"angular": "1.2.x",
Expand Down

0 comments on commit 2d9b6a2

Please sign in to comment.