This file contains 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
// self.keepAlive(); <- this is the line I replaced | |
if (lcCmd == 'quit') { | |
clearInterval(self._keepAliveInterval); | |
} else { | |
self.keepAlive(); | |
} |
This file contains 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
<?php | |
class Auction extends Record | |
{ | |
const STATUS_AUTO_DRAFT = 'auto-draft'; | |
const STATUS_DRAFT = 'draft'; | |
const STATUS_ACTIVE = 'active'; | |
const STATUS_RESERVED = 'reserved'; | |
const STATUS_CANCELED = 'canceled'; |
This file contains 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
public function getExpiryRequest() | |
{ | |
$request = new Mobilpay_Payment_Request_Sms(); | |
$config = Nip_Config::instance()->MOBILPAY; | |
$request->url = $config->sandbox ? $config->sandbox_request_url : $config->request_url; | |
$request->signature = $config->merchant_id; | |
$request->service = $config->listing_service_id; | |
$request->returnUrl = Listings::instance()->getMineURL(); |
This file contains 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
public function getURL() | |
{ | |
if (Nip_Request::instance()->module == 'admin') { | |
$arguments = func_get_args(); | |
return parent::__call('getURL', $arguments); | |
} | |
return $this->getPublicURL(); | |
} |
This file contains 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
var Modal = function (element, options) { | |
this.is_open = false; | |
this.element = $(element); | |
this.options = options; | |
if (typeof this.options == 'undefined') { | |
this.options = {}; | |
} | |
var modal = this; |
This file contains 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
function load_script(src, callback) { | |
var head = document.getElementsByTagName('head')[0]; | |
var script = document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = src; | |
script.onload = callback; | |
script.onreadystatechange = function() { | |
if (this.readyState == 'loaded' || this.readyState == 'complete') { |
This file contains 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
, process: function () { | |
var scrollTop = this.$scrollElement.scrollTop() + this.options.offset | |
, scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight | |
, maxScroll = scrollHeight - this.$scrollElement.height() | |
, offsets = this.offsets | |
, targets = this.targets | |
, activeTarget = this.activeTarget | |
, i | |
if (scrollTop >= maxScroll) { |
This file contains 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
<p>This is a test paragraph.</p> | |
<h3>This is 3rd level heading</h3> | |
<p>This is a test paragraph.</p> | |
<h4>This is 4th level heading</h4> | |
<p>This is a test paragraph.</p> | |
<h5>This is 5th level heading</h5> | |
<p>This is a test paragraph.</p> | |
<h6>This is 6th level heading</h6> | |
<p>This is a test paragraph.</p> | |
<h2>Basic block level elements</h2> |
This file contains 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
#!/bin/bash | |
svn add `svn status .|grep "^?"|awk '{print $2}'` |
OlderNewer