YUI.add('gallery-fwt-treeview', function (Y, NAME) {
Y.FWTreeView = Y.Base.create(
NAME,
Y.Widget,
[Y.FlyweightTreeManager],
{
// ......
}
);
Y.FWTreeNode = Y.Base.create(
NAME,
Y.FlyweightNode,
[],
{
// ......
}
);
}, '@VERSION@' ,
{
requires: ['gallery-flyweight-tree', 'widget', 'base-build']
});
/home/y/libexec/ant/bin/ant all
Buildfile: build.xml
[echo] Starting Build For gallery-flyweight-tree
clean:
init:
[mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp
[echo] Starting Build For gallery-flyweight-tree
-lint-server:
[echo] Starting Build For gallery-flyweight-tree
-node:
[echo] For faster builds, install Node.js.
-concatdebug:
[copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp/ant
[delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp/ant
-registerdebug:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp
-prependdebug:
-appenddebug:
builddebug:
-createcore:
[copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp
-loggerregex:
buildcore:
-rollupjs:
-concatskins:
-buildskins:
-rollupcss:
buildskins:
-buildlangs:
-rolluplangs:
buildlangs:
build:
build-coverage:
[echo] Creating coverage file for: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp/gallery-flyweight-tree.js
[move] Moving 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp
[move] Moving 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp
minify:
[yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp/gallery-flyweight-tree.js
[yuicompressor]
[yuicompressor] [WARNING] Invalid hint syntax: use strict
[yuicompressor] add("gallery-flyweight-tree",function(Y){ ---> "use strict" <--- ;var Lang=Y.Lang,DOT=
[yuicompressor]
[yuicompressor] [WARNING] The symbol self is declared but is apparently never used.
[yuicompressor] This code can probably be written in a more compact way.
[yuicompressor] (index,nSiblings,depth){var ---> self <--- =this,node=this._node,attrs
[yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-flyweight-tree/build_tmp/gallery-flyweight-tree-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-flyweight-tree/build_tmp/gallery-flyweight-tree.js
[java]
[java]
[java] 5, 1: Expected 'var' to have an indentation at 5 instead at 1.
[java] var Lang = Y.Lang,
[java]
[java] 36, 1: Expected 'FWMgr' to have an indentation at 5 instead at 1.
[java] FWMgr = function () {
[java]
[java] 37, 5: Expected 'this' to have an indentation at 9 instead at 5.
[java] this._pool = {};
[java]
[java] 38, 5: Expected 'this' to have an indentation at 9 instead at 5.
[java] this._initialValues = {};
[java]
[java] 39, 1: Expected '}' to have an indentation at 5 instead at 1.
[java] };
[java]
[java] 41, 1: Expected 'FWMgr' to have an indentation at 5 instead at 1.
[java] FWMgr.ATTRS = {
[java]
[java] 50, 5: Expected 'defaultType' to have an indentation at 9 instead at 5.
[java] defaultType: {
[java]
[java] 51, 9: Expected 'value' to have an indentation at 13 instead at 9.
[java] value: 'FlyweightTreeNode'
[java]
[java] 52, 5: Expected '}' to have an indentation at 9 instead at 5.
[java] },
[java]
[java] 71, 5: Expected 'dynamicLoader' to have an indentation at 9 instead at 5.
[java] dynamicLoader: {
[java]
[java] 72, 9: Expected 'validator' to have an indentation at 13 instead at 9.
[java] validator: Lang.isFunction,
[java]
[java] 73, 9: Expected 'value' to have an indentation at 13 instead at 9.
[java] value: null
[java]
[java] 74, 5: Expected '}' to have an indentation at 9 instead at 5.
[java] }
[java]
[java] 75, 1: Expected '}' to have an indentation at 5 instead at 1.
[java] };
[java]
[java] 78, 1: Expected 'FWMgr' to have an indentation at 5 instead at 1.
[java] FWMgr.prototype = {
[java]
[java] 86, 5: Expected '_tree' to have an indentation at 9 instead at 5.
[java] _tree: null,
[java]
[java] 95, 5: Expected '_pool' to have an indentation at 9 instead at 5.
[java] _pool: null,
[java]
[java] 104, 5: Expected '_domEvents' to have an indentation at 9 instead at 5.
[java] _domEvents: null,
[java]
[java] 125, 5: Expected '_loadConfig' to have an indentation at 9 instead at 5.
[java] _loadConfig: function (tree) {
[java]
[java] 126, 9: Expected 'var' to have an indentation at 13 instead at 9.
[java] var self = this;
[java]
[java] 127, 9: Expected 'self' to have an indentation at 13 instead at 9.
[java] self._tree = {
[java]
[java] 128, 13: Expected 'children' to have an indentation at 17 instead at 13.
[java] children: Y.clone(tree)
[java]
[java] 129, 9: Expected '}' to have an indentation at 13 instead at 9.
[java] };
[java]
[java] 130, 9: Expected 'self' to have an indentation at 13 instead at 9.
[java] self._initNodes(this._tree);
[java]
[java] 131, 9: Expected 'if' to have an indentation at 13 instead at 9.
[java] if (self._domEvents) {
[java]
[java] 132, 13: Expected 'Y' to have an indentation at 17 instead at 13.
[java] Y.Array.each(self._domEvents, function (event) {
[java]
[java] 133, 17: Expected 'self' to have an indentation at 21 instead at 17.
[java] self.after(event, self._afterDomEvent, self);
[java]
[java] 134, 13: Expected '}' to have an indentation at 17 instead at 13.
[java] });
[java]
[java] 135, 9: Expected '}' to have an indentation at 13 instead at 9.
[java] }
[java]
[java] 136, 5: Expected '}' to have an indentation at 9 instead at 5.
[java] },
[java]
[java] 142, 5: Expected '_initNodes' to have an indentation at 9 instead at 5.
[java] _initNodes: function (parent) {
[java]
[java] 143, 9: Expected 'var' to have an indentation at 13 instead at 9.
[java] var self = this;
[java]
[java] 144, 9: Expected 'Y' to have an indentation at 13 instead at 9.
[java] Y.Array.each(parent.children, function (child) {
[java]
[java] 145, 13: Expected 'child' to have an indentation at 17 instead at 13.
[java] child._parent = parent;
[java]
[java] 146, 13: Expected 'child' to have an indentation at 17 instead at 13.
[java] child.id = child.id || Y.guid();
[java]
[java] 147, 13: Expected 'self' to have an indentation at 17 instead at 13.
[java] self._initNodes(child);
[java]
[java] 148, 9: Expected '}' to have an indentation at 13 instead at 9.
[java] });
[java]
[java] 149, 5: Expected '}' to have an indentation at 9 instead at 5.
[java] },
[java]
[java] 158, 5: Expected '_afterDomEvent' to have an indentation at 9 instead at 5.
[java] _afterDomEvent: function (ev) {
[java]
[java] 159, 9: Expected 'var' to have an indentation at 13 instead at 9.
[java] var node = this._poolFetchFromEvent(ev);
[java]
[java] 160, 9: Expected 'if' to have an indentation at 13 instead at 9.
[java] if (node) {
[java]
[java] 161, 13: Expected 'node' to have an indentation at 17 instead at 13.
[java] node.fire(ev.type.split(':')[1], {domEvent:ev.domEvent});
[java]
[java] 161, 56: Missing space after ':'.
[java] node.fire(ev.type.split(':')[1], {domEvent:ev.domEvent});
[java]
[java] 162, 13: Expected 'this' to have an indentation at 17 instead at 13.
[java] this._poolReturn(node);
[java]
[java] 163, 9: Expected '}' to have an indentation at 13 instead at 9.
[java] }
[java]
[java] 164, 5: Expected '}' to have an indentation at 9 instead at 5.
[java] },
[java]
[java] 173, 5: Expected '_getTypeString' to have an indentation at 9 instead at 5.
[java] _getTypeString: function (node) {
[java]
[java] 174, 9: Expected 'var' to have an indentation at 13 instead at 9.
[java] var type = node.type || DEFAULT_POOL;
[java]
[java] 175, 9: Expected 'if' to have an indentation at 13 instead at 9.
[java] if (!Lang.isString(type)) {
[java]
[java] 176, 13: Expected 'if' to have an indentation at 17 instead at 13.
[java] if (Lang.isObject(type)) {
[java]
[java] 176, 13: Too many errors. (19% scanned).
[java]
[java]
[java]
[java]
[java] js: "/home/y/var/builds/workspace/gallery/build_tmp/src/builder/componentbuild/lib/jslint/jslint-console.js", line 50: exception from uncaught JavaScript throw: [object Error]
local:
deploybuild:
[copy] Copying 4 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-flyweight-tree
deployassets:
deployskins:
deploylang:
deploydocs:
deploy:
all:
BUILD SUCCESSFUL
Total time: 3 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