Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anonymous modules at script tag #11

Open
roman0x58 opened this issue Jun 26, 2015 · 0 comments
Open

Anonymous modules at script tag #11

roman0x58 opened this issue Jun 26, 2015 · 0 comments

Comments

@roman0x58
Copy link

Hi! In my project, i use separated vendor and application scripts. Vendor scripts i concatinated and placing before require.js library at <script> tag, but application scripts i loaded through rjs. When use karma, i can't specify ordering of script files, and rjs throws exception Error: Mismatched anonymous define() module. Any suggestions to solve this issue ?

My karma.conf files configuration looks like :

    files: [
      pattern: "#{STATIC_FOLDER}/vendor.js", included: true, watched: false
    ,
      pattern : "#{TEST_FOLDER}/test-main.coffee", included: true
    ,
      pattern: "#{TEST_FOLDER}/**/*.coffee", included: false
    ,
      pattern: "#{APP_FOLDER}/**/*.coffee", included: false
    ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant