Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d24463f

Browse files
committed
WIP: isDefined bug
1 parent c7df4a5 commit d24463f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngSanitize/sanitize.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ function $SanitizeProvider() {
183183
* without a argument or self for chaining otherwise.
184184
*/
185185
this.enableSvg = function(enableSvg) {
186-
if (isDefined(enableSvg)) {
186+
if (angular.isDefined(enableSvg)) {
187187
svgEnabled = enableSvg;
188188
return this;
189189
} else {
190190
return svgEnabled;
191191
}
192-
}
192+
};
193193
}
194194

195195
function sanitizeText(chars) {

0 commit comments

Comments
 (0)