projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0856e5
)
[Common] JSON object freezed to prevent method overwrite
author
Piotr Kosko
<p.kosko@samsung.com>
Wed, 27 Jan 2016 07:02:17 +0000
(08:02 +0100)
committer
Piotr Kosko
<p.kosko@samsung.com>
Wed, 27 Jan 2016 07:48:46 +0000
(08:48 +0100)
[Verificatio] Code compiles without errors.
Checked that, JSON.parse issue is fixed with such solution.
Change-Id: I2e25876c787223e0e3d51d07c8080dfbabc491f7
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/tizen/tizen_api.js
patch
|
blob
|
history
diff --git
a/src/tizen/tizen_api.js
b/src/tizen/tizen_api.js
index eaa502b34b52643e0573ac9e2285127b8732fc69..f80ac5c82e474a484da7c4c0d998860a54e0dc50 100644
(file)
--- a/
src/tizen/tizen_api.js
+++ b/
src/tizen/tizen_api.js
@@
-473,3
+473,5
@@
exports.SimpleCoordinates = function(lat, lng) {
});
};
exports.SimpleCoordinates.prototype.constructor = exports.SimpleCoordinates;
+
+Object.freeze(JSON);