Changes between Initial Version and Version 1 of Ticket #4828, comment 1


Ignore:
Timestamp:
03/06/2015 11:14:15 (9 years ago)
Author:
kabhi2104
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4828, comment 1

    initial v1  
    1 Solved !
     1**Solved**
     2While creating the new activity these two files
     3
     4{{{
     5<script src="lib/webL10n.js"></script>
     6<script type="text/javascript" src="lib/domReady.js"></script>
     7}}}
     8
     9were loading inside <head> tag.So If you manually code a script tag in HTML to load a script with an anonymous define() call, this error can occur.
     10So make sure the only <script> tag (at least for any scripts which call define()) in your index.html is the one to requirejs.
     11