[Build] Remove boilerplate from scripts
No longer necessary after JSHint configuration.
This commit is contained in:
@@ -19,10 +19,8 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define*/
|
||||
|
||||
define(function () {
|
||||
'use strict';
|
||||
|
||||
function BundleRegistry() {
|
||||
this.bundles = {};
|
||||
|
||||
@@ -19,10 +19,8 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,runs,jasmine*/
|
||||
|
||||
define(['./BundleRegistry'], function (BundleRegistry) {
|
||||
'use strict';
|
||||
|
||||
describe("BundleRegistry", function () {
|
||||
var testPath,
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define, window, requirejs*/
|
||||
|
||||
define(['src/BundleRegistry'], function (BundleRegistry) {
|
||||
'use strict';
|
||||
return new BundleRegistry();
|
||||
});
|
||||
@@ -19,13 +19,11 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,runs,jasmine*/
|
||||
|
||||
define([
|
||||
'./legacyRegistry',
|
||||
'./BundleRegistry'
|
||||
], function (legacyRegistry, BundleRegistry) {
|
||||
'use strict';
|
||||
|
||||
describe("legacyRegistry", function () {
|
||||
it("is a BundleRegistry", function () {
|
||||
|
||||
Reference in New Issue
Block a user