Skip to content

Instantly share code, notes, and snippets.

<?php
namespace li3_cms\action;
class Controller extends \lithium\action\Controller {
}
var loader = {
vpX: 0,
vpY: 0,
img: null,
setViewport: function(elem) {
loader.vpX = elem.width();
loader.vpY = elem.height();
},
callback: function(obj, callback) {
$.each(callback, function(method, params) {
#The normal way
rich97@Ubuntu:~/Webroot/CakeCMP/app/plugins$ ls -la
total 8
drwxr-xr-x 2 rich97 rich97 4096 2010-02-03 15:30 .
drwxr-xr-x 13 rich97 rich97 4096 2010-01-22 17:15 ..
rich97@Ubuntu:~/Webroot/CakeCMP/app/plugins$ git clone [email protected]:rich97/CakeCMP.git
Initialized empty Git repository in /home/rich97/Webroot/CakeCMP/app/plugins/CakeCMP/.git/
remote: Counting objects: 1508, done.
remote: Compressing objects: 100% (1432/1432), done.
remote: Total 1508 (delta 256), reused 1235 (delta 60)