chore(jshint): enforce jshint for tests

Closes #7264
This commit is contained in:
Shahar Talmi
2014-04-26 23:07:28 +03:00
committed by Peter Bacon Darwin
parent e16c6aa31d
commit accd35b747
69 changed files with 1402 additions and 1249 deletions

View File

@@ -1,3 +1,4 @@
/* global jQuery: true, uid: true */
'use strict';
/**
@@ -150,7 +151,7 @@ function sortedHtml(element, showNgClass) {
var attr = attributes[i];
if(attr.name.match(/^ng[\:\-]/) ||
(attr.value || attr.value == '') &&
(attr.value || attr.value === '') &&
attr.value !='null' &&
attr.value !='auto' &&
attr.value !='false' &&
@@ -283,7 +284,7 @@ function provideLog($provide) {
var currentMessages = messages;
messages = [];
return currentMessages;
}
};
log.fn = function(msg) {
return function() {
@@ -299,7 +300,7 @@ function provideLog($provide) {
function pending() {
dump('PENDING');
};
}
function trace(name) {
dump(new Error(name).stack);