aboutsummaryrefslogtreecommitdiffstats
path: root/src/JSON.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/JSON.js')
-rw-r--r--src/JSON.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/JSON.js b/src/JSON.js
index 69e1b4c0..5c3e1043 100644
--- a/src/JSON.js
+++ b/src/JSON.js
@@ -4,11 +4,11 @@ function toJson(obj, pretty){
var buf = [];
toJsonArray(buf, obj, pretty ? "\n " : null, []);
return buf.join('');
-};
+}
function toPrettyJson(obj) {
return toJson(obj, true);
-};
+}
function fromJson(json) {
if (!json) return json;
@@ -21,7 +21,7 @@ function fromJson(json) {
error("fromJson error: ", json, e);
throw e;
}
-};
+}
angular['toJson'] = toJson;
angular['fromJson'] = fromJson;
@@ -102,4 +102,4 @@ function toJsonArray(buf, obj, pretty, stack){
if (typeof obj == "object") {
stack.pop();
}
-};
+}