mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Fixed typos in comments
This commit is contained in:
parent
da86ca2e38
commit
674c0a069d
@ -131,7 +131,7 @@ $.EventHandler.prototype = {
|
|||||||
* @param {Function} handler - Function to call when event is triggered.
|
* @param {Function} handler - Function to call when event is triggered.
|
||||||
*/
|
*/
|
||||||
raiseEvent: function( eventName, eventArgs ) {
|
raiseEvent: function( eventName, eventArgs ) {
|
||||||
//uncomment if you want to get a log og all events
|
//uncomment if you want to get a log of all events
|
||||||
//$.console.log( eventName );
|
//$.console.log( eventName );
|
||||||
var handler = this.getHandler( eventName );
|
var handler = this.getHandler( eventName );
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ $.Viewport = function( options ) {
|
|||||||
|
|
||||||
//options.config and the general config argument are deprecated
|
//options.config and the general config argument are deprecated
|
||||||
//in favor of the more direct specification of optional settings
|
//in favor of the more direct specification of optional settings
|
||||||
//being pass directly on the options object
|
//being passed directly on the options object
|
||||||
if ( options.config ){
|
if ( options.config ){
|
||||||
$.extend( true, options, options.config );
|
$.extend( true, options, options.config );
|
||||||
delete options.config;
|
delete options.config;
|
||||||
|
Loading…
Reference in New Issue
Block a user