The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2011.02.23-19-01'
}).use('gallery-comet-stream', function(Y) {
var streamUrl = "url-to-stream-source";
var streamClient = new Y.CometStream({
url: streamUrl,
on: {
pushed: function(data) {
// data is pushed message as string
}
}
});
streamClient.start();
});
/home/y/libexec/ant/bin/ant all Buildfile: build.xml [echo] Starting Build For gallery-comet-stream [echo] Ant Properties [echo] Home : /home/y/libexec/ant [echo] Ant Version : Apache Ant version 1.7.1 compiled on June 27 2008 [echo] Build File : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build.xml [echo] Local Build Properties [echo] version : 3 [echo] srcdir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery [echo] builddir : ../../../builder/componentbuild [echo] component : gallery-comet-stream [echo] component.basefilename : gallery-comet-stream [echo] component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream [echo] component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp [echo] Global Build Properties [echo] global.build.base : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build [echo] global.build.component : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream [echo] global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream/assets clean: init: [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp [echo] Starting Build For gallery-comet-stream [echo] Ant Properties [echo] Home : /home/y/libexec/ant [echo] Ant Version : Apache Ant version 1.7.1 compiled on June 27 2008 [echo] Build File : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build.xml [echo] Local Build Properties [echo] version : 3 [echo] srcdir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery [echo] builddir : ../../../builder/componentbuild [echo] component : gallery-comet-stream [echo] component.basefilename : gallery-comet-stream [echo] component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream [echo] component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp [echo] Global Build Properties [echo] global.build.base : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build [echo] global.build.component : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream [echo] global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream/assets -lint-server: [echo] Starting Build For gallery-comet-stream [echo] Ant Properties [echo] Home : /home/y/libexec/ant [echo] Ant Version : Apache Ant version 1.7.1 compiled on June 27 2008 [echo] Build File : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build.xml [echo] Local Build Properties [echo] version : 3 [echo] srcdir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery [echo] builddir : ../../../builder/componentbuild [echo] component : gallery-comet-stream [echo] component.basefilename : gallery-comet-stream [echo] component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream [echo] component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp [echo] Global Build Properties [echo] global.build.base : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build [echo] global.build.component : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream [echo] global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream/assets -node: [echo] For faster builds, install Node.js. -concatdebug: [echo] Concatenating [echo] Source Files : comet-stream.js [echo] In Source Dir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/js [echo] To : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream-debug.js [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/ant [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/ant -registerdebug: [echo] Wrapping /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream-debug.js in YUI.add module [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp -prependdebug: -appenddebug: builddebug: -createcore: [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp -loggerregex: [echo] Replacing Logger Statements in /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream.js 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-comet-stream/build_tmp/gallery-comet-stream.js [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream-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-comet-stream/build_tmp/gallery-comet-stream-debug.js [java] - OK [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream-min.js [java] - OK [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream.js [java] - OK local: deploybuild: [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream-debug.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream/gallery-comet-stream-debug.js [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream-min.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream/gallery-comet-stream-min.js [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-comet-stream/build_tmp/gallery-comet-stream.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-comet-stream/gallery-comet-stream.js deployassets: deployskins: deploylang: deploydocs: deploy: all: BUILD SUCCESSFUL Total time: 3 seconds
All code on this site is licensed under the BSD License unless stated otherwise.