|
@ -375,7 +375,9 @@ Core.prototype.setOptions = function (options) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
this.options.orientation = {item:undefined,axis:undefined}; |
|
|
|
|
|
|
|
|
if (typeof this.options.orientation !== 'object') { |
|
|
|
|
|
this.options.orientation = {item:undefined,axis:undefined}; |
|
|
|
|
|
} |
|
|
if ('orientation' in options) { |
|
|
if ('orientation' in options) { |
|
|
if (typeof options.orientation === 'string') { |
|
|
if (typeof options.orientation === 'string') { |
|
|
this.options.orientation = { |
|
|
this.options.orientation = { |
|
|