fix semicolons

This commit is contained in:
rolux 2014-08-19 10:19:59 +02:00
commit 1b90cc6ac8
12 changed files with 38 additions and 38 deletions

View file

@ -140,7 +140,7 @@ Ox.doc = (function() {
}
Ox.last(child[key_])[key].push(value);
}
})
});
});
});
});
@ -163,7 +163,7 @@ Ox.doc = (function() {
}
if (!Ox.contains(visited, name)) {
visited.push(name);
stack.push(name)
stack.push(name);
Ox.forEach(nodes, function(parent, name_) {
parent == name && visit(name_, stack);
});
@ -174,7 +174,7 @@ Ox.doc = (function() {
visit(name);
});
sorted.forEach(function(name) {
chains[name] = [nodes[name]].concat(chains[nodes[name]] || [])
chains[name] = [nodes[name]].concat(chains[nodes[name]] || []);
});
return chains;
}
@ -256,13 +256,13 @@ Ox.doc = (function() {
}
} else {
item.description = item.description
? item.description + ' ' + line : line
? item.description + ' ' + line : line;
}
}
});
item.summary = Ox.parseMarkdown(item.summary);
if (item.description) {
item.description = Ox.parseMarkdown(item.description)
item.description = Ox.parseMarkdown(item.description);
}
if (item.types[0] == 'function') {
item.order = Ox.unique(order);
@ -347,7 +347,7 @@ Ox.doc = (function() {
);
}
} else {
section = tree.line
section = tree.line;
}
});
return items;
@ -433,7 +433,7 @@ Ox.doc = (function() {
string.split('|').forEach(function(string) {
var unwrapped = unwrap(string);
if (unwrapped in types) {
ret.types.push(wrap(types[unwrapped]))
ret.types.push(wrap(types[unwrapped]));
} else if (
(type = Ox.filter(Ox.values(types), function(type) {
return Ox.startsWith(type, unwrapped);
@ -470,10 +470,10 @@ Ox.doc = (function() {
callback(addInheritedProperties(items));
}
});
})
});
}
return ret;
}
};
}());
/*@
@ -855,7 +855,7 @@ Ox.test = function(argument, callback) {
if (arguments.length == 2) {
if (Ox.typeOf(argument) == 'string' && Ox.contains(argument, '\n')) {
// source code
runTests(Ox.doc(argument))
runTests(Ox.doc(argument));
} else {
argument = Ox.makeArray(argument);
if (Ox.typeOf(argument[0]) == 'string') {
@ -963,7 +963,7 @@ Ox.tokenize = (function() {
) || (
token.type == 'operator'
&& ['++', '--', ')', ']', '}'].indexOf(token.value) == -1
)
);
}
return isRegExp;
}