Skip to content

Commit 3db6097

Browse files
committed
remove licenseSrc from constants and no longer need to add license to lib/locals
1 parent f4428d2 commit 3db6097

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

Diff for: tasks/sync_packages.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function syncLocalesPkg(d) {
239239
}
240240

241241
function writeMain(cb) {
242-
var cnt = [constants.licenseSrc, ''];
242+
var cnt = [];
243243
localeFiles.forEach(function(f) {
244244
var n = path.basename(f, '.js');
245245
cnt.push('exports[\'' + n + '\'] = require(\'./' + n + '.js\');');

Diff for: tasks/util/constants.js

-10
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,4 @@ module.exports = {
124124
'* Licensed under the MIT license',
125125
'*/'
126126
].join('\n'),
127-
128-
licenseSrc: [
129-
'/**',
130-
'* Copyright 2012-' + year + ', Plotly, Inc.',
131-
'* All rights reserved.',
132-
'*',
133-
'* This source code is licensed under the MIT license found in the',
134-
'* LICENSE file in the root directory of this source tree.',
135-
'*/'
136-
].join('\n')
137127
};

0 commit comments

Comments
 (0)