Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
ENH: Improved overall js css loading speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Marion committed Mar 24, 2011
1 parent c31425e commit d35bc4b
Show file tree
Hide file tree
Showing 16 changed files with 139 additions and 722 deletions.
2 changes: 0 additions & 2 deletions modules/helloworld/models/base/HelloModel.php
Expand Up @@ -12,8 +12,6 @@ public function __construct()
);
$this->initialize(); // required
} // end __construct()

abstract function getAll();

} // end class AssetstoreModelBase
?>
2 changes: 1 addition & 1 deletion modules/helloworld/models/pdo/HelloModel.php
Expand Up @@ -8,7 +8,7 @@ class Helloworld_HelloModel extends Helloworld_HelloModelBase
* Return all the record in the table
* @return Array of HelloDao
*/
public function getAll()
function getAll()
{
$sql=$this->database->select();
$rowset = $this->database->fetchAll($sql);
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
194 changes: 43 additions & 151 deletions public/css/layout/jquery-ui.css

Large diffs are not rendered by default.

648 changes: 89 additions & 559 deletions public/js/layout/jquery-ui.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions public/js/layout/jquery.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/js/layout/main.js
Expand Up @@ -5,8 +5,8 @@ if (typeof console != "object") {
var console = {
'log':function(){}
};
}

}
console.log('test');
$(function() {
json = jQuery.parseJSON($('div.jsonContent').html());
if(!json.global.logged)
Expand Down
5 changes: 1 addition & 4 deletions public/smartoptimizer/config.php
Expand Up @@ -22,7 +22,7 @@
$settings['concatenate'] = true;

//specifies whether to emebed files included in css files using the data URI scheme or not
$settings['embed'] = true;
$settings['embed'] = false;
}
else
{
Expand Down Expand Up @@ -60,9 +60,6 @@
//separator for files to be concatenated
$settings['separator'] = ',';

//specifies whether to emebed files included in css files using the data URI scheme or not
$settings['embed'] = true;

//The maximum size of an embedded file. (use 0 for unlimited size)
$settings['embedMaxSize'] = 5120; //5KB

Expand Down

0 comments on commit d35bc4b

Please sign in to comment.