How to insert base.js libphonenumber file into iOS project

I want to use libphonenumber in my iPhone project.

For demo.html (javascript branch) base.js is a remote file.

I hope that base.js can be embedded in my project as a local file.

from

<script src="http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js"></script> 

change to:

  <script src="base.js"> 

but when i load base.js and put it in my project. demo.html no longer works.

So how can I use base.js?

thanks!

+4
source share
1 answer

Must be <script src="base.js" />

0
source

Source: https://habr.com/ru/post/1415276/


All Articles