Skip to content

Commit

Permalink
Merge pull request google#605 from andyst/master
Browse files Browse the repository at this point in the history
A few fixes for javascript
  • Loading branch information
andyst committed Feb 10, 2015
2 parents d71c91f + 6860057 commit 3e5f073
Show file tree
Hide file tree
Showing 6 changed files with 546 additions and 360 deletions.
8 changes: 5 additions & 3 deletions javascript/README
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ How to setup:
next to libphonenumber:

e.g.
svn checkout http://libphonenumber.googlecode.com/svn/trunk/ ~/src/libphonenumber
git clone https://github.com/googlei18n/libphonenumber/
git clone https://github.com/google/closure-library/
git clone https://github.com/google/closure-compiler.git
svn checkout http://closure-linter.googlecode.com/svn/trunk/ ~/src/closure-linter
Expand Down Expand Up @@ -81,9 +81,11 @@ project:
AsYouTypeFormatterTest.java => asyoutypeformatter_test.js

4. Run the Closure Compiler to get your changes syntax and type checked.
This will also generate demo-compiled.js used by demo-compiler.html:
This will also generate demo-compiled.js used by demo-compiler.html
(TODO: Use target "compile" rather than "compile-demo" once
visibility issues for getExtractedNationalPrefix_ have been resolved):

ant -f javascript/build.xml compile
ant -f javascript/build.xml compile-demo

5. Run the Closure Linter to lint the JavaScript files:

Expand Down
Loading

0 comments on commit 3e5f073

Please sign in to comment.