This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Viewport Key Zoom In & Out | |
* Press + and - to zoom the viewport in and out. | |
*/ | |
(function() { | |
'use strict'; | |
$.jmpress("defaults").viewPort.keyZoomAmount = 100; | |
$.extend(true, $.jmpress('defaults').keyboard.keys, { | |
187: 'zoomin' // plus | |
,189: 'zoomout' // minus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* testConnect | |
*/ | |
public function testConnect() { | |
// FTP FAILED CONNECT | |
$this->FtpSource = $this->getMock('FtpSource', array('_ftp'), array($this->defaultConfig)); | |
$callback = create_function('$method,$params', <<<END | |
if (\$method == "ftp_connect") { | |
return false; |
NewerOlder