diff options
Diffstat (limited to 'src/callbacks.js')
-rw-r--r-- | src/callbacks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callbacks.js b/src/callbacks.js index 6fda47f00..58f1402a8 100644 --- a/src/callbacks.js +++ b/src/callbacks.js @@ -4,7 +4,7 @@ var optionsCache = {}; // Convert String-formatted options into Object-formatted ones and store in cache function createOptions( options ) { var object = optionsCache[ options ] = {}; - jQuery.each( options.split( core_rspace ), function( _, flag ) { + jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { object[ flag ] = true; }); return object; |