Skip to content

Commit

Permalink
Removing trailing spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 12, 2009
1 parent 73a63a4 commit 06e59ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions cake/libs/view/helpers/jquery_engine.php
Expand Up @@ -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;";
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions cake/libs/view/helpers/js.php
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 06e59ab

Please sign in to comment.