kopia lustrzana https://github.com/c9/core
fix typo
rodzic
52de469df3
commit
c5a00fed69
|
@ -71,8 +71,11 @@ webpack({
|
|||
}
|
||||
var commentRe = /^(;)?(?:\s*(?:\/\/.+\n|\/\*(?:[^*]|\*(?!\/))*\*\/))+(?: *\n)?/gm;
|
||||
changeFile(outputPath, function(src) {
|
||||
return "// generated using packager/eslint.js"
|
||||
return "// generated using packager/eslint.js\n"
|
||||
+ src.replace(commentRe, "$1")
|
||||
.replace('define("eslint", ', "define(");
|
||||
.replace('define("eslint", ', "define(")
|
||||
.replace(/^ {4,}/gm, function(indentation) {
|
||||
return indentation.replace(indentation.length % 4 ? / {2}/g :/ {4}/g, "\t")
|
||||
});
|
||||
})
|
||||
});
|
|
@ -1,4 +1,5 @@
|
|||
// generated using packager/eslint.jsdefine([], function() { return /******/ (function(modules) { // webpackBootstrap
|
||||
// generated using packager/eslint.js
|
||||
define([], function() { return /******/ (function(modules) { // webpackBootstrap
|
||||
var installedModules = {};
|
||||
function __webpack_require__(moduleId) {
|
||||
if(installedModules[moduleId]) {
|
||||
|
|
Ładowanie…
Reference in New Issue