fixed a really odd bug -- seems like I just sat on the keyboard...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-10-03 03:25:54 +03:00
parent 0dbe559a0d
commit 6759c38567

View File

@ -2222,7 +2222,7 @@ var DataPrototype = {
// .getImage(..) // .getImage(..)
// NOTE: if no target is given this will assume the current image. // NOTE: if no target is given this will assume the current image.
split: function(target){ split: function(target){
target = argument.length > 1 ? [].slice.call(arguments) target = arguments.length > 1 ? [].slice.call(arguments)
: target == null || target instanceof Array ? target : target == null || target instanceof Array ? target
: [target] : [target]