rm push/pop
This commit is contained in:
@@ -543,7 +543,7 @@ if (_init != null && _init.native_mode)
|
||||
if (args != null && (_init == null || !_init.program)) {
|
||||
_program = args[0]
|
||||
while (_j < length(args)) {
|
||||
push(_user_args, args[_j])
|
||||
_user_args[] = args[_j]
|
||||
_j = _j + 1
|
||||
}
|
||||
if (_init == null) {
|
||||
@@ -945,7 +945,7 @@ $_.start = function start(cb, program) {
|
||||
no_warn: _no_warn,
|
||||
}
|
||||
greeters[id] = cb
|
||||
push(message_queue, { startup })
|
||||
message_queue[] = { startup }
|
||||
}
|
||||
|
||||
$_.receiver = function receiver(fn) {
|
||||
@@ -1470,7 +1470,7 @@ function populate_actor_addresses(obj, e) {
|
||||
|
||||
|
||||
function actor_prep(actor, send) {
|
||||
push(message_queue, {actor,send});
|
||||
message_queue[] = {actor,send};
|
||||
}
|
||||
|
||||
// Send a message immediately without queuing
|
||||
|
||||
Reference in New Issue
Block a user