popupwindow: fix jslint error
authorMinkyu Kang <mk7.kang@samsung.com>
Wed, 23 Jan 2013 05:32:17 +0000 (14:32 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 23 Jan 2013 11:03:50 +0000 (20:03 +0900)
Expected exactly one space between 'function' and '('.
this.element.bind( "vclick", function( e ) { // Line 221, Pos 50
Expected exactly one space between 'if' and '(
if( backgroundclose ) { // Line 354, Pos 15

Change-Id: Idbb2be497be8d6d90a4daadfa5eef8b0d0ac391c

src/widgets/popupwindow/js/jquery.mobile.tizen.popupwindow.js

index 6a604c6..3af53f6 100755 (executable)
                                return false;
                        } );
 
-                       this.element.bind( "vclick", function( e ) {
+                       this.element.bind( "vclick", function ( e ) {
                                if ( $( e.target ).is("ui-btn-ctxpopup-close") ) {
                                        self.close();
                                }
 
                        this._ui.screen.css( "height", $( window ).height() );
 
-                       if( backgroundclose ) {
+                       if ( backgroundclose ) {
                                this._ui.screen.css( "opacity", 0 )
                                                .removeClass("ui-screen-hidden");
                        } else {