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-2010.08.25-19-45'
}).use('gallery-torelativetime', function(Y) {
var twitterposts = [ /* ... from elsewere ... */ ],
content = '',
entry, i, len;
for (i = 0, len = twitterposts.length; i < len; ++i) {
entry = twitterposts[i];
content = '<p>' + entry.status + ' (' + Y.toRelativeTime(entry.timestamp) + ')</p>' + content;
}
Y.one('#status').prepend(content);
});
/home/y/libexec/ant/bin/ant all Buildfile: build.xml [echo] Starting Build For gallery-torelativetime [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-torelativetime/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-torelativetime [echo] component.basefilename : gallery-torelativetime [echo] component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime [echo] component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/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-torelativetime [echo] global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-torelativetime/assets clean: init: [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp -concatdebug: [echo] Concatenating [echo] Source Files : torelativetime.js [echo] In Source Dir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/js [echo] To : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime-debug.js [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/ant [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/ant -registerdebug: [echo] Wrapping /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime-debug.js in YUI.add module [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp -prependdebug: -appenddebug: builddebug: -createcore: [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp -loggerregex: [echo] Replacing Logger Statements in /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime.js buildcore: -rollupjs: -concatskins: -buildskins: -rollupcss: buildskins: -buildlangs: -rolluplangs: buildlangs: build: minify: [echo] Running yuicompressor on /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime.js [java] [java] [WARNING] Found an undeclared symbol: YUI [java] ---> YUI <--- .add("gallery-torelativetime",function(Y){ lint: [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime-debug.js [java] - OK [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime-min.js [java] - OK [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime.js [java] - OK local: deploybuild: [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-torelativetime [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime-debug.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-torelativetime/gallery-torelativetime-debug.js [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime-min.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-torelativetime/gallery-torelativetime-min.js [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-torelativetime/build_tmp/gallery-torelativetime.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-torelativetime/gallery-torelativetime.js deployassets: deployskins: deploylang: deploydocs: deploy: all: BUILD SUCCESSFUL Total time: 2 seconds
All code on this site is licensed under the BSD License unless stated otherwise.