1 /* -*- Mode: js; js-indent-level: 2; -*- */
3 * Copyright 2012 Mozilla Foundation and contributors
4 * Licensed under the New BSD license. See LICENSE or:
5 * http://opensource.org/licenses/BSD-3-Clause
7 if (typeof define !== 'function') {
8 var define = require('amdefine')(module, require);
10 define(function (require, exports, module) {
14 sourceMap = require('../../lib/source-map');
17 Components.utils.import('resource:///modules/devtools/SourceMap.jsm', sourceMap);
20 exports['test that the api is properly exposed in the top level'] = function (assert, util) {
21 assert.equal(typeof sourceMap.SourceMapGenerator, "function");
22 assert.equal(typeof sourceMap.SourceMapConsumer, "function");
23 assert.equal(typeof sourceMap.SourceNode, "function");