mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-28 07:57:11 +08:00
committed by
Peter Bacon Darwin
parent
e16c6aa31d
commit
accd35b747
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user