javascript - chrome app add local script and script from url -
i'm starting chrome app. things doesn't work security reason.
<script src='https://code.jquery.com/jquery-1.11.0.min.js'></script> <script src='app.js'></script>
so how add 2 kind of script app? tried different things in manifest file none of them have been successfull
the simplest way avoid security issues download jquery-1.11.0.min.js
, place in script directory. ensure won't have security soap issues. include files this:
<script src='/example_local_directory/jquery-1.11.0.min.js'></script> <script src='/example_local_directory/app.js'></script>
Comments
Post a Comment