mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 09:50:10 +00:00
cleanup and docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9c263199a0
commit
4b6f12200e
@ -13,12 +13,17 @@ var object = require('ig-object')
|
||||
|
||||
/*********************************************************************/
|
||||
|
||||
// Return value wrapper...
|
||||
//
|
||||
// Wrapping a value in this and returning it from an action will force
|
||||
// the action to return the value as-is...
|
||||
// This is mainly usefull for specially handled values.
|
||||
var ASIS =
|
||||
module.ASIS =
|
||||
object.Constructor('ASIS', {
|
||||
__init__: function(obj){ this.value = obj },
|
||||
})
|
||||
__init__: function(obj){ this.value = obj } })
|
||||
|
||||
// undefined wrapper...
|
||||
var UNDEFINED =
|
||||
module.UNDEFINED = ASIS(undefined)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user