Skip to content

Commit

Permalink
hifive#343 判定式の順序を修正しました。
Browse files Browse the repository at this point in the history
  • Loading branch information
fukudayasuo committed Jun 9, 2014
1 parent 1e74fda commit b647918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hifive/src/main/webapp/src/h5.u.js
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@

var names = namespace.split('.');
var idx = 0;
if ((!rootObj || rootObj === window) && names[0] === 'window') {
if (names[0] === 'window' && (!rootObj || rootObj === window)) {
// rootObjが未指定またはwindowオブジェクトの場合、namespaceの最初のwindow.は無視する
idx = 1;
}
Expand Down

0 comments on commit b647918

Please sign in to comment.