YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.05.09-20-27'
}).use('gallery-jsonrpc', function(Y) {
// JuicyFruit API
Y.jsonrpc('/jsonrpcService.php', 'doThat', [ "voodoo" ], function (result) {
alert(result); // assumes server response { "result": "some message", "id": ... }
});
// or for lasting sugar
var controller = new Y.JSONRPC({
url: '/jsonrpcService.php',
version: 1
});
controller.on('apiready') {
Y.delegate("click", function () {
controller.deleteRecord(this.getData("recordId"), updateUI);
}, '#records', '.delete');
});
});/home/y/libexec/ant/bin/ant all
Buildfile: build.xml
[echo] Starting Build For gallery-jsonrpc
clean:
init:
[mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-jsonrpc/build_tmp
[echo] Starting Build For gallery-jsonrpc
-lint-server:
[echo] Starting Build For gallery-jsonrpc
-node:
[echo] For faster builds, install Node.js.
-concatdebug:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-jsonrpc/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-jsonrpc/build_tmp/ant
-registerdebug:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-jsonrpc/build_tmp
-prependdebug:
-appenddebug:
builddebug:
-createcore:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-jsonrpc/build_tmp
-loggerregex:
buildcore:
-rollupjs:
-concatskins:
-buildskins:
-rollupcss:
buildskins:
-buildlangs:
-rolluplangs:
buildlangs:
build:
minify:
[yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-jsonrpc/build_tmp/gallery-jsonrpc.js
[yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-jsonrpc/build_tmp/gallery-jsonrpc-min.js
lint:
[echo] Using Rhino. Install nodejs to improve jslint speed, or skip with -Dlint.skip=true
[java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-jsonrpc/build_tmp/gallery-jsonrpc.js
[java] - OK
local:
deploybuild:
[copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-jsonrpc
deployassets:
deployskins:
deploylang:
deploydocs:
deploy:
all:
BUILD SUCCESSFUL
Total time: 2 seconds
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info