mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fixed issues from pull request on DefinitelyTyped
Removed sugar-tests.ts, it has an encoding problem that I need to fix ( uses non-ascii characters and the TS compiler chokes on them)
This commit is contained in:
@@ -38,7 +38,6 @@ require(['main'], (main, $, _, Backbone) => {
|
||||
|
||||
});
|
||||
|
||||
// ISSUE: https://github.com/borisyankov/DefinitelyTyped/issues/764
|
||||
var recOne = requirejs.config({ baseUrl: 'js' });
|
||||
var recOne = require.config({ baseUrl: 'js' });
|
||||
recOne(['core'], function (core) {/*some code*/});
|
||||
|
||||
|
||||
Vendored
+3
-3
@@ -142,13 +142,13 @@ interface RequireConfig {
|
||||
* that does not call define() or have shim exports string
|
||||
* value that can be checked.
|
||||
**/
|
||||
enforceDefine?: bool;
|
||||
enforceDefine?: boolean;
|
||||
|
||||
/**
|
||||
* If set to true, document.createElementNS() will be used
|
||||
* to create script elements.
|
||||
**/
|
||||
xhtml?: bool;
|
||||
xhtml?: boolean;
|
||||
|
||||
/**
|
||||
* Extra query string arguments appended to URLs that RequireJS
|
||||
@@ -194,7 +194,7 @@ interface Require {
|
||||
/**
|
||||
* Configure require.js
|
||||
**/
|
||||
config(config: RequireConfig): void;
|
||||
config(config: RequireConfig): Require;
|
||||
|
||||
/**
|
||||
* Start the main app logic.
|
||||
|
||||
Reference in New Issue
Block a user