Coder Social home page Coder Social logo

Comments (4)

searls avatar searls commented on July 24, 2024

jasmine-maven-plugin actually doesn't include JSLint or JSHint. Are you
including a lint in your runner and is that what's triggering it?

If not, the failure is a little bizarre, but I've acclimated to bizarre
HtmlUnit errors enough that I'm not surprised. You could try using
instead of , but you're likely to have the
same issue. What's the jade source look like around that line?

from jasmine-maven-plugin.

prystupa avatar prystupa commented on July 24, 2024

The code in jade looks like this, wth "case: function() {" being the offending line :

  /**
   * Case.
   */

  case: function() {
    return this.scan(/^case +([^\n]+)/, 'case');
  },

And I was not including hint or lint in my build.Error comes from HtmlUnit, everything else was my guess. Moving includes between sourceIncludes and preloadSources did not make a difference.
Like I said when I upgraded to 1.1.0 (from 1.0.something) the error went away.

from jasmine-maven-plugin.

searls avatar searls commented on July 24, 2024

Oh, I missed that the upgrade fixed you. So you're good now?

On Jan 25, 2012, at 15:48, Eugene Prystupa
[email protected]
wrote:

The code in jade looks like this, wth "case: function() {" being the offending line :

 /**
  * Case.
  */

 case: function() {
   return this.scan(/^case +([^\n]+)/, 'case');
 },

And I was not including hint or lint in my build.Error comes from HtmlUnit, everything else was my guess. Moving includes between sourceIncludes and preloadSources did not make a difference.
Like I said when I upgraded to 1.1.0 (from 1.0.something) the error went away.


Reply to this email directly or view it on GitHub:
#62 (comment)

from jasmine-maven-plugin.

prystupa avatar prystupa commented on July 24, 2024

Yes, I'm all set. Thanks for great plugin!

On Wed, Jan 25, 2012 at 10:57 PM, Justin Searls <
[email protected]

wrote:

Oh, I missed that the upgrade fixed you. So you're good now?

On Jan 25, 2012, at 15:48, Eugene Prystupa
[email protected]
wrote:

The code in jade looks like this, wth "case: function() {" being the
offending line :

 /**
  * Case.
  */

 case: function() {
   return this.scan(/^case +([^\n]+)/, 'case');
 },

And I was not including hint or lint in my build.Error comes from
HtmlUnit, everything else was my guess. Moving includes between
sourceIncludes and preloadSources did not make a difference.
Like I said when I upgraded to 1.1.0 (from 1.0.something) the error went
away.


Reply to this email directly or view it on GitHub:

#62 (comment)


Reply to this email directly or view it on GitHub:

#62 (comment)

from jasmine-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.