wp-media-picker.js
function() {
			this.states.add([
				new wp.media.controller.Library({
					id: 'insert',
					title: this.options.title,
					selection: this.options.selection,
					priority: 20,
					toolbar: 'main-insert',
					filterable: this.options.filterable,
					searchable: this.options.searchable,
					library: wp.media.query( this.options.query ),
					multiple: this.options.multiple,
					editable: this.options.editable,
					displaySettings: this.options.displaySettings,
					displayUserSettings: this.options.displayUserSettings
				}),

				new wp.media.controller.EditImage({ model: this.options.editImage })
			]);
		}
function() {
			this.states.add([
				new wp.media.controller.Library({
					id: 'insert',
					title: this.options.title,
					selection: this.options.selection,
					priority: 20,
					toolbar: 'main-insert',
					filterable: this.options.filterable,
					searchable: this.options.searchable,
					library: wp.media.query( this.options.query ),
					multiple: this.options.multiple,
					editable: this.options.editable,
					displaySettings: this.options.displaySettings,
					displayUserSettings: this.options.displayUserSettings
				}),

				new wp.media.controller.EditImage({ model: this.options.editImage })
			]);
		}
function ( ) { this . states . add ( [ new wp . media . controller . Library ( { id : 'insert' , title : this . options . title , selection : this . options . selection , priority : 20 , toolbar : 'main-insert' , filterable : this . options . filterable , searchable : this . options . searchable , library : wp . media . query ( this . options . query ) , multiple : this . options . multiple , editable : this . options . editable , displaySettings : this . options . displaySettings , displayUserSettings : this . options . displayUserSettings } ) , new wp . media . controller . EditImage ( { model : this . options . editImage } ) ] ) ; }
Creates the default states.

@since 0.7.0

@returns {void}
Creates the default states .