{"size": 1279, "ext": "js", "max_stars_repo_path": "test/spec/define.js", "max_stars_repo_name": "fixjs/define.js", "max_stars_repo_stars_event_min_datetime": "2015-01-06T10:21:12.000Z", "max_stars_repo_stars_event_max_datetime": "2019-04-16T09:13:58.000Z", "max_issues_repo_path": "test/spec/define.js", "max_issues_repo_name": "fixjs/define.js", "max_issues_repo_issues_event_min_datetime": "2015-01-07T10:04:28.000Z", "max_issues_repo_issues_event_max_datetime": "2017-05-03T08:18:06.000Z", "max_forks_repo_path": "test/spec/define.js", "max_forks_repo_name": "fixjs/define.js", "max_forks_repo_forks_event_min_datetime": "2015-09-11T03:15:50.000Z", "max_forks_repo_forks_event_max_datetime": "2017-09-03T16:51:54.000Z"}
{"max_stars_count": 32, "max_issues_count": 12, "max_forks_count": 8, "avg_line_length": 42.6333333333, "max_line_length": 122, "alphanum_fraction": 0.7114933542}
define(function () {
  'use strict';

  function testExposedAttributes(assert, definejs, GLOB) {
    definejs(GLOB);

    assert.strictEqual(typeof GLOB.define, 'function', 'GLOB.define is a function');
    assert.strictEqual(typeof GLOB.require, 'function', 'GLOB.require is a function');
    assert.strictEqual(typeof GLOB.require.config, 'function', 'GLOB.require.config is a function');
    assert.strictEqual(typeof GLOB.config, 'function', 'GLOB.config is a function');
    assert.equal(GLOB.config, GLOB.require.config, 'GLOB.config and GLOB.require.config are the same');
    assert.strictEqual(typeof GLOB.use, 'function', 'GLOB.use is a function (Nonstandard)');
    assert.strictEqual(typeof GLOB.define.fix, 'object', 'GLOB.define.fix is an Object');
    assert.strictEqual(typeof GLOB.define.fix.options, 'object', 'GLOB.define.fix has an Object attribute named options');
  }

  FIX.test('definejs', {
    message: 'is a expose function for AMD functions and more DefineJS attributes'
  }).then(function (assert, definejs) {
    var TEST = {};

    assert.strictEqual(typeof definejs, 'function', 'definejs is a function');

    testExposedAttributes(assert, definejs, TEST);

    TEST = function () {};

    testExposedAttributes(assert, definejs, TEST);
  });
});