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:
jbaldwin
2013-08-20 20:40:12 -06:00
parent f6c5a200e5
commit 6577db67c7
5 changed files with 25 additions and 363 deletions
+1 -2
View File
@@ -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*/});
+3 -3
View File
@@ -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.