mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Allow r.js to digest typescriptServices.js
This commit is contained in:
parent
376e97713a
commit
9a20b7c584
2 changed files with 41 additions and 41 deletions
|
|
@ -72,7 +72,7 @@ gulp.task('release', ['clean-release','compile'], function() {
|
||||||
|
|
||||||
var compilation = tsb.create(assign({ verbose: true }, require('./tsconfig.json').compilerOptions));
|
var compilation = tsb.create(assign({ verbose: true }, require('./tsconfig.json').compilerOptions));
|
||||||
|
|
||||||
var tsSources = require('./tsconfig.json').include;
|
var tsSources = require('./tsconfig.json').include.concat(require('./tsconfig.json').files);
|
||||||
|
|
||||||
function compileTask() {
|
function compileTask() {
|
||||||
return merge(
|
return merge(
|
||||||
|
|
|
||||||
|
|
@ -43426,7 +43426,7 @@ var ts;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function isUseStrictPrologue(node) {
|
function isUseStrictPrologue(node) {
|
||||||
return node.expression.text === "use strict";
|
return (node.expression.text === "use strict");
|
||||||
}
|
}
|
||||||
function ensureUseStrictPrologue(startWithNewLine, writeUseStrict) {
|
function ensureUseStrictPrologue(startWithNewLine, writeUseStrict) {
|
||||||
if (writeUseStrict) {
|
if (writeUseStrict) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue