/[jscoverage]/trunk/instrument-js.cpp
ViewVC logotype

Diff of /trunk/instrument-js.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 494 by siliconforks, Sun Dec 27 17:24:41 2009 UTC revision 499 by siliconforks, Mon Dec 28 00:05:43 2009 UTC
# Line 1522  Line 1522 
1522        var _$jscoverage = {};        var _$jscoverage = {};
1523      }      }
1524      */      */
1525      const struct Resource * resource = get_resource("header.js");      {
1526      Stream_write(output, resource->data, resource->length);        const struct Resource * resource = get_resource("header.js");
1527          Stream_write(output, resource->data, resource->length);
1528        }
1529      break;      break;
1530    case JSCOVERAGE_NO_BROWSER:    case JSCOVERAGE_NO_BROWSER:
1531      Stream_write_string(output, "if (typeof _$jscoverage === 'undefined') {\n  var _$jscoverage = {};\n}\n");      Stream_write_string(output, "if (typeof _$jscoverage === 'undefined') {\n  var _$jscoverage = {};\n}\n");

Legend:
Removed from v.494  
changed lines
  Added in v.499

  ViewVC Help
Powered by ViewVC 1.1.24