1
0
mirror of https://github.com/moparisthebest/app-UI synced 2024-12-21 23:18:52 -05:00

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 samples/.DS_Store
.DS_Store .DS_Store
.idea

View File

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