mirror of
https://github.com/flynx/types.js.git
synced 2025-12-20 10:21:38 +00:00
refactoring...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
344575daad
commit
28d6285b64
2
main.js
2
main.js
@ -14,12 +14,12 @@ require('./Set')
|
||||
require('./Map')
|
||||
require('./String')
|
||||
require('./RegExp')
|
||||
require('./Promise')
|
||||
module.patchDate = require('./Date').patchDate
|
||||
|
||||
|
||||
// Additional types...
|
||||
module.containers = require('./containers')
|
||||
module.promise = require('./promise')
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-types",
|
||||
"version": "2.1.0",
|
||||
"version": "3.0.0",
|
||||
"description": "Generic JavaScript types and type extensions...",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@ -12,8 +12,8 @@ var object = require('ig-object')
|
||||
|
||||
/*********************************************************************/
|
||||
|
||||
var CooperativePromise =
|
||||
module.CooperativePromise =
|
||||
Promise.cooperative =
|
||||
object.Constructor('CooperativePromise', Promise, {
|
||||
// XXX do we actually need this???
|
||||
__promise: null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user