fixed formatting

This commit is contained in:
Andrew Trice 2013-02-08 16:34:42 -05:00
parent 06b2928389
commit 748d203c30
2 changed files with 11 additions and 8 deletions

3
.gitignore vendored
View File

@ -26,3 +26,6 @@ examples/samples/03 - slidingView/.DS_Store
samples/.DS_Store
.DS_Store
.idea

View File

@ -19,14 +19,14 @@ var ViewNavigator = function( target, options ) {
useNoClickDelay: true
};
//support legacy url signature
//function( target, backLinkCSS, bindToWindow ) {
if ( typeof(options) == "string" ){
options = {
backLinkCSS:arguments[1],
bindToWindow:arguments[2]
}
}
//support legacy url signature
//function( target, backLinkCSS, bindToWindow ) {
if ( typeof(options) == "string" ){
options = {
backLinkCSS:arguments[1],
bindToWindow:arguments[2]
}
}
this.options = options = $.extend( {}, defaults, options );