Skip to content
Permalink
Browse files

Removing trailing spaces.

  • Loading branch information...
markstory committed Aug 12, 2009
1 parent 73a63a4 commit 06e59abb1f6e5250c7b32c1499d8476e084a6f2e
Showing with 9 additions and 9 deletions.
  1. +6 −6 cake/libs/view/helpers/jquery_engine.php
  2. +3 −3 cake/libs/view/helpers/js.php
@@ -160,7 +160,7 @@ function get($selector) {
function event($type, $callback, $options = array()) {
$defaults = array('wrap' => true, 'stop' => true);
$options = array_merge($defaults, $options);
$function = 'function (event) {%s}';
if ($options['wrap'] && $options['stop']) {
$callback .= "\nreturn false;";
@@ -275,7 +275,7 @@ function sortable($options = array()) {
/**
* Create a Draggable element
*
*
* Requires both Ui.Core and Ui.Draggable to be loaded.
*
* @param array $options Array of options for the draggable element.
@@ -289,7 +289,7 @@ function drag($options = array()) {
/**
* Create a Droppable element
*
*
* Requires both Ui.Core and Ui.Droppable to be loaded.
*
* @param array $options Array of options for the droppable element.
@@ -303,7 +303,7 @@ function drop($options = array()) {
/**
* Create a Slider element
*
*
* Requires both Ui.Core and Ui.Slider to be loaded.
*
* @param array $options Array of options for the droppable element.
@@ -317,9 +317,9 @@ function slider($options = array()) {
}
/**
* Serialize a form attached to $selector. If the current selection is not an input or
* Serialize a form attached to $selector. If the current selection is not an input or
* form, errors will be created in the Javascript.
*
*
* @param array $options Options for the serialization
* @return string completed form serialization script
* @see JsHelper::serializeForm() for option list.
@@ -152,7 +152,7 @@ function call__($method, $params) {
/**
* Workaround for Object::Object() existing. Since Object::object exists, it does not
* fall into call__ and is not passed onto the engine helper. See JsBaseEngineHelper::object() for
* fall into call__ and is not passed onto the engine helper. See JsBaseEngineHelper::object() for
* more information on this method.
*
* @param mixed $data Data to convert into JSON
@@ -927,10 +927,10 @@ function _mapOptions($method, $options) {
}
/**
* Prepare callbacks and wrap them with function ([args]) { } as defined in
* Prepare callbacks and wrap them with function ([args]) { } as defined in
* _callbackArgs array.
*
* @param string $method Name of the method you are preparing callbacks for.
* @param string $method Name of the method you are preparing callbacks for.
* @param array $options Array of options being parsed
* @param string $callbacks Additional Keys that contain callbacks
* @access protected

0 comments on commit 06e59ab

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