migrated to new object.js

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-07-16 23:53:17 +03:00
parent 7025746aa9
commit fd15b37cd3
2 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ var args2array = function(a){ return [].slice.call(a) }
var ASIS = var ASIS =
module.ASIS = module.ASIS =
object.makeConstructor('ASIS', { object.Constructor('ASIS', {
__init__: function(obj){ this.value = obj }, __init__: function(obj){ this.value = obj },
}) })
@ -481,7 +481,7 @@ function(txt){
} }
parseStringAction.Identifier = parseStringAction.Identifier =
object.makeConstructor( object.Constructor(
'Identifier', 'Identifier',
{ {
__init__: function(value){ __init__: function(value){
@ -490,7 +490,7 @@ object.makeConstructor(
valueOf: function(){ return this.value }, valueOf: function(){ return this.value },
}) })
parseStringAction.Argument = parseStringAction.Argument =
object.makeConstructor( object.Constructor(
'Argument', 'Argument',
{ {
__init__: function(value){ __init__: function(value){
@ -2232,7 +2232,7 @@ module.MetaActions = {
var ActionSet = var ActionSet =
module.ActionSet = module.ActionSet =
object.makeConstructor('ActionSet', MetaActions) object.Constructor('ActionSet', MetaActions)

View File

@ -1,6 +1,6 @@
{ {
"name": "ig-actions", "name": "ig-actions",
"version": "3.22.2", "version": "3.23.0",
"description": "", "description": "",
"main": "actions.js", "main": "actions.js",
"scripts": { "scripts": {
@ -23,6 +23,6 @@
}, },
"homepage": "https://github.com/flynx/actions.js#readme", "homepage": "https://github.com/flynx/actions.js#readme",
"dependencies": { "dependencies": {
"ig-object": "^1.0.7" "ig-object": "^2.0.0"
} }
} }