Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Side by Side Diff: gin/test/expect.js

Issue 108723006: Gin: Fix console module to be varargs again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ad Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gin/modules/console.cc ('k') | mojo/apps/js/bindings/connector.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 define(["console"], function(console) { 5 define(function() {
6 // Equality function based on isEqual in 6 // Equality function based on isEqual in
7 // Underscore.js 1.5.2 7 // Underscore.js 1.5.2
8 // http://underscorejs.org 8 // http://underscorejs.org
9 // (c) 2009-2013 Jeremy Ashkenas, 9 // (c) 2009-2013 Jeremy Ashkenas,
10 // DocumentCloud, 10 // DocumentCloud,
11 // and Investigative Reporters & Editors 11 // and Investigative Reporters & Editors
12 // Underscore may be freely distributed under the MIT license. 12 // Underscore may be freely distributed under the MIT license.
13 // 13 //
14 function has(obj, key) { 14 function has(obj, key) {
15 return obj.hasOwnProperty(key); 15 return obj.hasOwnProperty(key);
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 var bound = predicates[name].bind(null, actual); 280 var bound = predicates[name].bind(null, actual);
281 this[name] = check(bound); 281 this[name] = check(bound);
282 this.not[name] = check(negate(bound)); 282 this.not[name] = check(negate(bound));
283 }, this); 283 }, this);
284 } 284 }
285 285
286 return function(actual) { 286 return function(actual) {
287 return new Condition(actual); 287 return new Condition(actual);
288 }; 288 };
289 }); 289 });
OLDNEW
« no previous file with comments | « gin/modules/console.cc ('k') | mojo/apps/js/bindings/connector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698