Add some more unit tests

covers require support, jsdoc, function types
This commit is contained in:
Erik Tierney committed 2013-04-16 11:51:41 -04:00
1 parent daa64a3f3a
commit ebc6b647c6
3 files changed
+65 -1

No files matched your search

@@ -1,5 +1,5 @@
/*jslint vars: true, plusplus: true, devel: true, browser: true, nomen: true, indent: 4, maxerr: 50 */
/*global brackets, $ */
/*global brackets, require */
var A1 = { propA : 1 },
A2 = { propA : 2 },
@@ -20,4 +20,22 @@ function funB(paramB1, paramB2) {
B1.foo = 0;
console.log("hello\\\" world!");
}
var s = "a string";
var r = s;
var t = r;
}
/**
* @param {string} a
* @param {number} b
*/
function funD(a, b) {
"use strict";
return {x: a, y: b};
}
require(["MyModule"], function (myModule) {
'use strict';
});