Change-Id: Ic307db2362b00f15eaac781587bfe9c1d074194f
$conn->clearLastError();
$res = $conn->evalSha( $sha1, $params, $numKeys );
// If we got a permission error reply that means that (a) we are not in
- // multi()/pipeline() and (b) some connection problem likely occured. If
+ // multi()/pipeline() and (b) some connection problem likely occurred. If
// the password the client gave was just wrong, an exception should have
// been thrown back in getConnection() previously.
if ( preg_match( '/^ERR operation not permitted\b/', $conn->getLastError() ) ) {
* and given a safe start position. It supports insertion anywhere
* in the string, so "foo" to "fobaro" if limit is 4 will result in
* "fobo", not "foba". Basically emulating the native maxlength by
- * reconstructing where the insertion occured.
+ * reconstructing where the insertion occurred.
*
* @private
* @param {string} safeVal Known value that was previously returned by this
// Number of results visible without scrolling
visibleResults: 0,
- // Suggestion the last mousedown event occured on
+ // Suggestion the last mousedown event occurred on
mouseDownOn: $( [] ),
$textbox: $(this),
selectedWithMouse: false