Skip to content

Commit 0bd9fe1

Browse files
committed
Useless call to the window object cause the google closure compiler to fail when strip all console calls.
1 parent 0c473f0 commit 0bd9fe1

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

form-validator/jquery.form-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@
510510
*/
511511
$.validationSetup = function(conf) {
512512
if( typeof console != 'undefined' && console.warn ) {
513-
window.console.warn('Using deprecated function $.validationSetup, pls use $.validate instead');
513+
console.warn('Using deprecated function $.validationSetup, pls use $.validate instead');
514514
}
515515
$.validate(conf);
516516
};

0 commit comments

Comments
 (0)