From 2d9b6a2275a3a049a877fccf727d70984fc385c0 Mon Sep 17 00:00:00 2001 From: "Ciro S. Costa" Date: Fri, 23 May 2014 03:09:59 -0300 Subject: [PATCH] updates readme and bower.json --- README.md | 18 ++++++++++++++++++ bower.json | 5 +++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d886da7..0bfc909 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/bower.json b/bower.json index 7abfd4a..6c99d0f 100644 --- a/bower.json +++ b/bower.json @@ -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 " ], + "main": "src/phone-format-br.js", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "test", - "tests" + "demo" ], "devDependencies": { "angular": "1.2.x",