aboutsummaryrefslogtreecommitdiffstats
path: root/src/JSON.js
diff options
context:
space:
mode:
authorMisko Hevery2010-01-11 16:15:12 -0800
committerMisko Hevery2010-01-11 16:15:12 -0800
commit1a42a3fab99ca02af0476f5a87175c53104aa2e3 (patch)
treedef5eb17d459d8d3ace81fece12a087d0651c2bc /src/JSON.js
parent1aba6b53b88c70b61a0cc991b1371739305d117b (diff)
downloadangular.js-1a42a3fab99ca02af0476f5a87175c53104aa2e3.tar.bz2
green
Diffstat (limited to 'src/JSON.js')
-rw-r--r--src/JSON.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSON.js b/src/JSON.js
index 238ed489..14fce1fb 100644
--- a/src/JSON.js
+++ b/src/JSON.js
@@ -17,7 +17,7 @@ fromJson = function(json) {
parser.assertAllConsumed();
return expression();
} catch (e) {
- console.error("fromJson error: ", json, e);
+ error("fromJson error: ", json, e);
throw e;
}
};