mirror of
https://github.com/esiur/esiur-js.git
synced 2026-03-18 15:30:38 +00:00
fix
This commit is contained in:
@@ -129,7 +129,7 @@ const namespace = {
|
||||
define: function(target, type, className) {
|
||||
let sc = className.split('.');
|
||||
|
||||
for(let i = 0; i < sc.length; i++) {
|
||||
for(let i = 0; i < sc.length - 1; i++) {
|
||||
if (target[sc[i]] == undefined)
|
||||
target[sc[i]] = {};
|
||||
target = target[sc[i]];
|
||||
|
||||
Reference in New Issue
Block a user