Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

async defer trouble with AngularJS reCaptcha #621

@scne

Description

@scne

As you can see in README of https://github.com/VividCortex/angular-recaptcha I need to use

async defer in my code but when I use the grunt task useminPrepare with this conf

module.exports = { html: ['src/index.html','src/material.html'], options: { dest: 'angular' } }

and with this general task

... gtx.alias('build:angular', [ 'recess:less', 'clean:angular', 'copy:libs', 'copy:angular', 'useminPrepare', 'concat:generated', 'cssmin:generated', 'uglify:generated', 'usemin', 'clean:tmp' ]); .....

I get this error message

Running "useminPrepare:html" (useminPrepare) task Verifying property useminPrepare.html exists in config...OK Files: src/index.html -> html Options: dest="angular" Going through src/index.html to update the config Looking for build script HTML comment blocks Warning: Error: You are not supposed to mix deferred and non-deferred scripts in one block. Use --force to continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions