Commit 9d7adfd1 authored by Boris Kocherov's avatar Boris Kocherov

jslint fix

parent 992fc6f1
/*jslint nomen: true, maxlen: 200, indent: 2, maxerr: 100*/ /*jslint nomen: true, maxlen: 200, indent: 2, maxerr: 100*/
/*global window, document, URL, rJS, RSVP, jIO, tv4, Blob */ /*global window, document, URL, rJS, RSVP, jIO, Blob */
(function (window, document, Blob, rJS, RSVP, jIO) { (function (window, document, Blob, rJS, RSVP, jIO) {
"use strict"; "use strict";
...@@ -676,14 +676,13 @@ ...@@ -676,14 +676,13 @@
kk = decodeJsonPointer(key_list[ii]); kk = decodeJsonPointer(key_list[ii]);
if (ii === key_list.length - 1) { if (ii === key_list.length - 1) {
return d[kk]; return d[kk];
} else { }
if (!d.hasOwnProperty(kk)) { if (!d.hasOwnProperty(kk)) {
return; return;
} }
d = d[kk]; d = d[kk];
} }
} }
}
rJS(window) rJS(window)
.ready(function () { .ready(function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment