Skip to content
Permalink
Browse files

Added missing option arrays to abstract function definitions in JsBas…

…eEngineHelper. Fixed test cases accordingly. Fixes #704 .
  • Loading branch information...
Thomas Ploch authored and markstory committed Jul 13, 2010
1 parent eda79ae commit fb9faf10f784fd97d0723b1e37547e76ae93c57e
Showing with 7 additions and 7 deletions.
  1. +3 −3 cake/libs/view/helpers/js.php
  2. +4 −4 cake/tests/cases/libs/view/helpers/js.test.php
@@ -912,7 +912,7 @@ protected function _utf8ToHex($string) {
* @param array $options Array of options for the sortable. See above.
* @return string Completed sortable script.
*/
abstract public function sortable();
abstract public function sortable($options = array());
/**
* Create a slider UI widget. Comprised of a track and knob.
@@ -934,7 +934,7 @@ protected function _utf8ToHex($string) {
*
* @return string Completed slider script
*/
abstract public function slider();
abstract public function slider($options = array());
/**
* Serialize the form attached to $selector.
* Pass `true` for $isForm if the current selection is a form element.
@@ -949,7 +949,7 @@ protected function _utf8ToHex($string) {
* @param array $options options for serialization generation.
* @return string completed form serialization script
*/
abstract public function serializeForm();
abstract public function serializeForm($options = array());
/**
* Parse an options assoc array into an Javascript object literal.
@@ -52,13 +52,13 @@ function get($selector) {}
function event($type, $callback, $options = array()) {}
function domReady($functionBody) {}
function each($callback) {}
function effect($name, $options) {}
function effect($name, $options = array()) {}
function request($url, $options = array()) {}
function drag($options = array()) {}
function drop($options = array()) {}
function sortable() {}
function slider() {}
function serializeForm() {}
function sortable($options = array()) {}
function slider($options = array()) {}
function serializeForm($options = array()) {}
}
/**

0 comments on commit fb9faf1

Please sign in to comment.
You can’t perform that action at this time.