• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

carrot / roots-js-pipeline / 67 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2015 10:05PM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Sep 2015 10:03PM UTC coverage: 100.0%. Remained the same
67.1

Pull #12

travis-ci

brewingcode
fix exception during UglifyJS.minify()

During a `roots compile -e production`, the accumulated javascript was getting
a syntax error between two files in the pipeline, which threw an exception
during the UglifyJS.minify() step. Specifically, the `all_contents` var
contained this bit of javascript:

    .... [tail end of first javascript file]
    prototype.toString=function(){return""+this._wrapped},"function"==typeof
    define&&define.amd&&define("underscore",[],function(){return m})}).call(this);
    //# sourceMappingURL=underscore-min.map(function() {

        var a, b, c;
    ....
    }).call(this);
    .... [tail end of next javascript file]

Note that the tail end of the first file has the `sourceMappingURL` in a
comment, and the next file gets concat'd immediately after. However, the start
of the second file gets lost in the commented-out `sourceMappingURL` of the
first file. The .js should look more like:

    .... [tail end of first javascript file]
    prototype.toString=function(){return""+this._wrapped},"function"==typeof
    define&&define.amd&&define("underscore",[],function(){return m})}).call(this);
    //# sourceMappingURL=underscore-min.map
    (function() {

        var a, b, c;
    ....
    }).call(this);
    .... // tail end of next javascript file
Pull Request #12: fix exception during UglifyJS.minify()

89 of 89 relevant lines covered (100.0%)

9.81 hits per line

Source Files on job 67.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 67
  • Travis Job 67.1
  • c37c24d8 on github
  • Prev Job for on master (#58.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc