Sha256: fbf685708ad6732802c6f7b96037a7be510b7539f5eafd4ae78d0a650a1cef44

Contents?: true

Size: 845 Bytes

Versions: 409

Compression:

Stored size: 845 Bytes

Contents

/* -*- Mode: js; js-indent-level: 2; -*- */
/*
 * Copyright 2012 Mozilla Foundation and contributors
 * Licensed under the New BSD license. See LICENSE or:
 * http://opensource.org/licenses/BSD-3-Clause
 */
if (typeof define !== 'function') {
    var define = require('amdefine')(module, require);
}
define(function (require, exports, module) {

  var sourceMap;
  try {
    sourceMap = require('../../lib/source-map');
  } catch (e) {
    sourceMap = {};
    Components.utils.import('resource:///modules/devtools/SourceMap.jsm', sourceMap);
  }

  exports['test that the api is properly exposed in the top level'] = function (assert, util) {
    assert.equal(typeof sourceMap.SourceMapGenerator, "function");
    assert.equal(typeof sourceMap.SourceMapConsumer, "function");
    assert.equal(typeof sourceMap.SourceNode, "function");
  };

});

Version data entries

409 entries across 196 versions & 22 rubygems

Version Path
epuber-stylus-source-0.56.0 vendor/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js
epuber-stylus-source-0.54.8 vendor/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js
ilog-0.4.1 node_modules/resolve-url-loader/node_modules/source-map/test/source-map/test-api.js
ilog-0.4.1 node_modules/source-map-support/node_modules/source-map/test/source-map/test-api.js
ilog-0.4.0 node_modules/resolve-url-loader/node_modules/source-map/test/source-map/test-api.js
ilog-0.4.0 node_modules/source-map-support/node_modules/source-map/test/source-map/test-api.js
ilog-0.3.3 node_modules/resolve-url-loader/node_modules/source-map/test/source-map/test-api.js
ilog-0.3.3 node_modules/source-map-support/node_modules/source-map/test/source-map/test-api.js
ela-4.1.6 node_modules/source-map/test/source-map/test-api.js
ela-4.1.5 node_modules/source-map/test/source-map/test-api.js
ela-4.1.4 node_modules/source-map/test/source-map/test-api.js
ela-4.1.3 node_modules/source-map/test/source-map/test-api.js
optimacms-0.4.3 spec/dummy/node_modules/css/node_modules/source-map/test/source-map/test-api.js
optimacms-0.4.2 spec/dummy/node_modules/css/node_modules/source-map/test/source-map/test-api.js
ela-4.1.2 node_modules/source-map/test/source-map/test-api.js
ela-4.1.1 node_modules/source-map/test/source-map/test-api.js
ela-4.1.0 node_modules/source-map/test/source-map/test-api.js
cortex-0.1.3 spec/dummy/node_modules/css/node_modules/source-map/test/source-map/test-api.js
ela-4.0.0 node_modules/source-map/test/source-map/test-api.js
ela-3.4.3 node_modules/source-map/test/source-map/test-api.js