Merge pull request #3929 from DanielRosenwasser/fixesFor1.5

Fixes for correcting 'arguments' semantics in tests
This commit is contained in:
Horiuchi_H
2015-03-21 14:00:08 +09:00
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
--target es5
+1 -1
View File
@@ -3,7 +3,7 @@
import base = require("git");
var git = new base.Git("../.git");
git.call_git("", "clone", "", {}, ["https://github.com/borisyankov/DefinitelyTyped.git", "d.ts"], (err, data) => {
git.call_git("", "clone", "", {}, ["https://github.com/borisyankov/DefinitelyTyped.git", "d.ts"], function (err, data) {
console.log(arguments);
});
+1 -1
View File
@@ -75,7 +75,7 @@ false
false.should.be.false;
(0).should.not.be.false;
var args = (a: string, b: string, c: string) => { return arguments; };
var args = function (a: string, b: string, c: string) { return arguments; };
args.should.be.arguments;
['a'].should.not.be.arguments;
+1 -1
View File
@@ -10,7 +10,7 @@ var Deferred:any = client.Deferred;
client.init({ token: 'YOUR_TOKEN' });
// get your info.
client.get('me', (err, res) => {
client.get('me', function (err, res) {
console.log(arguments);
});