update components
This commit is contained in:
+3
-3
@@ -1,14 +1,14 @@
|
||||
define( [
|
||||
"./core",
|
||||
"./var/rnotwhite"
|
||||
], function( jQuery, rnotwhite ) {
|
||||
"./var/rnothtmlwhite"
|
||||
], function( jQuery, rnothtmlwhite ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// Convert String-formatted options into Object-formatted ones
|
||||
function createOptions( options ) {
|
||||
var object = {};
|
||||
jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {
|
||||
jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {
|
||||
object[ flag ] = true;
|
||||
} );
|
||||
return object;
|
||||
|
||||
Reference in New Issue
Block a user