Skip to content

Commit

Permalink
allow 'version' to be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
harthur committed Nov 1, 2013
1 parent 7cd4f81 commit 3028acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/source-map/source-map-consumer.js
Expand Up @@ -58,7 +58,7 @@ define(function (require, exports, module) {
var mappings = util.getArg(sourceMap, 'mappings');
var file = util.getArg(sourceMap, 'file', null);

if (version !== this._version) {
if (version != this._version) {
throw new Error('Unsupported version: ' + version);
}

Expand Down

0 comments on commit 3028acb

Please sign in to comment.