remove unneccessary closure
This commit is contained in:
parent
835c848933
commit
f6a7d0a059
1 changed files with 9 additions and 11 deletions
|
@ -74,17 +74,15 @@ Some conventions:
|
|||
// todo: check http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
|
||||
// also see https://github.com/tlrobinson/narwhal/blob/master/lib/util.js
|
||||
|
||||
(function(global) {
|
||||
/*@
|
||||
Ox <f> The `Ox` object
|
||||
See `Ox.wrap` for details.
|
||||
(value) -> <o> wrapped value
|
||||
value <*> Any value
|
||||
@*/
|
||||
global.Ox = function(value) {
|
||||
return Ox.wrap(value);
|
||||
};
|
||||
})(this);
|
||||
/*@
|
||||
Ox <f> The `Ox` object
|
||||
See `Ox.wrap` for details.
|
||||
(value) -> <o> wrapped value
|
||||
value <*> Any value
|
||||
@*/
|
||||
this.Ox = function(value) {
|
||||
return Ox.wrap(value);
|
||||
};
|
||||
|
||||
/*@
|
||||
Ox.Break <f> Breaks from `Ox.forEach` and `Ox.loop`
|
||||
|
|
Loading…
Reference in a new issue