Skip to content

Commit c7e15a1

Browse files
committed
Updated README.md
Added instructions on how to compile a fresh up to date copy of PhoneFormat.js that uses the latest release of libphonenumber
1 parent 56caed5 commit c7e15a1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,29 @@ Javascript Phone Number Formatter
55

66

77
This is the phoneformat.js file from <a href="http://www.phoneformat.com">PhoneFormat.com</A>
8+
9+
<HR>
10+
<h3>When will you update PhoneFormat.js to the latest version of libphonenumber?</h3>
11+
Unfortunately I don't plan on updating this code very often. More often then not PhoneFormat.js will NOT be using the <a href="https://code.google.com/p/libphonenumber/source/browse/#svn%2Ftrunk%2Fjavascript%2Fi18n%2Fphonenumbers">latest version</a> of libphonenumber. Not to worry because i'm going to show you just how easy it is for you to get PhoneFormat.js using the latest version of libphonenumber!
12+
13+
The real beauty of PhoneFormat.js is that everything is compressed into just one file with some easy to use helper functions I created for you. I'll show you how to generate PhoneFormat.js using the latest version of libphonenumber in only 3 simple steps!
14+
15+
<B>Step 1</B>
16+
<UL>
17+
<LI>Copy to your clipboard, the contents of <a href="https://github.com/albeebe/phoneformat.js/blob/master/closure.txt">closure.txt</a> at the top of this page</LI>
18+
</UL>
19+
20+
<B>Step 2</B>
21+
<UL>
22+
<LI>Go to Googles <a href="http://closure-compiler.appspot.com/home">Closure Compiler Service</a></LI>
23+
</UL>
24+
25+
<B>Step 3</B>
26+
<UL>
27+
<LI>Paste the contents of <a href="https://github.com/albeebe/phoneformat.js/blob/master/closure.txt">closure.txt</a> into the big textarea on the left side of the screen under the <i>Compile</i> button. Make sure you delete whatever text is already the textarea!</LI>
28+
<LI>After you've pasted it press the <i>Compile</i> button</LI>
29+
<LI>If everything works correctly, on the right side of the screen will be a freshly compiled PhoneFormat.js</LI>
30+
</UL>
31+
32+
<h3>Questions?</h3>
33+
Hit me up on twitter <a href="http://twitter.com/albeebe">@albeebe</a>

0 commit comments

Comments
 (0)