Skip to content

Instantly share code, notes, and snippets.

@derek
Created August 22, 2013 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derek/6302063 to your computer and use it in GitHub Desktop.
Save derek/6302063 to your computer and use it in GitHub Desktop.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: anim
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/anim/js/anim-color.js
/Users/derek/src/yui/yui3/src/anim/js/anim-curve.js
/Users/derek/src/yui/yui3/src/anim/js/anim-easing.js
/Users/derek/src/yui/yui3/src/anim/js/anim-node-plugin.js
/Users/derek/src/yui/yui3/src/anim/js/anim-scroll.js
/Users/derek/src/yui/yui3/src/anim/js/anim-shape.js
/Users/derek/src/yui/yui3/src/anim/js/anim-xy.js
/Users/derek/src/yui/yui3/src/anim/js/anim.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/anim/js/anim-color.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/anim/js/anim-curve.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/anim/js/anim-easing.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/anim/js/anim-node-plugin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/anim/js/anim-scroll.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/anim/js/anim-shape.js contains 1 lint errors
#1: Trailing whitespace.
* Adds support for the <code>transform</code> and <code>fill</code> attributes of <code>Graphic</code> // line 9, pos 104
yogi [info] /Users/derek/src/yui/yui3/src/anim/js/anim-xy.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/anim/js/anim.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/anim/meta/anim.json is OK
yogi [warn] lint found a total of 1 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: app
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/app/js/app-base.js
/Users/derek/src/yui/yui3/src/app/js/app-extensions
/Users/derek/src/yui/yui3/src/app/js/app-extensions/app-content.js
/Users/derek/src/yui/yui3/src/app/js/app-extensions/app-transitions-native.js
/Users/derek/src/yui/yui3/src/app/js/app-extensions/app-transitions.js
/Users/derek/src/yui/yui3/src/app/js/lazy-model-list.js
/Users/derek/src/yui/yui3/src/app/js/model-extensions
/Users/derek/src/yui/yui3/src/app/js/model-extensions/model-sync-rest.js
/Users/derek/src/yui/yui3/src/app/js/model-list.js
/Users/derek/src/yui/yui3/src/app/js/model.js
/Users/derek/src/yui/yui3/src/app/js/router.js
/Users/derek/src/yui/yui3/src/app/js/view-extensions
/Users/derek/src/yui/yui3/src/app/js/view-extensions/view-node-map.js
/Users/derek/src/yui/yui3/src/app/js/view.js
yogi [info] tweaking meta test js file for lint
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/app-base.js contains 3 lint errors
#1: Expected an assignment or function call and instead saw an expression.
config || (config = {}); // line 149, pos 31
#2: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 376, pos 33
#3: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 778, pos 33
yogi [info] /Users/derek/src/yui/yui3/src/app/js/app-extensions/app-content.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/app-extensions/app-transitions-native.js contains 4 lint errors
#1: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 191, pos 33
#2: Expected an assignment or function call and instead saw an expression.
callback && callback.call(this, newView); // line 199, pos 52
#3: Expected an assignment or function call and instead saw an expression.
callback && callback.call(this, newView); // line 215, pos 52
#4: Expected an assignment or function call and instead saw an expression.
callback && callback.call(this, newView); // line 235, pos 52
yogi [info] /Users/derek/src/yui/yui3/src/app/js/app-extensions/app-transitions.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/lazy-model-list.js contains 5 lint errors
#1: Expected an assignment or function call and instead saw an expression.
items || (items = []); // line 197, pos 30
#2: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 198, pos 33
#3: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 290, pos 33
#4: Expected an assignment or function call and instead saw an expression.
options.silent ? this._defAddFn(facade) : this.fire(EVT_ADD, facade); // line 315, pos 76
#5: Expected an assignment or function call and instead saw an expression.
GlobalEnv.lastId || (GlobalEnv.lastId = 0); // line 344, pos 50
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/model-extensions/model-sync-rest.js contains 7 lint errors
#1: Expected an assignment or function call and instead saw an expression.
config || (config = {}); // line 295, pos 31
#2: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 447, pos 33
#3: 'action' is defined but never used.
serialize: function (action) { // line 409, pos 32
#4: 'details' is defined but never used.
_onSyncIOEnd: function (txId, details) {}, // line 656, pos 42
#5: 'txId' is defined but never used.
_onSyncIOEnd: function (txId, details) {}, // line 656, pos 33
#6: 'details' is defined but never used.
_onSyncIOStart: function (txId, details) {} // line 723, pos 44
#7: 'txId' is defined but never used.
_onSyncIOStart: function (txId, details) {} // line 723, pos 35
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/model-list.js contains 11 lint errors
#1: Expected an assignment or function call and instead saw an expression.
config || (config = {}); // line 176, pos 31
#2: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 322, pos 33
#3: Missing 'new' prefix when invoking a constructor.
var args = [this._items, name].concat(YArray(arguments, 1, true)); // line 543, pos 47
#4: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 589, pos 33
#5: Expected an assignment or function call and instead saw an expression.
models || (models = []); // line 741, pos 33
#6: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 742, pos 33
#7: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 832, pos 33
#8: Missing 'new' prefix when invoking a constructor.
var callback = YArray(arguments, 0, true).pop(); // line 881, pos 24
#9: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 935, pos 33
#10: Unexpected use of '>>'.
middle = (min + max) >> 1; // Divide by two and discard remainder. // line 1055, pos 34
#11: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 1101, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/model.js contains 12 lint errors
#1: Expected an assignment or function call and instead saw an expression.
callback && callback.apply(null, arguments); // line 247, pos 59
#2: Expected an assignment or function call and instead saw an expression.
GlobalEnv.lastId || (GlobalEnv.lastId = 0); // line 269, pos 50
#3: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 397, pos 33
#4: Expected an assignment or function call and instead saw an expression.
callback && callback.apply(null, arguments); // line 428, pos 55
#5: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 505, pos 33
#6: Expected an assignment or function call and instead saw an expression.
callback && callback.call(null, err); // line 509, pos 52
#7: Expected an assignment or function call and instead saw an expression.
callback && callback.apply(null, arguments); // line 543, pos 59
#8: Missing 'new' prefix when invoking a constructor.
var callback = YArray(arguments, 0, true).pop(); // line 682, pos 24
#9: Expected an assignment or function call and instead saw an expression.
attrNames || (attrNames = YObject.keys(lastChange)); // line 751, pos 59
#10: Expected an assignment or function call and instead saw an expression.
callback && callback(); // line 807, pos 30
#11: 'config' is defined but never used.
initializer: function (config) { // line 197, pos 34
#12: 'lazy' is defined but never used.
addAttr: function (name, config, lazy) { // line 830, pos 42
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/router.js contains 3 lint errors
#1: Missing 'new' prefix when invoking a constructor.
callbacks = YArray.flatten(YArray(arguments, 1, true)); // line 481, pos 36
#2: Expected an assignment or function call and instead saw an expression.
hash || (hash = HistoryHash.getHash()); // line 715, pos 46
#3: 'e' is defined but never used.
_defReadyFn: function (e) { // line 1314, pos 29
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/view-extensions/view-node-map.js contains 1 lint errors
#1: Expected an assignment or function call and instead saw an expression.
buildCfg.aggregates || (buildCfg.aggregates = []); // line 32, pos 49
yogi [warn] /Users/derek/src/yui/yui3/src/app/js/view.js contains 6 lint errors
#1: Expected an assignment or function call and instead saw an expression.
config || (config = {}); // line 127, pos 31
#2: Expected an assignment or function call and instead saw an expression.
(this.containerTemplate = config.containerTemplate); // line 131, pos 63
#3: Expected an assignment or function call and instead saw an expression.
config.template && (this.template = config.template); // line 133, pos 60
#4: Expected an assignment or function call and instead saw an expression.
events || (events = this.events); // line 202, pos 40
#5: Expected an assignment or function call and instead saw an expression.
container && container.remove(); // line 281, pos 39
#6: Expected an assignment or function call and instead saw an expression.
container && container.remove(true); // line 320, pos 43
yogi [info] /Users/derek/src/yui/yui3/src/app/meta/app-transitions-test.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/app/meta/app.json is OK
yogi [warn] lint found a total of 52 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: arraysort
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/arraysort/js/arraysort.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/arraysort/js/arraysort.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/arraysort/meta/arraysort.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: async-queue
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/async-queue/js/async-queue.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/async-queue/js/async-queue.js contains 5 lint errors
#1: Unexpected use of '|='.
this.iterations |= 0; // line 73, pos 25
#2: Trailing whitespace.
/** // line 101, pos 12
#3: Trailing whitespace.
* Creates a wrapper function to execute the callback using the aggregated // line 171, pos 79
#4: Trailing whitespace.
* @return {Boolean} true if queue is waiting for a // line 300, pos 56
#5: Trailing whitespace.
/** // line 402, pos 8
yogi [info] /Users/derek/src/yui/yui3/src/async-queue/meta/async-queue.json is OK
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: attribute
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/attribute/js/Attribute.js
/Users/derek/src/yui/yui3/src/attribute/js/AttributeCore.js
/Users/derek/src/yui/yui3/src/attribute/js/AttributeExtras.js
/Users/derek/src/yui/yui3/src/attribute/js/AttributeObservable.js
/Users/derek/src/yui/yui3/src/attribute/js/ComplexAttribute.js
/Users/derek/src/yui/yui3/src/attribute/js/State.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/attribute/js/Attribute.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/attribute/js/AttributeCore.js contains 1 lint errors
#1: Expected '!==' and instead saw '!='.
if (!modifiedOnly || this._getStateVal(attr) != this._state.get(attr, INIT_VALUE)) { // line 814, pos 62
yogi [info] /Users/derek/src/yui/yui3/src/attribute/js/AttributeExtras.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/attribute/js/AttributeObservable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/attribute/js/ComplexAttribute.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/attribute/js/State.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/attribute/meta/attribute.json is OK
yogi [warn] lint found a total of 1 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: autocomplete
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-base.js
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-filters-accentfold.js
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-filters.js
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-highlighters-accentfold.js
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-highlighters.js
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-list-keys.js
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-list.js
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-plugin.js
/Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-sources.js
yogi [info] tweaking meta test js file for lint
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-base.js contains 4 lint errors
#1: Expected an assignment or function call and instead saw an expression.
this._acBaseEvents && this._acBaseEvents.detach(); // line 167, pos 57
#2: Expected an assignment or function call and instead saw an expression.
this._cache && (this._cache = {}); // line 185, pos 41
#3: 'e' is defined but never used.
_afterSourceTypeChange: function (e) { // line 797, pos 40
#4: 'e' is defined but never used.
_onInputBlur: function (e) { // line 867, pos 30
yogi [info] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-filters-accentfold.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-filters.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-highlighters-accentfold.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-highlighters.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-list-keys.js contains 1 lint errors
#1: Expected an assignment or function call and instead saw an expression.
this._keyEvents && this._keyEvents.detach(); // line 70, pos 51
yogi [warn] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-list.js contains 1 lint errors
#1: Redefinition of 'Node'.
Node = Y.Node, // line 21, pos 5
yogi [info] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-plugin.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/autocomplete/js/autocomplete-sources.js contains 3 lint errors
#1: Expected an assignment or function call and instead saw an expression.
that._cache && (that._cache[cacheKey] = data); // line 100, pos 73
#2: Expected an assignment or function call and instead saw an expression.
that._cache && (that._cache[cacheKey] = data); // line 163, pos 61
#3: Expected an assignment or function call and instead saw an expression.
that._cache && (that._cache[yqlQuery] = data); // line 300, pos 61
yogi [info] /Users/derek/src/yui/yui3/src/autocomplete/meta/autocomplete-list-keys-sniff.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/autocomplete/meta/autocomplete.json is OK
yogi [warn] lint found a total of 9 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: base
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/base/js/Base.js
/Users/derek/src/yui/yui3/src/base/js/BaseBuild.js
/Users/derek/src/yui/yui3/src/base/js/BaseCore.js
/Users/derek/src/yui/yui3/src/base/js/BaseObservable.js
/Users/derek/src/yui/yui3/src/base/js/BasePluginHost.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/base/js/Base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/base/js/BaseBuild.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/base/js/BaseCore.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/base/js/BaseObservable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/base/js/BasePluginHost.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/base/meta/base.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: button
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/button/js/button.js
/Users/derek/src/yui/yui3/src/button/js/core.js
/Users/derek/src/yui/yui3/src/button/js/group.js
/Users/derek/src/yui/yui3/src/button/js/plugin.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/button/js/button.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/button/js/core.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/button/js/group.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/button/js/plugin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/button/meta/button.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: cache
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/cache/js/cache-base.js
/Users/derek/src/yui/yui3/src/cache/js/cache-offline.js
/Users/derek/src/yui/yui3/src/cache/js/cache-plugin.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/cache/js/cache-base.js contains 1 lint errors
#1: 'config' is defined but never used.
initializer: function(config) { // line 138, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/cache/js/cache-offline.js contains 7 lint errors
#1: Trailing whitespace.
* // line 3, pos 3
#2: Redefinition of 'localStorage'.
var localStorage = null, // line 18, pos 5
#3: Redefinition of 'JSON'.
JSON = Y.JSON; // line 19, pos 5
#4: Read only.
localStorage = Y.config.win.localStorage; // line 23, pos 5
#5: 'value' is defined but never used.
_setMax: function(value) { // line 169, pos 28
#6: 'e' is defined but never used.
_defFlushFn: function(e) { // line 250, pos 28
#7: 'value' is defined but never used.
_setMax: function(value) { // line 330, pos 28
yogi [warn] /Users/derek/src/yui/yui3/src/cache/js/cache-plugin.js contains 1 lint errors
#1: A constructor name should start with an uppercase letter.
tmpinstance = new tmpclass(config); // line 17, pos 27
yogi [info] /Users/derek/src/yui/yui3/src/cache/meta/cache.json is OK
yogi [warn] lint found a total of 9 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: calendar
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/calendar/js/calendar-base.js
/Users/derek/src/yui/yui3/src/calendar/js/calendar.js
/Users/derek/src/yui/yui3/src/calendar/js/calendarnavigator.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/calendar/js/calendar-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/calendar/js/calendar.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/calendar/js/calendarnavigator.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/calendar/meta/calendar-base.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/calendar/meta/calendar.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/calendar/meta/calendarnavigator.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: charts
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/charts/js/AreaSeries.js
/Users/derek/src/yui/yui3/src/charts/js/AreaSplineSeries.js
/Users/derek/src/yui/yui3/src/charts/js/Axis.js
/Users/derek/src/yui/yui3/src/charts/js/AxisBase.js
/Users/derek/src/yui/yui3/src/charts/js/AxisType.js
/Users/derek/src/yui/yui3/src/charts/js/BarSeries.js
/Users/derek/src/yui/yui3/src/charts/js/BottomAxisLayout.js
/Users/derek/src/yui/yui3/src/charts/js/CandlestickSeries.js
/Users/derek/src/yui/yui3/src/charts/js/CartesianChart.js
/Users/derek/src/yui/yui3/src/charts/js/CartesianChartLegend.js
/Users/derek/src/yui/yui3/src/charts/js/CartesianSeries.js
/Users/derek/src/yui/yui3/src/charts/js/CategoryAxis.js
/Users/derek/src/yui/yui3/src/charts/js/CategoryAxisBase.js
/Users/derek/src/yui/yui3/src/charts/js/CategoryImpl.js
/Users/derek/src/yui/yui3/src/charts/js/Chart.js
/Users/derek/src/yui/yui3/src/charts/js/ChartBase.js
/Users/derek/src/yui/yui3/src/charts/js/ChartLegend.js
/Users/derek/src/yui/yui3/src/charts/js/ColumnSeries.js
/Users/derek/src/yui/yui3/src/charts/js/ComboSeries.js
/Users/derek/src/yui/yui3/src/charts/js/ComboSplineSeries.js
/Users/derek/src/yui/yui3/src/charts/js/CurveUtil.js
/Users/derek/src/yui/yui3/src/charts/js/Fills.js
/Users/derek/src/yui/yui3/src/charts/js/Graph.js
/Users/derek/src/yui/yui3/src/charts/js/Gridlines.js
/Users/derek/src/yui/yui3/src/charts/js/Histogram.js
/Users/derek/src/yui/yui3/src/charts/js/LeftAxisLayout.js
/Users/derek/src/yui/yui3/src/charts/js/LineSeries.js
/Users/derek/src/yui/yui3/src/charts/js/Lines.js
/Users/derek/src/yui/yui3/src/charts/js/MarkerSeries.js
/Users/derek/src/yui/yui3/src/charts/js/NumericAxis.js
/Users/derek/src/yui/yui3/src/charts/js/NumericAxisBase.js
/Users/derek/src/yui/yui3/src/charts/js/NumericImpl.js
/Users/derek/src/yui/yui3/src/charts/js/OHLCSeries.js
/Users/derek/src/yui/yui3/src/charts/js/PieChart.js
/Users/derek/src/yui/yui3/src/charts/js/PieChartLegend.js
/Users/derek/src/yui/yui3/src/charts/js/PieSeries.js
/Users/derek/src/yui/yui3/src/charts/js/Plots.js
/Users/derek/src/yui/yui3/src/charts/js/RangeSeries.js
/Users/derek/src/yui/yui3/src/charts/js/Renderer.js
/Users/derek/src/yui/yui3/src/charts/js/RightAxisLayout.js
/Users/derek/src/yui/yui3/src/charts/js/SeriesBase.js
/Users/derek/src/yui/yui3/src/charts/js/SplineSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedAreaSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedAreaSplineSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedAxis.js
/Users/derek/src/yui/yui3/src/charts/js/StackedAxisBase.js
/Users/derek/src/yui/yui3/src/charts/js/StackedBarSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedColumnSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedComboSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedComboSplineSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedImpl.js
/Users/derek/src/yui/yui3/src/charts/js/StackedLineSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedMarkerSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackedSplineSeries.js
/Users/derek/src/yui/yui3/src/charts/js/StackingUtil.js
/Users/derek/src/yui/yui3/src/charts/js/TimeAxis.js
/Users/derek/src/yui/yui3/src/charts/js/TimeAxisBase.js
/Users/derek/src/yui/yui3/src/charts/js/TimeImpl.js
/Users/derek/src/yui/yui3/src/charts/js/TopAxisLayout.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/AreaSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/AreaSplineSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/Axis.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/AxisBase.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/AxisType.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/BarSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/BottomAxisLayout.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/CandlestickSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/CartesianChart.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/charts/js/CartesianChartLegend.js contains 3 lint errors
#1: 'DOCUMENT' is defined but never used.
var DOCUMENT = Y.config.doc, // line 7, pos 13
#2: 'VERTICAL' is defined but never used.
VERTICAL = "vertical", // line 14, pos 9
#3: 'PieChartLegend' is defined but never used.
PieChartLegend, // line 21, pos 15
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/CartesianSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/CategoryAxis.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/CategoryAxisBase.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/CategoryImpl.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/Chart.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/ChartBase.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/ChartLegend.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/ColumnSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/ComboSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/ComboSplineSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/CurveUtil.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/Fills.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/Graph.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/charts/js/Gridlines.js contains 4 lint errors
#1: 'WINDOW' is defined but never used.
WINDOW = CONFIG.win, // line 8, pos 11
#2: 'DOCUMENT' is defined but never used.
DOCUMENT = CONFIG.doc, // line 9, pos 13
#3: 'IS_STRING' is defined but never used.
IS_STRING = Y_Lang.isString, // line 11, pos 14
#4: 'SERIES_MARKER' is defined but never used.
SERIES_MARKER = _getClassName("seriesmarker"); // line 13, pos 18
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/Histogram.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/charts/js/LeftAxisLayout.js contains 6 lint errors
#1: 'DOCUMENT' is defined but never used.
DOCUMENT = CONFIG.doc, // line 8, pos 13
#2: 'IS_STRING' is defined but never used.
IS_STRING = Y_Lang.isString, // line 10, pos 14
#3: 'Y_DOM' is defined but never used.
Y_DOM = Y.DOM, // line 11, pos 10
#4: 'RightAxisLayout' is defined but never used.
RightAxisLayout, // line 13, pos 20
#5: 'BottomAxisLayout' is defined but never used.
BottomAxisLayout, // line 14, pos 21
#6: 'TopAxisLayout' is defined but never used.
TopAxisLayout; // line 15, pos 18
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/Lines.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/LineSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/MarkerSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/NumericAxis.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/NumericAxisBase.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/NumericImpl.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/OHLCSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/PieChart.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/PieChartLegend.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/PieSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/Plots.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/RangeSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/Renderer.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/RightAxisLayout.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/SeriesBase.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/SplineSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedAreaSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedAreaSplineSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedAxis.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedAxisBase.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedBarSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedColumnSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedComboSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedComboSplineSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedImpl.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedLineSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedMarkerSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackedSplineSeries.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/StackingUtil.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/TimeAxis.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/TimeAxisBase.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/TimeImpl.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/js/TopAxisLayout.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axes-base.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axes.json is OK
yogi [warn] /Users/derek/src/yui/yui3/src/charts/meta/axis-base.json contains 3 lint errors
#1: Trailing whitespace.
"datatype-number", // line 5, pos 31
#2: Trailing whitespace.
"datatype-date", // line 6, pos 29
#3: Trailing whitespace.
"event-custom" // line 8, pos 27
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axis-category-base.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axis-category.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axis-numeric-base.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axis-numeric.json is OK
yogi [warn] /Users/derek/src/yui/yui3/src/charts/meta/axis-stacked-base.json contains 1 lint errors
#1: Trailing whitespace.
"axis-numeric-base" // line 4, pos 32
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axis-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axis-time-base.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/axis-time.json is OK
yogi [warn] /Users/derek/src/yui/yui3/src/charts/meta/axis.json contains 4 lint errors
#1: Trailing whitespace.
"dom", // line 4, pos 19
#2: Trailing whitespace.
"widget", // line 5, pos 22
#3: Trailing whitespace.
"widget-position", // line 6, pos 31
#4: Trailing whitespace.
"graphics", // line 8, pos 24
yogi [warn] /Users/derek/src/yui/yui3/src/charts/meta/charts-base.json contains 3 lint errors
#1: Trailing whitespace.
"dom", // line 4, pos 19
#2: Trailing whitespace.
"event-mouseenter", // line 5, pos 32
#3: Trailing whitespace.
"event-touch", // line 6, pos 27
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/charts-legend.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/charts.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-area-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-area.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-areaspline-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-areaspline.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-bar-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-bar.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-base.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-candlestick.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-cartesian.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-column-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-column.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-combo-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-combo.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-combospline-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-combospline.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-curve-util.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-fill-util.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-histogram-base.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-line-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-line-util.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-line.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-marker-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-marker.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-ohlc.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-pie.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-plot-util.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-range.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-spline-stacked.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-spline.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/charts/meta/series-stacked.json is OK
yogi [warn] lint found a total of 24 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: classnamemanager
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/classnamemanager/js/classnamemanager.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/classnamemanager/js/classnamemanager.js contains 9 lint errors
#1: Trailing whitespace.
* Contains a singleton (ClassNameManager) that enables easy creation and caching of // line 2, pos 84
#2: Trailing whitespace.
* A singleton class providing: // line 8, pos 32
#3: Trailing whitespace.
* // line 9, pos 3
#4: Trailing whitespace.
* // line 14, pos 3
#5: Trailing whitespace.
* @static // line 16, pos 11
#6: Trailing whitespace.
* Returns a class name prefixed with the the value of the // line 55, pos 67
#7: Trailing whitespace.
* Uses the <code>Y.config.classNameDelimiter</code> attribute to delimit the // line 57, pos 86
#8: Trailing whitespace.
* @param {Boolean} skipPrefix If set to true, the classname will not be prefixed with the default Y.config.classNameDelimiter value. // line 62, pos 142
#9: Wrap an immediate function invocation in parentheses to assist the reader in understanding that the expression is the result of a function, and not the function itself.
}(); // line 79, pos 3
yogi [info] /Users/derek/src/yui/yui3/src/classnamemanager/meta/classnamemanager.json is OK
yogi [warn] lint found a total of 9 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: collection
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/collection/js/array-extras.js
/Users/derek/src/yui/yui3/src/collection/js/arraylist-add.js
/Users/derek/src/yui/yui3/src/collection/js/arraylist-filter.js
/Users/derek/src/yui/yui3/src/collection/js/arraylist.js
/Users/derek/src/yui/yui3/src/collection/js/invoke.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/collection/js/array-extras.js contains 1 lint errors
#1: 'index' is defined but never used.
return A.filter(a, function(item, index) { // line 307, pos 44
yogi [info] /Users/derek/src/yui/yui3/src/collection/js/arraylist-add.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/collection/js/arraylist-filter.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/collection/js/arraylist.js contains 6 lint errors
#1: Missing 'new' prefix when invoking a constructor.
this._items = Y.Lang.isArray( items ) ? items : YArray( items ); // line 29, pos 57
#2: Missing 'new' prefix when invoking a constructor.
YArray_each( this._items, function ( item, i ) { // line 64, pos 9
#3: Missing 'new' prefix when invoking a constructor.
names = YArray( names ); // line 186, pos 17
#4: Missing 'new' prefix when invoking a constructor.
YArray_each( names, function ( name ) { // line 188, pos 9
#5: Missing 'new' prefix when invoking a constructor.
var args = YArray( arguments, 0, true ), // line 190, pos 28
#6: Missing 'new' prefix when invoking a constructor.
YArray_each( this._items, function ( item, i ) { // line 193, pos 17
yogi [info] /Users/derek/src/yui/yui3/src/collection/js/invoke.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/collection/meta/collection.json contains 4 lint errors
#1: Trailing whitespace.
"array-extras": { "requires": [ "yui-base" ] }, // line 11, pos 60
#2: Trailing whitespace.
"array-invoke": { "requires": [ "yui-base" ] }, // line 12, pos 60
#3: Trailing whitespace.
"arraylist": { "requires": [ "yui-base" ] }, // line 13, pos 57
#4: Trailing whitespace.
}, // line 18, pos 15
yogi [warn] lint found a total of 11 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: color
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/color/js/color-base.js
/Users/derek/src/yui/yui3/src/color/js/color-harmony.js
/Users/derek/src/yui/yui3/src/color/js/color-hsl.js
/Users/derek/src/yui/yui3/src/color/js/color-hsv.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/color/js/color-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/color/js/color-harmony.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/color/js/color-hsl.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/color/js/color-hsv.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/color/meta/color.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [bail] not in a module directory, nothing to lint!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: console-filters
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/console-filters/js/console-filters.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/console-filters/js/console-filters.js contains 3 lint errors
#1: Line too long.
* <p>This plugin adds the ability to control which Console entries display by filtering on category and source. Two groups of checkboxes are added to the Console footer, one for categories and the other for sources. Only those messages that match a checked category or source are displayed.</p> // line 4, pos 296
#2: Trailing whitespace.
* @method _afterCacheLimitChange // line 320, pos 38
#3: Trailing whitespace.
/** // line 628, pos 8
yogi [warn] /Users/derek/src/yui/yui3/src/console-filters/meta/console-filters.json contains 2 lint errors
#1: Trailing whitespace.
"plugin", // line 4, pos 22
#2: Trailing whitespace.
], // line 6, pos 11
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: console
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/console/js/console.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/console/js/console.js contains 13 lint errors
#1: Trailing whitespace.
* // line 236, pos 7
#2: Trailing whitespace.
* // line 294, pos 7
#3: Trailing whitespace.
m.localTime = m.time.toLocaleTimeString ? // line 520, pos 56
#4: Trailing whitespace.
* // line 818, pos 7
#5: Trailing whitespace.
// _uiSizeCB // line 824, pos 21
#6: Trailing whitespace.
* // line 893, pos 7
#7: Trailing whitespace.
* // line 966, pos 7
#8: Line too long.
'<label class="{console_pause_label_class}"><input type="checkbox" class="{console_checkbox_class} {console_pause_class}" value="1" id="{id_guid}"> {str_pause}</label>' + // line 1184, pos 186
#9: Trailing whitespace.
* // line 1479, pos 11
#10: Trailing whitespace.
* 'inline', 'block', and 'separate' (the default). // line 1497, pos 61
#11: 'e' is defined but never used.
_onClearClick : function (e) { // line 708, pos 32
#12: 'e' is defined but never used.
_onCollapseClick : function (e) { // line 720, pos 35
#13: 'v' is defined but never used.
_uiSetHeight : function (v) { // line 803, pos 31
yogi [info] /Users/derek/src/yui/yui3/src/console/meta/console.json is OK
yogi [warn] lint found a total of 13 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: cookie
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/cookie/js/Cookie.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/cookie/js/Cookie.js contains 4 lint errors
#1: Too many var statements.
for (var i=0, len=hashParts.length; i < len; i++){ // line 143, pos 26
#2: Too many var statements.
var decodeValue = (shouldDecode === false ? function(s){return s;} : decode), // line 168, pos 21
#3: Too many var statements.
for (var i=0, len=cookieParts.length; i < len; i++){ // line 174, pos 26
#4: Too many var statements.
for (var key in subs){ // line 405, pos 30
yogi [info] /Users/derek/src/yui/yui3/src/cookie/meta/cookie.json is OK
yogi [warn] lint found a total of 4 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: cssbase
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: cssfonts
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: cssgrids
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: cssnormalize
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: cssreset
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: dataschema
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/dataschema/js/dataschema-array.js
/Users/derek/src/yui/yui3/src/dataschema/js/dataschema-base.js
/Users/derek/src/yui/yui3/src/dataschema/js/dataschema-json.js
/Users/derek/src/yui/yui3/src/dataschema/js/dataschema-text.js
/Users/derek/src/yui/yui3/src/dataschema/js/dataschema-xml.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/dataschema/js/dataschema-array.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/dataschema/js/dataschema-base.js contains 1 lint errors
#1: Trailing whitespace.
* Provides the base DataSchema implementation, which can be extended to // line 10, pos 73
yogi [warn] /Users/derek/src/yui/yui3/src/dataschema/js/dataschema-json.js contains 2 lint errors
#1: Unexpected use of '|'.
function (x,$1) {keys[i]=parseInt($1,10)|0;return '.@'+(i++);}). // line 56, pos 57
#2: Trailing whitespace.
If no value parsing is needed, you can use path locators (strings) // line 129, pos 71
yogi [info] /Users/derek/src/yui/yui3/src/dataschema/js/dataschema-text.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/dataschema/js/dataschema-xml.js contains 3 lint errors
#1: Trailing whitespace.
* // line 171, pos 7
#2: Line too long.
return xmldoc.evaluate(locator, context, xmldoc.createNSResolver(context.ownerDocument ? context.ownerDocument.documentElement : context.documentElement), 0, null); // line 183, pos 176
#3: Expected '!==' and instead saw '!='.
else if (l != i + 1) { // line 224, pos 32
yogi [warn] /Users/derek/src/yui/yui3/src/dataschema/meta/dataschema.json contains 5 lint errors
#1: Trailing whitespace.
}, // line 15, pos 15
#2: Trailing whitespace.
}, // line 20, pos 15
#3: Trailing whitespace.
"dataschema-base", // line 23, pos 39
#4: Trailing whitespace.
}, // line 26, pos 15
#5: Trailing whitespace.
}, // line 31, pos 15
yogi [warn] lint found a total of 11 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: datasource
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/datasource/js/datasource-arrayschema.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-cache.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-function.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-get.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-io.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-jsonschema.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-local.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-polling.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-textschema.js
/Users/derek/src/yui/yui3/src/datasource/js/datasource-xmlschema.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-arrayschema.js contains 3 lint errors
#1: Trailing whitespace.
*/ // line 12, pos 4
#2: Line too long.
var data = (Y.DataSource.IO && (this.get("host") instanceof Y.DataSource.IO) && Y.Lang.isString(e.data.responseText)) ? e.data.responseText : e.data, // line 81, pos 157
#3: 'config' is defined but never used.
initializer: function(config) { // line 62, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-cache.js contains 2 lint errors
#1: A constructor name should start with an uppercase letter.
tmpinstance = new tmpclass(config); // line 130, pos 27
#2: 'config' is defined but never used.
initializer: function(config) { // line 48, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-function.js contains 2 lint errors
#1: Trailing whitespace.
*/ // line 14, pos 4
#2: Trailing whitespace.
* @static // line 33, pos 15
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-get.js contains 2 lint errors
#1: Trailing whitespace.
*/ // line 13, pos 4
#2: Trailing whitespace.
* @static // line 130, pos 15
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-io.js contains 3 lint errors
#1: Trailing whitespace.
*/ // line 13, pos 4
#2: Trailing whitespace.
* @static // line 30, pos 15
#3: 'config' is defined but never used.
initializer: function(config) { // line 77, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-jsonschema.js contains 2 lint errors
#1: Trailing whitespace.
*/ // line 12, pos 4
#2: 'config' is defined but never used.
initializer: function(config) { // line 62, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-local.js contains 7 lint errors
#1: Trailing whitespace.
*/ // line 23, pos 4
#2: Trailing whitespace.
* @static // line 41, pos 15
#3: Trailing whitespace.
* @default null // line 58, pos 24
#4: Trailing whitespace.
* @private // line 118, pos 15
#5: Trailing whitespace.
* @private // line 127, pos 15
#6: Trailing whitespace.
* <dl> // line 135, pos 16
#7: 'config' is defined but never used.
initializer: function(config) { // line 120, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-polling.js contains 1 lint errors
#1: Trailing whitespace.
*/ // line 12, pos 4
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-textschema.js contains 2 lint errors
#1: Trailing whitespace.
*/ // line 12, pos 4
#2: 'config' is defined but never used.
initializer: function(config) { // line 62, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/js/datasource-xmlschema.js contains 2 lint errors
#1: Trailing whitespace.
*/ // line 12, pos 4
#2: 'config' is defined but never used.
initializer: function(config) { // line 62, pos 33
yogi [warn] /Users/derek/src/yui/yui3/src/datasource/meta/datasource.json contains 20 lint errors
#1: Trailing whitespace.
"datasource-local", // line 18, pos 40
#2: Trailing whitespace.
"plugin", // line 19, pos 30
#3: Trailing whitespace.
}, // line 22, pos 15
#4: Trailing whitespace.
"plugin", // line 26, pos 30
#5: Trailing whitespace.
}, // line 29, pos 15
#6: Trailing whitespace.
}, // line 34, pos 15
#7: Trailing whitespace.
"datasource-local", // line 37, pos 40
#8: Trailing whitespace.
}, // line 40, pos 15
#9: Trailing whitespace.
"datasource-local", // line 43, pos 40
#10: Trailing whitespace.
}, // line 46, pos 15
#11: Trailing whitespace.
"datasource-local", // line 49, pos 40
#12: Trailing whitespace.
"plugin", // line 50, pos 30
#13: Trailing whitespace.
}, // line 53, pos 15
#14: Trailing whitespace.
}, // line 58, pos 15
#15: Trailing whitespace.
}, // line 63, pos 15
#16: Trailing whitespace.
"datasource-local", // line 66, pos 40
#17: Trailing whitespace.
"plugin", // line 67, pos 30
#18: Trailing whitespace.
}, // line 70, pos 15
#19: Trailing whitespace.
"datasource-local", // line 73, pos 40
#20: Trailing whitespace.
"plugin", // line 74, pos 30
yogi [warn] lint found a total of 46 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: datatable
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/datatable/js/base.js
/Users/derek/src/yui/yui3/src/datatable/js/body.js
/Users/derek/src/yui/yui3/src/datatable/js/colwidths.js
/Users/derek/src/yui/yui3/src/datatable/js/core.js
/Users/derek/src/yui/yui3/src/datatable/js/datatable-datasource.js
/Users/derek/src/yui/yui3/src/datatable/js/foot.js
/Users/derek/src/yui/yui3/src/datatable/js/formatters.js
/Users/derek/src/yui/yui3/src/datatable/js/head.js
/Users/derek/src/yui/yui3/src/datatable/js/message.js
/Users/derek/src/yui/yui3/src/datatable/js/mutable.js
/Users/derek/src/yui/yui3/src/datatable/js/paginator-templates.js
/Users/derek/src/yui/yui3/src/datatable/js/paginator.js
/Users/derek/src/yui/yui3/src/datatable/js/scroll.js
/Users/derek/src/yui/yui3/src/datatable/js/sort.js
/Users/derek/src/yui/yui3/src/datatable/js/table.js
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [bail] not in a module directory, nothing to lint!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: date
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/date/js/date-format.js
/Users/derek/src/yui/yui3/src/date/js/date-math.js
/Users/derek/src/yui/yui3/src/date/js/date-parse.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/date/js/date-format.js contains 28 lint errors
#1: Trailing whitespace.
* The `datatype` module is an alias for three utilities, Y.Date, // line 2, pos 66
#2: Trailing whitespace.
pad = pad + ""; // line 55, pos 20
#3: Too many var statements.
var V = parseInt(Dt.formats.V(d), 10); // line 74, pos 21
#4: Too many var statements.
var W = parseInt(Dt.formats.W(d), 10); // line 75, pos 21
#5: Too many var statements.
var gmdate = new Date("" + d.getFullYear() + "/" + (d.getMonth()+1) + "/" + d.getDate() + " GMT"); // line 89, pos 21
#6: Too many var statements.
var ms = gmdate - gmd_1; // line 90, pos 21
#7: Too many var statements.
var doy = parseInt(ms/60000/60/24, 10)+1; // line 91, pos 21
#8: Too many var statements.
var rdow = 6-d.getDay(); // line 105, pos 21
#9: Too many var statements.
var woy = parseInt((doy+rdow)/7, 10); // line 106, pos 21
#10: Too many var statements.
var dow1_1 = (new Date("" + d.getFullYear() + "/1/1")).getDay(); // line 111, pos 21
#11: Trailing whitespace.
// We also need to subtract 1 if the day 1 of the year is // line 115, pos 74
#12: Too many var statements.
var idow = woy + (dow1_1 > 4 || dow1_1 <= 1 ? 0 : 1); // line 117, pos 21
#13: Too many var statements.
var rdow = 7-Dt.formats.u(d); // line 132, pos 21
#14: Too many var statements.
var woy = parseInt((doy+rdow)/7, 10); // line 133, pos 21
#15: Too many var statements.
var H = xPad(parseInt(Math.abs(o/60), 10), 0); // line 140, pos 21
#16: Too many var statements.
var M = xPad(Math.abs(o%60), 0); // line 141, pos 21
#17: Unescaped '-'.
var tz = d.toString().replace(/^.*:\d\d( GMT[+-]\d+)? \(?([A-Za-z ]+)\)?\d*$/, "$2").replace(/[a-z ]/g, ""); // line 145, pos 59
#18: Mixed spaces and tabs.
/** // line 169, pos 1
#19: Trailing whitespace.
* Any strftime string is supported, such as "%I:%M:%S %p". strftime has several format specifiers defined by the Open group at // line 180, pos 134
#20: Too many var statements.
var replace_aggs = function (m0, m1) { // line 255, pos 13
#21: Mixed spaces and tabs.
return resources[m1]; // line 257, pos 3
#22: Too many var statements.
var replace_formats = function (m0, m1) { // line 263, pos 13
#23: Expected a 'break' statement before 'default'.
} // no break; (fall through to default:) // line 273, pos 21
#24: Too many var statements.
var str = format.replace(/%([aAbBCdegGHIjklmMpPsSuUVwWyYzZ%])/g, replace_formats); // line 286, pos 13
#25: 'l' is defined but never used.
s: function (d, l) { return parseInt(d.getTime()/1000, 10); }, // line 100, pos 26
#26: 'd' is defined but never used.
"%": function (d) { return "%"; } // line 151, pos 25
#27: 'sLocale' is defined but never used.
var format, resources, compatMode, sLocale, LOCALE; // line 249, pos 51
#28: 'LOCALE' is defined but never used.
var format, resources, compatMode, sLocale, LOCALE; // line 249, pos 59
yogi [warn] /Users/derek/src/yui/yui3/src/date/js/date-math.js contains 38 lint errors
#1: Mixed spaces and tabs.
isValidDate : function (oDate) { // line 19, pos 1
#2: Expected '!==' and instead saw '!='.
if(LANG.isDate(oDate) && (isFinite(oDate)) && (oDate != "Invalid Date") && !isNaN(oDate) && (oDate != null)) { // line 20, pos 62
#3: Expected '!==' and instead saw '!='.
if(LANG.isDate(oDate) && (isFinite(oDate)) && (oDate != "Invalid Date") && !isNaN(oDate) && (oDate != null)) { // line 20, pos 108
#4: Trailing whitespace.
*/ // line 37, pos 8
#5: Trailing whitespace.
return (this.isValidDate(aDate) && this.isValidDate(bDate) && (aDate.getTime() == bDate.getTime())); // line 39, pos 109
#6: Expected '===' and instead saw '=='.
return (this.isValidDate(aDate) && this.isValidDate(bDate) && (aDate.getTime() == bDate.getTime())); // line 39, pos 88
#7: Trailing whitespace.
*/ // line 49, pos 8
#8: Mixed spaces and tabs.
return (this.isValidDate(aDate) && this.isValidDate(bDate) && (aDate.getTime() > bDate.getTime())); // line 51, pos 4
#9: Trailing whitespace.
* @return {Boolean} True if the first date is later than or // line 61, pos 65
#10: Trailing whitespace.
*/ // line 63, pos 8
#11: Mixed spaces and tabs.
return (this.isValidDate(aDate) && this.isValidDate(bDate) && (aDate.getTime() >= bDate.getTime())); // line 65, pos 4
#12: Trailing whitespace.
*/ // line 77, pos 8
#13: Mixed spaces and tabs.
return (this.isGreaterOrEqual(aDate, bDate) && this.isGreaterOrEqual(cDate, aDate)); // line 79, pos 4
#14: Trailing whitespace.
*/ // line 90, pos 8
#15: Trailing whitespace.
*/ // line 104, pos 8
#16: Trailing whitespace.
var newMonth = oDate.getMonth() + numMonths; // line 107, pos 53
#17: Too many var statements.
var newMonth = oDate.getMonth() + numMonths; // line 107, pos 13
#18: Too many var statements.
var newDate = new Date (oDate.getTime()); // line 112, pos 13
#19: Trailing whitespace.
*/ // line 127, pos 8
#20: Too many var statements.
var newDate = new Date(oDate.getTime()); // line 130, pos 13
#21: Trailing whitespace.
*/ // line 143, pos 8
#22: Mixed spaces and tabs.
return []; // line 146, pos 7
#23: Too many var statements.
for (var day = 1; day <= daysInMonth; day++) { // line 154, pos 17
#24: Mixed spaces and tabs.
output.push(new Date(year, month, day, 12, 0, 0)); // line 155, pos 7
#25: Trailing whitespace.
* @param oDate {Date} Date in the month for which the number // line 166, pos 66
#26: Trailing whitespace.
* @return {Number} A number (either 28, 29, 30 or 31) of days // line 168, pos 67
#27: Mixed spaces and tabs.
daysInMonth : function (oDate) { // line 171, pos 1
#28: Too many var statements.
var lengths = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // line 177, pos 13
#29: Expected '!==' and instead saw '!='.
if (mon != 1) { // line 179, pos 17
#30: Too many var statements.
var year = oDate.getFullYear(); // line 184, pos 17
#31: Mixed spaces and tabs.
return 29; // line 186, pos 3
#32: Trailing whitespace.
} // line 187, pos 14
#33: Mixed spaces and tabs.
return 28; // line 189, pos 4
#34: Mixed spaces and tabs.
return 29; // line 192, pos 3
#35: Mixed spaces and tabs.
return 28; // line 195, pos 3
#36: Mixed spaces and tabs.
} // line 196, pos 2
#37: Mixed spaces and tabs.
} // line 197, pos 1
#38: Trailing whitespace.
} // line 197, pos 9
yogi [info] /Users/derek/src/yui/yui3/src/date/js/date-parse.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/date/meta/date.json is OK
yogi [warn] lint found a total of 66 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: dd
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/dd/js/constrain.js
/Users/derek/src/yui/yui3/src/dd/js/dd-drop-plugin.js
/Users/derek/src/yui/yui3/src/dd/js/dd-plugin.js
/Users/derek/src/yui/yui3/src/dd/js/ddm-base.js
/Users/derek/src/yui/yui3/src/dd/js/ddm-drop.js
/Users/derek/src/yui/yui3/src/dd/js/ddm.js
/Users/derek/src/yui/yui3/src/dd/js/delegate.js
/Users/derek/src/yui/yui3/src/dd/js/drag-gestures.js
/Users/derek/src/yui/yui3/src/dd/js/drag.js
/Users/derek/src/yui/yui3/src/dd/js/drop.js
/Users/derek/src/yui/yui3/src/dd/js/proxy.js
/Users/derek/src/yui/yui3/src/dd/js/scroll.js
yogi [info] lint complete
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: dom
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/dom/js/dom-attrs.js
/Users/derek/src/yui/yui3/src/dom/js/dom-base.js
/Users/derek/src/yui/yui3/src/dom/js/dom-class.js
/Users/derek/src/yui/yui3/src/dom/js/dom-core.js
/Users/derek/src/yui/yui3/src/dom/js/dom-create.js
/Users/derek/src/yui/yui3/src/dom/js/dom-region.js
/Users/derek/src/yui/yui3/src/dom/js/dom-screen.js
/Users/derek/src/yui/yui3/src/dom/js/dom-size.js
/Users/derek/src/yui/yui3/src/dom/js/dom-style-ie.js
/Users/derek/src/yui/yui3/src/dom/js/dom-style.js
/Users/derek/src/yui/yui3/src/dom/js/selector-css2.js
/Users/derek/src/yui/yui3/src/dom/js/selector-css3.js
/Users/derek/src/yui/yui3/src/dom/js/selector-native.js
/Users/derek/src/yui/yui3/src/dom/js/selector.js
yogi [info] tweaking meta test js file for lint
yogi [info] tweaking meta test js file for lint
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: dump
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/dump/js/dump.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/dump/js/dump.js contains 4 lint errors
#1: Expected '===' and instead saw '=='.
} else if (type == 'date') { // line 38, pos 25
#2: Expected '===' and instead saw '=='.
} else if (type == 'function') { // line 46, pos 25
#3: Expected '===' and instead saw '=='.
if (type == 'array') { // line 54, pos 18
#4: Expected '===' and instead saw '=='.
} else if (type == 'regexp') { // line 69, pos 25
yogi [info] /Users/derek/src/yui/yui3/src/dump/meta/dump.json is OK
yogi [warn] lint found a total of 4 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: editor
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/editor/js/createlink-base.js
/Users/derek/src/yui/yui3/src/editor/js/editor-base.js
/Users/derek/src/yui/yui3/src/editor/js/editor-bidi.js
/Users/derek/src/yui/yui3/src/editor/js/editor-br.js
/Users/derek/src/yui/yui3/src/editor/js/editor-para-base.js
/Users/derek/src/yui/yui3/src/editor/js/editor-para-ie.js
/Users/derek/src/yui/yui3/src/editor/js/editor-para.js
/Users/derek/src/yui/yui3/src/editor/js/editor-selection.js
/Users/derek/src/yui/yui3/src/editor/js/editor-tab.js
/Users/derek/src/yui/yui3/src/editor/js/exec-command.js
/Users/derek/src/yui/yui3/src/editor/js/frame.js
/Users/derek/src/yui/yui3/src/editor/js/lists.js
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: escape
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/escape/js/escape.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/escape/js/escape.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/escape/meta/escape.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: event
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/event/js/available.js
/Users/derek/src/yui/yui3/src/event/js/contextmenu.js
/Users/derek/src/yui/yui3/src/event/js/delegate.js
/Users/derek/src/yui/yui3/src/event/js/event-dom.js
/Users/derek/src/yui/yui3/src/event/js/event-facade-dom-ie.js
/Users/derek/src/yui/yui3/src/event/js/event-facade-dom-touch.js
/Users/derek/src/yui/yui3/src/event/js/event-facade-dom.js
/Users/derek/src/yui/yui3/src/event/js/event-ready-base-ie.js
/Users/derek/src/yui/yui3/src/event/js/event-ready-base.js
/Users/derek/src/yui/yui3/src/event/js/event-ready.js
/Users/derek/src/yui/yui3/src/event/js/focusblur.js
/Users/derek/src/yui/yui3/src/event/js/hover.js
/Users/derek/src/yui/yui3/src/event/js/key.js
/Users/derek/src/yui/yui3/src/event/js/mouseentermouseleave.js
/Users/derek/src/yui/yui3/src/event/js/mousewheel.js
/Users/derek/src/yui/yui3/src/event/js/outside.js
/Users/derek/src/yui/yui3/src/event/js/resize-window.js
/Users/derek/src/yui/yui3/src/event/js/synthetic.js
/Users/derek/src/yui/yui3/src/event/js/tap.js
yogi [info] tweaking meta test js file for lint
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/event/js/available.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/contextmenu.js contains 3 lint errors
#1: Expected '===' and instead saw '=='.
shiftF10 = (shiftKey && keyCode == 121), // line 70, pos 53
#2: Expected '===' and instead saw '=='.
menuKey = (isWin && keyCode == 93), // line 71, pos 49
#3: 'notifier' is defined but never used.
detach: function (node, subscription, notifier) { // line 172, pos 55
yogi [info] /Users/derek/src/yui/yui3/src/event/js/delegate.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/event-dom.js contains 18 lint errors
#1: Expected '===' and instead saw '=='.
if (el == win && type == "load") { // line 355, pos 24
#2: Expected '===' and instead saw '=='.
if (el == win && type == "load") { // line 355, pos 39
#3: Expected '===' and instead saw '=='.
if (el == win && type == "load") { // line 471, pos 20
#4: Expected '===' and instead saw '=='.
if (el == win && type == "load") { // line 471, pos 35
#5: Expected '===' and instead saw '=='.
if (typeof el == "string") { // line 531, pos 27
#6: Expected '===' and instead saw '=='.
} else if (l == 1) { // line 541, pos 34
#7: Expected '===' and instead saw '=='.
if (v.type == 'unload') { // line 885, pos 28
#8: Wrap an immediate function invocation in parentheses to assist the reader in understanding that the expression is the result of a function, and not the function itself.
}(); // line 920, pos 3
#9: 's' is defined but never used.
_deleteAndClean = function(s) { // line 58, pos 33
#10: 'context' is defined but never used.
attach: function(type, fn, el, context) { // line 306, pos 47
#11: 'el' is defined but never used.
attach: function(type, fn, el, context) { // line 306, pos 38
#12: 'fn' is defined but never used.
attach: function(type, fn, el, context) { // line 306, pos 34
#13: 'type' is defined but never used.
attach: function(type, fn, el, context) { // line 306, pos 30
#14: 'k' is defined but never used.
Y.each(el, function(v, k) { // line 400, pos 41
#15: 'obj' is defined but never used.
detach: function(type, fn, el, obj) { // line 516, pos 43
#16: 'e' is defined but never used.
_load: function(e) { // line 633, pos 26
#17: 'k' is defined but never used.
Y.each(evts, function(v, k) { // line 868, pos 43
#18: 'k' is defined but never used.
Y.each(_wrappers, function(v, k) { // line 884, pos 44
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/event-facade-dom-ie.js contains 2 lint errors
#1: Expected '===' and instead saw '=='.
if (e.type == "mouseout") { // line 78, pos 24
#2: Expected '===' and instead saw '=='.
} else if (e.type == "mouseover") { // line 80, pos 31
yogi [info] /Users/derek/src/yui/yui3/src/event/js/event-facade-dom-touch.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/event-facade-dom.js contains 3 lint errors
#1: Expected '===' and instead saw '=='.
if (n && 3 == n.nodeType) { // line 61, pos 24
#2: Expected '===' and instead saw '=='.
if (e.type == "mousewheel" || e.type == "DOMMouseScroll") { // line 132, pos 20
#3: Expected '===' and instead saw '=='.
if (e.type == "mousewheel" || e.type == "DOMMouseScroll") { // line 132, pos 46
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/event-ready-base-ie.js contains 1 lint errors
#1: Expected '===' and instead saw '=='.
if (doc.readyState == 'complete') { // line 22, pos 32
yogi [info] /Users/derek/src/yui/yui3/src/event/js/event-ready-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/event/js/event-ready.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/focusblur.js contains 1 lint errors
#1: 'container' is defined but never used.
_notify: function (e, container) { // line 111, pos 40
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/hover.js contains 1 lint errors
#1: 'notifier' is defined but never used.
detach: function (node, sub, notifier) { // line 57, pos 46
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/key.js contains 2 lint errors
#1: Expected '===' and instead saw '=='.
if (+chr == chr) { // line 54, pos 30
#2: 'notifier' is defined but never used.
detach: function (node, sub, notifier) { // line 123, pos 46
yogi [info] /Users/derek/src/yui/yui3/src/event/js/mouseentermouseleave.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/event/js/mousewheel.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/outside.js contains 1 lint errors
#1: 'notifier' is defined but never used.
detach: function (node, sub, notifier) { // line 76, pos 46
yogi [info] /Users/derek/src/yui/yui3/src/event/js/resize-window.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/event/js/synthetic.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/event/js/tap.js contains 5 lint errors
#1: 'context' is defined but never used.
function detachHelper(subscription, handles, subset, context) { // line 40, pos 61
#2: 'array' is defined but never used.
Y.Array.each(handles, function (item, index, array) { // line 44, pos 55
#3: 'index' is defined but never used.
Y.Array.each(handles, function (item, index, array) { // line 44, pos 48
#4: 'notifier' is defined but never used.
detach: function (node, subscription, notifier) { // line 98, pos 51
#5: 'notifier' is defined but never used.
detachDelegate: function (node, subscription, notifier) { // line 138, pos 59
yogi [warn] /Users/derek/src/yui/yui3/src/event/meta/event.json contains 1 lint errors
#1: Trailing whitespace.
} // line 88, pos 14
yogi [info] /Users/derek/src/yui/yui3/src/event/meta/ie-base-test.js is OK
yogi [warn] lint found a total of 38 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: file
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/file/js/file-flash.js
/Users/derek/src/yui/yui3/src/file/js/file-html5.js
/Users/derek/src/yui/yui3/src/file/js/file.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/file/js/file-flash.js contains 17 lint errors
#1: Trailing whitespace.
* The FileFlash class provides a wrapper for a file pointer stored in Flash. The File wrapper // line 2, pos 99
#2: Trailing whitespace.
*/ // line 5, pos 8
#3: Trailing whitespace.
FileFlash.superclass.constructor.apply(this, arguments); // line 15, pos 65
#4: Trailing whitespace.
*/ // line 38, pos 11
#5: Trailing whitespace.
* Signals that this file's upload has started. // line 43, pos 60
#6: Trailing whitespace.
* Signals that progress has been made on the upload of this file. // line 59, pos 85
#7: Trailing whitespace.
bytesLoaded: event.bytesLoaded, // line 76, pos 78
#8: Trailing whitespace.
bytesTotal: event.bytesTotal, // line 77, pos 76
#9: Trailing whitespace.
* Signals that this file's upload has completed, but data has not yet been received from the server. // line 85, pos 120
#10: Trailing whitespace.
data: event.data}); // line 112, pos 66
#11: Trailing whitespace.
* Signals that this file's upload has been cancelled. // line 117, pos 71
#12: Trailing whitespace.
* Signals that this file's upload has encountered an error. // line 132, pos 77
#13: Trailing whitespace.
* <dd>Either "http" (if it's an HTTP error), or "io" (if it's a network transmission // line 146, pos 111
#14: Trailing whitespace.
this.fire("uploaderror", {originEvent: event, status: event.status, statusText: event.message, source: event.source}); // line 150, pos 136
#15: Trailing whitespace.
*/ // line 190, pos 11
#16: 'o' is defined but never used.
var FileFlash = function(o) { // line 14, pos 31
#17: 'cfg' is defined but never used.
initializer : function (cfg) { // line 26, pos 36
yogi [warn] /Users/derek/src/yui/yui3/src/file/js/file-html5.js contains 22 lint errors
#1: Trailing whitespace.
* The FileHTML5 class provides a wrapper for a file pointer in an HTML5 The File wrapper // line 2, pos 94
#2: Trailing whitespace.
*/ // line 5, pos 8
#3: Trailing whitespace.
FileHTML5.superclass.constructor.apply(this, arguments); // line 32, pos 65
#4: Expected '!==' and instead saw '!='.
if (this.get("size") != (file.size || file.fileSize)) { // line 43, pos 33
#5: Trailing whitespace.
*/ // line 78, pos 11
#6: Trailing whitespace.
* Signals that progress has been made on the upload of this file. // line 85, pos 85
#7: Trailing whitespace.
bytesLoaded: event.loaded, // line 102, pos 74
#8: Trailing whitespace.
bytesTotal: this.get("size"), // line 103, pos 77
#9: Too many var statements.
var xhrupload = xhr.upload, // line 127, pos 29
#10: Trailing whitespace.
xhr.removeEventListener ("load", boundEventHandler); // line 133, pos 77
#11: Trailing whitespace.
} // line 144, pos 21
#12: Trailing whitespace.
* Signals that this file's upload has encountered an error. // line 149, pos 79
#13: Trailing whitespace.
* <dd>Either "http" (if it's an HTTP error), or "io" (if it's a network transmission // line 163, pos 113
#14: Trailing whitespace.
* Signals that this file's upload has been cancelled. // line 177, pos 73
#15: Trailing whitespace.
* Signals that XMLHttpRequest has fired a readystatechange event. // line 193, pos 85
#16: Missing 'new' prefix when invoking a constructor.
this._set("boundEventHandler", Bind(this._uploadEventHandler, this)); // line 224, pos 44
#17: Trailing whitespace.
xhr.addEventListener ("loadend", boundEventHandler, false); // line 245, pos 72
#18: Trailing whitespace.
* Signals that this file's upload has started. // line 259, pos 60
#19: Trailing whitespace.
*/ // line 277, pos 11
#20: Trailing whitespace.
* This does not affect same-site requests. // line 445, pos 51
#21: 'Lang' is defined but never used.
var Lang = Y.Lang, // line 14, pos 13
#22: 'cfg' is defined but never used.
initializer : function (cfg) { // line 66, pos 36
yogi [warn] /Users/derek/src/yui/yui3/src/file/js/file.js contains 3 lint errors
#1: Trailing whitespace.
* The File class provides a wrapper for a file pointer, either through an HTML5 // line 2, pos 85
#2: Trailing whitespace.
* implementation or as a reference to a file pointer stored in Flash. The File wrapper // line 3, pos 92
#3: Trailing whitespace.
*/ // line 8, pos 8
yogi [warn] /Users/derek/src/yui/yui3/src/file/meta/file-flash.json contains 1 lint errors
#1: Trailing whitespace.
] // line 5, pos 10
yogi [warn] /Users/derek/src/yui/yui3/src/file/meta/file-html5.json contains 1 lint errors
#1: Trailing whitespace.
] // line 5, pos 10
yogi [warn] /Users/derek/src/yui/yui3/src/file/meta/file.json contains 1 lint errors
#1: Trailing whitespace.
] // line 6, pos 10
yogi [warn] lint found a total of 45 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: gesture-simulate
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/gesture-simulate/js/gesture-simulate.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/gesture-simulate/js/gesture-simulate.js contains 220 lint errors
#1: Line too long.
// phantomjs check may be temporary, until we determine if it really support touch all the way through, like it claims to (http://code.google.com/p/phantomjs/issues/detail?id=375) // line 10, pos 183
#2: Redefinition of 'document'.
document = Y.config.doc, // line 30, pos 5
#3: Trailing whitespace.
* // line 99, pos 7
#4: Trailing whitespace.
* @return {Number} The degree in radian. // line 103, pos 46
#5: Trailing whitespace.
* Helper method to get height/width while accounting for // line 110, pos 62
#6: Trailing whitespace.
* rotation/scale transforms where possible by using the // line 111, pos 61
#7: Trailing whitespace.
* bounding client rectangle height/width instead of the // line 112, pos 61
#8: Trailing whitespace.
* Helper method to convert a point relative to the node element into // line 150, pos 74
#9: Trailing whitespace.
* // line 152, pos 7
#10: Trailing whitespace.
* @return {Array} The same point in the page coordination. // line 156, pos 64
#11: Expected '===' and instead saw '=='.
if(point.length == 1) { // line 165, pos 29
#12: Trailing whitespace.
* The "rotate" and "pinch" methods are essencially same with the exact same // line 178, pos 81
#13: Trailing whitespace.
* arguments. Only difference is the required parameters. The rotate method // line 179, pos 80
#14: Trailing whitespace.
* requires "rotation" parameter while the pinch method requires "startRadius" // line 180, pos 83
#15: Trailing whitespace.
* @param {Function} cb The callback to execute when the gesture simulation // line 184, pos 80
#16: Trailing whitespace.
* should happen. It is relative to the top left corner of the target // line 187, pos 79
#17: Trailing whitespace.
* @param {Number} startRadius A radius of start circle where 2 fingers are // line 189, pos 80
#18: Trailing whitespace.
* on when the gesture starts. This is optional. The default is a fourth of // line 190, pos 85
#19: Trailing whitespace.
* the pinch or spread gestures are completed. This is optional. // line 193, pos 74
#20: Trailing whitespace.
* @param {Number} start A start angle(0 degree at 12 o'clock) where the // line 196, pos 77
#21: Trailing whitespace.
* gesture should start. Default is 0. // line 197, pos 48
#22: Trailing whitespace.
radius = (this.target.offsetWidth < this.target.offsetHeight)? // line 206, pos 75
#23: Trailing whitespace.
* The "rotate" and "pinch" methods are essencially same with the exact same // line 221, pos 81
#24: Trailing whitespace.
* arguments. Only difference is the required parameters. The rotate method // line 222, pos 80
#25: Trailing whitespace.
* requires "rotation" parameter while the pinch method requires "startRadius" // line 223, pos 83
#26: Trailing whitespace.
* The "pinch" gesture can simulate various 2 finger gestures such as pinch, // line 226, pos 81
#27: Trailing whitespace.
* If endRadius is larger than startRadius, it becomes a spread gesture // line 228, pos 76
#28: Trailing whitespace.
* otherwise a pinch gesture. // line 229, pos 34
#29: Trailing whitespace.
* @param {Function} cb The callback to execute when the gesture simulation // line 232, pos 80
#30: Trailing whitespace.
* should happen. It is relative to the top left corner of the target // line 235, pos 79
#31: Trailing whitespace.
* @param {Number} startRadius A radius of start circle where 2 fingers are // line 237, pos 80
#32: Trailing whitespace.
* @param {Number} start A start angle(0 degree at 12 o'clock) where the // line 242, pos 77
#33: Trailing whitespace.
* gesture should start. Default is 0. // line 243, pos 48
#34: Trailing whitespace.
* @param {Number} rotation If rotation is desired during the pinch or // line 244, pos 75
#35: Trailing whitespace.
* spread gestures, this parameter can be used. Default is 0 degree. // line 245, pos 78
#36: Trailing whitespace.
path1 = {start: [], end: []}, // paths for 1st and 2nd fingers. // line 259, pos 76
#37: Trailing whitespace.
centerX + r1*Math.sin(this._toRadian(startRot)), // line 299, pos 61
#38: Trailing whitespace.
centerX + r2*Math.sin(this._toRadian(endRot)), // line 303, pos 59
#39: Trailing whitespace.
centerX - r1*Math.sin(this._toRadian(startRot)), // line 309, pos 61
#40: Trailing whitespace.
centerX - r2*Math.sin(this._toRadian(endRot)), // line 313, pos 59
#41: Trailing whitespace.
pageX: path1.start[0], // line 327, pos 43
#42: Trailing whitespace.
clientX: path1.start[0], // line 329, pos 45
#43: Trailing whitespace.
pageX: path2.start[0], // line 333, pos 43
#44: Trailing whitespace.
clientX: path2.start[0], // line 335, pos 45
#45: Trailing whitespace.
identifier: (id++) // line 339, pos 39
#46: Trailing whitespace.
// coordinate for each touch object. // line 391, pos 49
#47: Trailing whitespace.
identifier: (id++) // line 405, pos 35
#48: Trailing whitespace.
pageX: path1.end[0], // line 450, pos 41
#49: Trailing whitespace.
clientX: path1.end[0], // line 452, pos 43
#50: Trailing whitespace.
pageX: path2.end[0], // line 456, pos 41
#51: Trailing whitespace.
clientX: path2.end[0], // line 458, pos 43
#52: Trailing whitespace.
identifier: (id++) // line 462, pos 39
#53: Trailing whitespace.
}; // line 473, pos 19
#54: Trailing whitespace.
// by default, the callback runs the node context where // line 497, pos 72
#55: Trailing whitespace.
//args: // line 502, pos 24
#56: Trailing whitespace.
* The "tap" gesture can be used for various single touch point gestures // line 510, pos 77
#57: Trailing whitespace.
* such as single tap, N number of taps, long press. The default is a single // line 511, pos 81
#58: Trailing whitespace.
* // line 513, pos 7
#59: Trailing whitespace.
* @param {Function} cb The callback to execute when the gesture simulation // line 515, pos 80
#60: Trailing whitespace.
* @param {Array} point A point(relative to the top left corner of the // line 517, pos 75
#61: Trailing whitespace.
* target node element) where the tap gesture should start. The default // line 518, pos 81
#62: Trailing whitespace.
tap: function(cb, point, times, hold, delay) { // line 526, pos 51
#63: Trailing whitespace.
pageX: point[0], // line 550, pos 29
#64: Trailing whitespace.
clientX: point[0], // line 552, pos 31
#65: Trailing whitespace.
// by default, the callback runs the node context where // line 601, pos 72
#66: Trailing whitespace.
//args: // line 606, pos 24
#67: Trailing whitespace.
* The "flick" gesture is a specialized "move" that has some velocity // line 614, pos 74
#68: Trailing whitespace.
* with "distance" and "duration" arguments. If the calculated velocity is // line 616, pos 79
#69: Trailing whitespace.
* below than the minimum velocity, the given duration will be ignored and // line 617, pos 79
#70: Trailing whitespace.
* // line 619, pos 7
#71: Trailing whitespace.
* @param {Function} cb The callback to execute when the gesture simulation // line 621, pos 80
#72: Trailing whitespace.
* @param {Array} point A point(relative to the top left corner of the // line 623, pos 75
#73: Trailing whitespace.
* target node element) where the flick gesture should start. The default // line 624, pos 83
#74: Trailing whitespace.
* // line 629, pos 7
#75: Trailing whitespace.
if(!Y.Lang.isNumber(distance)) { // line 645, pos 41
#76: Trailing whitespace.
distance = DEFAULTS.DISTANCE_FLICK; // line 646, pos 48
#77: Trailing whitespace.
* Adjust duration if the calculated velocity is less than // line 659, pos 67
#78: Trailing whitespace.
* The "move" gesture simulate the movement of any direction between // line 678, pos 73
#79: Trailing whitespace.
* top left corner of the target node element) while "xdist" and "ydist" // line 682, pos 77
#80: Trailing whitespace.
* properties are used for the distance along the x and y axis. A negative // line 683, pos 79
#81: Trailing whitespace.
* distance number can be used to drag either left or up direction. // line 684, pos 72
#82: Trailing whitespace.
* // line 685, pos 7
#83: Trailing whitespace.
* is moving 200 pixels from the center of the element to the positive X-axis // line 687, pos 82
#84: Trailing whitespace.
* // line 689, pos 7
#85: Trailing whitespace.
* @param {Function} cb The callback to execute when the gesture simulation // line 691, pos 80
#86: Trailing whitespace.
* the path with start/end properties and duration to generate a set of // line 740, pos 76
#87: Trailing whitespace.
* touch events for the movement gesture. // line 741, pos 46
#88: Trailing whitespace.
* @param {Function} cb The callback to execute when the gesture simulation // line 745, pos 80
#89: Trailing whitespace.
* @param {Object} path An object with "start" and "end" properties. Each // line 747, pos 78
#90: Trailing whitespace.
* @param {Number} duration A duration of the gesture in millisecond. // line 749, pos 74
#91: Trailing whitespace.
START_PAGEX, // line 770, pos 33
#92: Trailing whitespace.
], // line 772, pos 19
#93: Trailing whitespace.
START_PAGEX + DEFAULTS.DISTANCE_MOVE, // line 774, pos 58
#94: Trailing whitespace.
START_PAGEX, // line 781, pos 33
#95: Trailing whitespace.
START_PAGEX + DEFAULTS.DISTANCE_MOVE, // line 787, pos 58
#96: Trailing whitespace.
pageX: path.start[0], // line 800, pos 46
#97: Trailing whitespace.
clientX: path.start[0], // line 802, pos 48
#98: Trailing whitespace.
}, // line 804, pos 23
#99: Trailing whitespace.
py = path.start[1]+(stepY * step), // line 826, pos 51
#100: Trailing whitespace.
pageX: px, // line 828, pos 31
#101: Trailing whitespace.
}, // line 832, pos 19
#102: Trailing whitespace.
pageX: path.end[0], // line 856, pos 44
#103: Trailing whitespace.
clientX: path.end[0], // line 858, pos 46
#104: Trailing whitespace.
pageX: path.end[0], // line 879, pos 40
#105: Trailing whitespace.
clientX: path.end[0], // line 881, pos 42
#106: Trailing whitespace.
// by default, the callback runs the node context where // line 902, pos 72
#107: Trailing whitespace.
//args: // line 907, pos 24
#108: Trailing whitespace.
* // line 916, pos 7
#109: Trailing whitespace.
* // line 932, pos 7
#110: Trailing whitespace.
* @param {Array} touchPoints // line 935, pos 34
#111: Trailing whitespace.
* a TouchList object will be returned otherwise a fake Array object // line 937, pos 78
#112: Trailing whitespace.
touches.push(document.createTouch(Y.config.win, // line 960, pos 68
#113: Trailing whitespace.
point.identifier, // line 962, pos 42
#114: Trailing whitespace.
point.pageX, point.pageY, // line 963, pos 50
#115: Trailing whitespace.
} else if(Y.UA.ios && Y.UA.ios < 2.0) { // line 968, pos 52
#116: Trailing whitespace.
// this will inclide android(Y.UA.android && Y.UA.android < 4.0) // line 971, pos 81
#117: Trailing whitespace.
// and desktops among all others. // line 972, pos 50
#118: Trailing whitespace.
* Touch APIs are broken in androids older than 4.0. We will use // line 975, pos 81
#119: Trailing whitespace.
* simulated touch apis for these versions. // line 976, pos 60
#120: Trailing whitespace.
* @param {String} type The type of event or name of the supported gesture to simulate // line 1015, pos 91
#121: Trailing whitespace.
* @param {Object} options (Optional) Extra options to copy onto the event object. // line 1017, pos 87
#122: Expected '===' and instead saw '=='.
if(type == MOUSE_UP) { // line 1052, pos 29
#123: Trailing whitespace.
return (touches && (touches.length <= 1)) && // line 1074, pos 53
#124: Trailing whitespace.
* Various simulation default behavior properties. If user override // line 1086, pos 68
#125: Trailing whitespace.
* Y.GestureSimulation.defaults, overriden values will be used and this // line 1087, pos 72
#126: Trailing whitespace.
* should be done before the gesture simulation. // line 1088, pos 49
#127: Trailing whitespace.
* Simulates the higher user level gesture of the given name on a target. // line 1098, pos 74
#128: Trailing whitespace.
* This method generates a set of low level touch events(Apple specific gesture // line 1099, pos 80
#129: Trailing whitespace.
* events as well for the iOS platforms) asynchronously. Note that gesture // line 1100, pos 75
#130: Trailing whitespace.
* simulation is relying on `Y.Event.simulate()` method to generate // line 1101, pos 68
#131: Trailing whitespace.
* // line 1104, pos 3
#132: Trailing whitespace.
* Users are suggested to use `Node.simulateGesture()` method which // line 1105, pos 68
#133: Trailing whitespace.
* basically calls this method internally. Supported gestures are `tap`, // line 1106, pos 73
#134: Trailing whitespace.
* // line 1108, pos 3
#135: Trailing whitespace.
* requires `start` and `end` option properties while `rotate` requires `rotation` // line 1113, pos 83
#136: Trailing whitespace.
* // line 1115, pos 3
#137: Trailing whitespace.
* circle. Pinching and spreading can be described by start and end circles while // line 1117, pos 82
#138: Trailing whitespace.
* rotation occurs on a single circle. If the radius of the start circle is greater // line 1118, pos 84
#139: Trailing whitespace.
* // line 1120, pos 3
#140: Trailing whitespace.
* // line 1124, pos 3
#141: Trailing whitespace.
* // line 1129, pos 3
#142: Trailing whitespace.
* // line 1138, pos 3
#143: Trailing whitespace.
* // simulate rotating a node 75 degrees counter-clockwise // line 1139, pos 64
#144: Trailing whitespace.
* // simulate a pinch and a rotation at the same time. // line 1144, pos 60
#145: Trailing whitespace.
* // fingers end on a circle of radius 50px, placed at right/left // line 1146, pos 71
#146: Trailing whitespace.
* // line 1153, pos 3
#147: Trailing whitespace.
* @param {HTMLElement|Node} node The YUI node or HTML element that's the target // line 1155, pos 81
#148: Trailing whitespace.
* @param {String} name The name of the supported gesture to simulate. The // line 1157, pos 75
#149: Trailing whitespace.
* supported gesture name is one of "tap", "doubletap", "press", "move", // line 1158, pos 78
#150: Trailing whitespace.
* "flick", "pinch" and "rotate". // line 1159, pos 39
#151: Trailing whitespace.
* // line 1161, pos 3
#152: Trailing whitespace.
* // line 1163, pos 3
#153: Trailing whitespace.
* @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates // line 1164, pos 82
#154: Trailing whitespace.
* where the tap should be simulated. Default is the center of the node // line 1165, pos 79
#155: Trailing whitespace.
* @param {Number} [options.hold=10] (Optional) The hold time in milliseconds. // line 1167, pos 84
#156: Trailing whitespace.
* @param {Number} [options.delay=10] (Optional) The number of milliseconds // line 1170, pos 81
#157: Trailing whitespace.
* before the next tap simulation happens. This is valid only when `times` // line 1171, pos 82
#158: Trailing whitespace.
* is more than 1. // line 1172, pos 26
#159: Trailing whitespace.
* // line 1173, pos 3
#160: Trailing whitespace.
* // line 1175, pos 3
#161: Trailing whitespace.
* @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates // line 1176, pos 82
#162: Trailing whitespace.
* where the doubletap should be simulated. Default is the center of the // line 1177, pos 80
#163: Trailing whitespace.
* // line 1179, pos 3
#164: Trailing whitespace.
* // line 1181, pos 3
#165: Trailing whitespace.
* @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates // line 1182, pos 82
#166: Trailing whitespace.
* where the press should be simulated. Default is the center of the node // line 1183, pos 81
#167: Trailing whitespace.
* @param {Number} [options.hold=3000] (Optional) The hold time in milliseconds. // line 1185, pos 86
#168: Trailing whitespace.
* This is the time between `touchstart` and `touchend` event generation. // line 1186, pos 81
#169: Trailing whitespace.
* // line 1188, pos 3
#170: Trailing whitespace.
* // line 1190, pos 3
#171: Trailing whitespace.
* @param {Object} [options.path] (Optional) Indicates the path of the finger // line 1191, pos 83
#172: Trailing whitespace.
* movement. It's an object with three optional properties: `point`, // line 1192, pos 76
#173: Trailing whitespace.
* @param {Number} [options.path.xdist=200] A distance to move in pixels // line 1196, pos 80
#174: Trailing whitespace.
* @param {Number} [options.path.ydist=0] A distance to move in pixels // line 1198, pos 78
#175: Trailing whitespace.
* @param {Number} [options.duration=1000] (Optional) The duration of the // line 1200, pos 79
#176: Trailing whitespace.
* // line 1202, pos 3
#177: Trailing whitespace.
* // line 1204, pos 3
#178: Trailing whitespace.
* @param {Array} [options.point] (Optional) Indicates the [x, y] coordinates // line 1205, pos 83
#179: Trailing whitespace.
* where the flick should be simulated. Default is the center of the // line 1206, pos 76
#180: Trailing whitespace.
* @param {String} [options.axis='x'] (Optional) Valid values are either // line 1208, pos 78
#181: Trailing whitespace.
* "x" or "y". Indicates axis to move along. The flick can move to one of // line 1209, pos 81
#182: Trailing whitespace.
* @param {Number} [options.duration=1000] (Optional) The duration of the // line 1212, pos 79
#183: Trailing whitespace.
* gesture in milliseconds. User given value could be automatically // line 1213, pos 75
#184: Trailing whitespace.
* adjusted by the framework if it is below the minimum velocity to be // line 1214, pos 78
#185: Trailing whitespace.
* // line 1216, pos 3
#186: Trailing whitespace.
* // line 1218, pos 3
#187: Trailing whitespace.
* @param {Array} [options.center] (Optional) The center of the circle where // line 1219, pos 82
#188: Trailing whitespace.
* @param {Number} [options.r1] (Required) Pixel radius of the start circle // line 1221, pos 81
#189: Trailing whitespace.
* where 2 fingers will be on when the gesture starts. The circles are // line 1222, pos 78
#190: Trailing whitespace.
* @param {Number} [options.r2] (Required) Pixel radius of the end circle // line 1224, pos 79
#191: Trailing whitespace.
* @param {Number} [options.duration=1000] (Optional) The duration of the // line 1226, pos 79
#192: Trailing whitespace.
* @param {Number} [options.start=0] (Optional) Starting degree of the first // line 1228, pos 82
#193: Trailing whitespace.
* finger. The value is relative to the path of the north. Default is 0 // line 1229, pos 79
#194: Trailing whitespace.
* @param {Number} [options.rotation=0] (Optional) Degrees to rotate from // line 1231, pos 79
#195: Trailing whitespace.
* the starting degree. A negative value means rotation to the // line 1232, pos 70
#196: Trailing whitespace.
* // line 1234, pos 3
#197: Trailing whitespace.
* // line 1236, pos 3
#198: Trailing whitespace.
* @param {Array} [options.center] (Optional) The center of the circle where // line 1237, pos 82
#199: Trailing whitespace.
* @param {Number} [options.r1] (Optional) Pixel radius of the start circle // line 1239, pos 81
#200: Trailing whitespace.
* where 2 fingers will be on when the gesture starts. The circles are // line 1240, pos 78
#201: Trailing whitespace.
* centered at the center of the element. Default is a fourth of the node // line 1241, pos 81
#202: Trailing whitespace.
* @param {Number} [options.r2] (Optional) Pixel radius of the end circle // line 1243, pos 79
#203: Trailing whitespace.
* when this gesture ends. Default is a fourth of the node element width or // line 1244, pos 83
#204: Trailing whitespace.
* @param {Number} [options.duration=1000] (Optional) The duration of the // line 1246, pos 79
#205: Trailing whitespace.
* @param {Number} [options.start=0] (Optional) Starting degree of the first // line 1248, pos 82
#206: Trailing whitespace.
* finger. The value is relative to the path of the north. Default is 0 // line 1249, pos 79
#207: Trailing whitespace.
* @param {Number} [options.rotation] (Required) Degrees to rotate from // line 1251, pos 77
#208: Trailing whitespace.
* the starting degree. A negative value means rotation to the // line 1252, pos 70
#209: Trailing whitespace.
* // line 1254, pos 3
#210: Trailing whitespace.
* @param {Function} [cb] The callback to execute when the asynchronouse gesture // line 1255, pos 81
#211: Trailing whitespace.
* simulation is completed. // line 1256, pos 33
#212: Trailing whitespace.
* @param {Error} cb.err An error object if the simulation is failed. // line 1257, pos 75
#213: Trailing whitespace.
node = Y.one(node); // line 1264, pos 24
#214: Trailing whitespace.
// single-touch: point gestures // line 1278, pos 44
#215: Trailing whitespace.
// single-touch: move gestures // line 1296, pos 43
#216: Trailing whitespace.
sim.flick(cb, options.point, options.axis, options.distance, // line 1301, pos 77
#217: Trailing whitespace.
sim.pinch(cb, options.center, options.r1, options.r2, // line 1307, pos 70
#218: Trailing whitespace.
break; // line 1309, pos 23
#219: Trailing whitespace.
sim.rotate(cb, options.center, options.r1, options.r2, // line 1311, pos 71
#220: 'touches' is defined but never used.
touches, // line 251, pos 20
yogi [info] /Users/derek/src/yui/yui3/src/gesture-simulate/meta/gesture-simulate.json is OK
yogi [warn] lint found a total of 220 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: get
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/get/js/get-nodejs.js
/Users/derek/src/yui/yui3/src/get/js/get.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/get/js/get-nodejs.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/get/js/get.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/get/meta/get.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: graphics
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/graphics/js/CanvasCircle.js
/Users/derek/src/yui/yui3/src/graphics/js/CanvasDefault.js
/Users/derek/src/yui/yui3/src/graphics/js/CanvasDrawing.js
/Users/derek/src/yui/yui3/src/graphics/js/CanvasEllipse.js
/Users/derek/src/yui/yui3/src/graphics/js/CanvasGraphic.js
/Users/derek/src/yui/yui3/src/graphics/js/CanvasPath.js
/Users/derek/src/yui/yui3/src/graphics/js/CanvasPieSlice.js
/Users/derek/src/yui/yui3/src/graphics/js/CanvasRect.js
/Users/derek/src/yui/yui3/src/graphics/js/CanvasShape.js
/Users/derek/src/yui/yui3/src/graphics/js/CircleGroup.js
/Users/derek/src/yui/yui3/src/graphics/js/DiamondGroup.js
/Users/derek/src/yui/yui3/src/graphics/js/EllipseGroup.js
/Users/derek/src/yui/yui3/src/graphics/js/GraphicBase.js
/Users/derek/src/yui/yui3/src/graphics/js/RectGroup.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGCircle.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGDefault.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGDrawing.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGEllipse.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGGraphic.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGPath.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGPieSlice.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGRect.js
/Users/derek/src/yui/yui3/src/graphics/js/SVGShape.js
/Users/derek/src/yui/yui3/src/graphics/js/ShapeGroup.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLCircle.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLDefault.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLDrawing.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLEllipse.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLGraphic.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLPath.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLPieSlice.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLRect.js
/Users/derek/src/yui/yui3/src/graphics/js/VMLShape.js
yogi [info] tweaking meta test js file for lint
yogi [info] tweaking meta test js file for lint
yogi [info] tweaking meta test js file for lint
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CanvasCircle.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CanvasDefault.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/graphics/js/CanvasDrawing.js contains 16 lint errors
#1: 'IMPLEMENTATION' is defined but never used.
var IMPLEMENTATION = "canvas", // line 1, pos 19
#2: 'SHAPE' is defined but never used.
SHAPE = "shape", // line 2, pos 10
#3: 'SPLITPATHPATTERN' is defined but never used.
SPLITPATHPATTERN = /[a-z][^a-z]*/ig, // line 3, pos 21
#4: 'SPLITARGSPATTERN' is defined but never used.
SPLITARGSPATTERN = /[\-]?[0-9]*[0-9|\.][0-9]*/g, // line 4, pos 21
#5: 'DOCUMENT' is defined but never used.
DOCUMENT = Y.config.doc, // line 5, pos 13
#6: 'AttributeLite' is defined but never used.
AttributeLite = Y.AttributeLite, // line 7, pos 18
#7: 'CanvasShape' is defined but never used.
CanvasShape, // line 8, pos 16
#8: 'CanvasPath' is defined but never used.
CanvasPath, // line 9, pos 15
#9: 'CanvasRect' is defined but never used.
CanvasRect, // line 10, pos 15
#10: 'CanvasEllipse' is defined but never used.
CanvasEllipse, // line 11, pos 18
#11: 'CanvasCircle' is defined but never used.
CanvasCircle, // line 12, pos 17
#12: 'CanvasPieSlice' is defined but never used.
CanvasPieSlice, // line 13, pos 19
#13: 'Y_DOM' is defined but never used.
Y_DOM = Y.DOM, // line 14, pos 10
#14: 'PARSE_FLOAT' is defined but never used.
PARSE_FLOAT = parseFloat, // line 17, pos 16
#15: 'IS_NUMBER' is defined but never used.
IS_NUMBER = Y_LANG.isNumber, // line 18, pos 14
#16: '_getClassName' is defined but never used.
_getClassName = Y.ClassNameManager.getClassName; // line 22, pos 18
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CanvasEllipse.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CanvasGraphic.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CanvasPath.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CanvasPieSlice.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CanvasRect.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CanvasShape.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/CircleGroup.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/DiamondGroup.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/EllipseGroup.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/GraphicBase.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/RectGroup.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/graphics/js/ShapeGroup.js contains 4 lint errors
#1: 'CircleGroup' is defined but never used.
CircleGroup, // line 8, pos 16
#2: 'RectGroup' is defined but never used.
RectGroup, // line 9, pos 14
#3: 'EllipseGroup' is defined but never used.
EllipseGroup, // line 10, pos 17
#4: 'DiamondGroup' is defined but never used.
DiamondGroup, // line 11, pos 17
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/SVGCircle.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/SVGDefault.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/graphics/js/SVGDrawing.js contains 15 lint errors
#1: 'IMPLEMENTATION' is defined but never used.
var IMPLEMENTATION = "svg", // line 1, pos 19
#2: 'SHAPE' is defined but never used.
SHAPE = "shape", // line 2, pos 10
#3: 'SPLITPATHPATTERN' is defined but never used.
SPLITPATHPATTERN = /[a-z][^a-z]*/ig, // line 3, pos 21
#4: 'SPLITARGSPATTERN' is defined but never used.
SPLITARGSPATTERN = /[\-]?[0-9]*[0-9|\.][0-9]*/g, // line 4, pos 21
#5: 'Y_LANG' is defined but never used.
Y_LANG = Y.Lang, // line 5, pos 11
#6: 'AttributeLite' is defined but never used.
AttributeLite = Y.AttributeLite, // line 6, pos 18
#7: 'SVGGraphic' is defined but never used.
SVGGraphic, // line 7, pos 15
#8: 'SVGShape' is defined but never used.
SVGShape, // line 8, pos 13
#9: 'SVGCircle' is defined but never used.
SVGCircle, // line 9, pos 14
#10: 'SVGRect' is defined but never used.
SVGRect, // line 10, pos 12
#11: 'SVGPath' is defined but never used.
SVGPath, // line 11, pos 12
#12: 'SVGEllipse' is defined but never used.
SVGEllipse, // line 12, pos 15
#13: 'SVGPieSlice' is defined but never used.
SVGPieSlice, // line 13, pos 16
#14: 'DOCUMENT' is defined but never used.
DOCUMENT = Y.config.doc, // line 14, pos 13
#15: '_getClassName' is defined but never used.
_getClassName = Y.ClassNameManager.getClassName; // line 15, pos 18
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/SVGEllipse.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/SVGGraphic.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/SVGPath.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/SVGPieSlice.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/SVGRect.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/SVGShape.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/VMLCircle.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/VMLDefault.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/graphics/js/VMLDrawing.js contains 18 lint errors
#1: 'IMPLEMENTATION' is defined but never used.
var IMPLEMENTATION = "vml", // line 1, pos 19
#2: 'SHAPE' is defined but never used.
SHAPE = "shape", // line 2, pos 10
#3: 'SPLITPATHPATTERN' is defined but never used.
SPLITPATHPATTERN = /[a-z][^a-z]*/ig, // line 3, pos 21
#4: 'SPLITARGSPATTERN' is defined but never used.
SPLITARGSPATTERN = /[\-]?[0-9]*[0-9|\.][0-9]*/g, // line 4, pos 21
#5: 'IS_NUM' is defined but never used.
IS_NUM = Y_LANG.isNumber, // line 6, pos 11
#6: 'IS_ARRAY' is defined but never used.
IS_ARRAY = Y_LANG.isArray, // line 7, pos 13
#7: 'Y_DOM' is defined but never used.
Y_DOM = Y.DOM, // line 8, pos 10
#8: 'Y_SELECTOR' is defined but never used.
Y_SELECTOR = Y.Selector, // line 9, pos 15
#9: 'DOCUMENT' is defined but never used.
DOCUMENT = Y.config.doc, // line 10, pos 13
#10: 'AttributeLite' is defined but never used.
AttributeLite = Y.AttributeLite, // line 11, pos 18
#11: 'VMLShape' is defined but never used.
VMLShape, // line 12, pos 13
#12: 'VMLCircle' is defined but never used.
VMLCircle, // line 13, pos 14
#13: 'VMLPath' is defined but never used.
VMLPath, // line 14, pos 12
#14: 'VMLRect' is defined but never used.
VMLRect, // line 15, pos 12
#15: 'VMLEllipse' is defined but never used.
VMLEllipse, // line 16, pos 15
#16: 'VMLGraphic' is defined but never used.
VMLGraphic, // line 17, pos 15
#17: 'VMLPieSlice' is defined but never used.
VMLPieSlice, // line 18, pos 16
#18: '_getClassName' is defined but never used.
_getClassName = Y.ClassNameManager.getClassName; // line 19, pos 18
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/VMLEllipse.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/VMLGraphic.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/VMLPath.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/VMLPieSlice.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/VMLRect.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/graphics/js/VMLShape.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/graphics/meta/graphics-canvas.js contains 1 lint errors
#1: Expected '===' and instead saw '=='.
useCanvas = Y.config.defaultGraphicEngine && Y.config.defaultGraphicEngine == "canvas", // line 4, pos 84
yogi [info] /Users/derek/src/yui/yui3/src/graphics/meta/graphics-group.json is OK
yogi [warn] /Users/derek/src/yui/yui3/src/graphics/meta/graphics-svg.js contains 1 lint errors
#1: Expected '!==' and instead saw '!='.
useSVG = !Y.config.defaultGraphicEngine || Y.config.defaultGraphicEngine != "canvas", // line 4, pos 82
yogi [warn] /Users/derek/src/yui/yui3/src/graphics/meta/graphics-vml.js contains 1 lint errors
#1: Line too long.
return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (!canvas || !canvas.getContext || !canvas.getContext("2d"))); // line 5, pos 184
yogi [warn] /Users/derek/src/yui/yui3/src/graphics/meta/graphics.json contains 2 lint errors
#1: Trailing whitespace.
}, // line 37, pos 15
#2: Trailing whitespace.
} // line 43, pos 14
yogi [warn] lint found a total of 58 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: handlebars
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/handlebars/js/handlebars-base.js
/Users/derek/src/yui/yui3/src/handlebars/js/handlebars-compiler-ast.js
/Users/derek/src/yui/yui3/src/handlebars/js/handlebars-compiler-base.js
/Users/derek/src/yui/yui3/src/handlebars/js/handlebars-compiler-compiler.js
/Users/derek/src/yui/yui3/src/handlebars/js/handlebars-compiler-parser.js
/Users/derek/src/yui/yui3/src/handlebars/js/handlebars-runtime.js
/Users/derek/src/yui/yui3/src/handlebars/js/handlebars-utils.js
/Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-base-after.js
/Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-base-before.js
/Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-compiler-after.js
/Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-compiler-before.js
/Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-copyright.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/handlebars/js/handlebars-base.js contains 8 lint errors
#1: Too many var statements.
var type = toString.call(context); // line 49, pos 7
#2: Expected '===' and instead saw '=='.
} else if(context === false || context == null) { // line 55, pos 42
#3: Too many var statements.
var i = 0, ret = "", data; // line 97, pos 7
#4: Too many var statements.
var type = toString.call(context); // line 99, pos 7
#5: Too many var statements.
for(var j = context.length; i<j; i++) { // line 108, pos 15
#6: Too many var statements.
for(var key in context) { // line 113, pos 15
#7: Expected '{' and instead saw 'return'.
if (!Handlebars.Utils.isEmpty(context)) return options.fn(context); // line 149, pos 43
#8: Expected '!==' and instead saw '!='.
var level = options.data && options.data.level != null ? parseInt(options.data.level, 10) : 1; // line 153, pos 50
yogi [warn] /Users/derek/src/yui/yui3/src/handlebars/js/handlebars-compiler-ast.js contains 4 lint errors
#1: Too many var statements.
var params = this.params = rawParams.slice(1); // line 17, pos 7
#2: Too many var statements.
var eligibleHelper = this.eligibleHelper = id.isSimple; // line 21, pos 7
#3: Too many var statements.
for(var i=0,l=parts.length; i<l; i++) { // line 74, pos 11
#4: Too many var statements.
var part = parts[i].part; // line 75, pos 9
yogi [info] /Users/derek/src/yui/yui3/src/handlebars/js/handlebars-compiler-base.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/handlebars/js/handlebars-compiler-compiler.js contains 51 lint errors
#1: Too many var statements.
for (var i=0, l=opcodes.length; i<l; i++) { // line 18, pos 14
#2: Too many var statements.
for (var j=0; j<opcode.args.length; j++) { // line 25, pos 18
#3: Too many var statements.
for (var i = 0; i < len; i++) { // line 44, pos 14
#4: Too many var statements.
var opcode = this.opcodes[i], // line 45, pos 11
#5: Too many var statements.
for (var j = 0; j < opcode.args.length; j++) { // line 50, pos 16
#6: Too many var statements.
for (var name in knownHelpers) { // line 89, pos 16
#7: Too many var statements.
for(var i=0, l=statements.length; i<l; i++) { // line 105, pos 13
#8: Too many var statements.
var guid = this.guid++, depth; // line 120, pos 9
#9: Too many var statements.
for(var i=0, l=result.depths.list.length; i<l; i++) { // line 126, pos 13
#10: Too many var statements.
var type = this.classifyMustache(mustache); // line 149, pos 9
#11: Too many var statements.
for(var i=0, l=pairs.length; i<l; i++) { // line 181, pos 13
#12: Too many var statements.
var type = this.classifyMustache(mustache); // line 220, pos 9
#13: Too many var statements.
for(var i=1, l=id.parts.length; i<l; i++) { // line 291, pos 13
#14: Too many var statements.
for(var i=0, l=parts.length; i<l; i++) { // line 304, pos 13
#15: Too many var statements.
var isEligible = mustache.eligibleHelper; // line 344, pos 9
#16: Too many var statements.
var options = this.options; // line 345, pos 9
#17: Too many var statements.
var name = mustache.id.parts[0]; // line 349, pos 11
#18: Too many var statements.
var namespace = this.namespace; // line 504, pos 11
#19: Too many var statements.
var copies = "helpers = this.merge(helpers, " + namespace + ".helpers);"; // line 506, pos 11
#20: Too many var statements.
for (var alias in this.context.aliases) { // line 535, pos 16
#21: Too many var statements.
var params = this.isChild ? ["depth0", "data"] : ["Handlebars", "depth0", "helpers", "partials", "data"]; // line 555, pos 9
#22: Too many var statements.
for(var i=0, l=this.environment.depths.list.length; i<l; i++) { // line 557, pos 13
#23: Too many var statements.
var source = this.mergeSource(); // line 562, pos 9
#24: Too many var statements.
var revision = Handlebars.COMPILER_REVISION, // line 565, pos 11
#25: Too many var statements.
var functionSource = 'function ' + (this.name || '') + '(' + params.join(',') + ') {\n ' + source + '}'; // line 575, pos 11
#26: Too many var statements.
for (var i = 0, len = this.source.length; i < len; i++) { // line 585, pos 14
#27: Too many var statements.
var line = this.source[i]; // line 586, pos 11
#28: Too many var statements.
var current = this.topStack(); // line 637, pos 9
#29: Too many var statements.
var nonHelper = this.nameLookup('depth' + this.lastContext, name, 'context'); // line 864, pos 9
#30: Too many var statements.
var helperName = this.lastHelper = this.nameLookup('helpers', name, 'helper'); // line 904, pos 9
#31: Too many var statements.
var nonHelper = this.nameLookup('depth' + this.lastContext, name, 'context'); // line 906, pos 9
#32: Too many var statements.
var nextStack = this.nextStack(); // line 907, pos 9
#33: Line too long.
this.source.push('else { ' + nextStack + ' = ' + nonHelper + '; ' + nextStack + ' = typeof ' + nextStack + ' === functionType ? ' + nextStack + '.apply(depth0) : ' + nextStack + '; }'); // line 910, pos 189
#34: Too many var statements.
var hash = this.hash; // line 948, pos 9
#35: Too many var statements.
for(var i=0, l=children.length; i<l; i++) { // line 965, pos 13
#36: Too many var statements.
var index = this.matchExistingProgram(child); // line 969, pos 11
#37: Too many var statements.
var environment = this.context.environments[i]; // line 986, pos 11
#38: Too many var statements.
var programParams = [child.index, child.name, "data"]; // line 1003, pos 9
#39: Too many var statements.
for(var i=0, l = depths.length; i<l; i++) { // line 1005, pos 13
#40: Too many var statements.
var top = this.popStack(true); // line 1050, pos 11
#41: Too many var statements.
var name = this.stackSlot ? this.topStackName() : this.incrStack(); // line 1057, pos 13
#42: Too many var statements.
var item = callback.call(this, stack); // line 1066, pos 9
#43: Too many var statements.
for (var i = 0, len = inlineStack.length; i < len; i++) { // line 1100, pos 16
#44: Too many var statements.
var entry = inlineStack[i]; // line 1101, pos 13
#45: Too many var statements.
var foundHelper = this.nameLookup('helpers', name, 'helper'); // line 1152, pos 9
#46: Too many var statements.
for(var i=0; i<paramSize; i++) { // line 1189, pos 13
#47: 'l' was used before it was defined.
for(var i=0, l=reservedWords.length; i<l; i++) { // line 1241, pos 15
#48: Too many var statements.
var environment = new Compiler().compile(ast, options); // line 1262, pos 7
#49: Too many var statements.
var environment = new Compiler().compile(ast, options); // line 1278, pos 9
#50: Too many var statements.
var templateSpec = new JavaScriptCompiler().compile(environment, options, undefined, true); // line 1279, pos 9
#51: 'id' is defined but never used.
lookupData: function(id) { // line 756, pos 26
yogi [warn] /Users/derek/src/yui/yui3/src/handlebars/js/handlebars-compiler-parser.js contains 166 lint errors
#1: Line too long.
symbols_: {"error":2,"root":3,"program":4,"EOF":5,"simpleInverse":6,"statements":7,"statement":8,"openInverse":9,"closeBlock":10,"openBlock":11,"mustache":12,"partial":13,"CONTENT":14,"COMMENT":15,"OPEN_BLOCK":16,"inMustache":17,"CLOSE":18,"OPEN_INVERSE":19,"OPEN_ENDBLOCK":20,"path":21,"OPEN":22,"OPEN_UNESCAPED":23,"CLOSE_UNESCAPED":24,"OPEN_PARTIAL":25,"partialName":26,"params":27,"hash":28,"dataName":29,"param":30,"STRING":31,"INTEGER":32,"BOOLEAN":33,"hashSegments":34,"hashSegment":35,"ID":36,"EQUALS":37,"DATA":38,"pathSegments":39,"SEP":40,"$accept":0,"$end":1}, // line 7, pos 572
#2: Line too long.
terminals_: {2:"error",5:"EOF",14:"CONTENT",15:"COMMENT",16:"OPEN_BLOCK",18:"CLOSE",19:"OPEN_INVERSE",20:"OPEN_ENDBLOCK",22:"OPEN",23:"OPEN_UNESCAPED",24:"CLOSE_UNESCAPED",25:"OPEN_PARTIAL",31:"STRING",32:"INTEGER",33:"BOOLEAN",36:"ID",37:"EQUALS",38:"DATA",40:"SEP"}, // line 8, pos 268
#3: Line too long.
productions_: [0,[3,2],[4,2],[4,3],[4,2],[4,1],[4,1],[4,0],[7,1],[7,2],[8,3],[8,3],[8,1],[8,1],[8,1],[8,1],[11,3],[9,3],[10,3],[12,3],[12,3],[13,3],[13,4],[6,2],[17,3],[17,2],[17,2],[17,1],[17,1],[27,2],[27,1],[30,1],[30,1],[30,1],[30,1],[30,1],[28,1],[34,2],[34,1],[35,3],[35,3],[35,3],[35,3],[35,3],[26,1],[26,1],[26,1],[29,2],[21,1],[39,3],[39,1]], // line 9, pos 351
#4: Trailing whitespace.
case 1: return $$[$0-1]; // line 14, pos 25
#5: Unreachable 'break' after 'return'.
break; // line 15, pos 1
#6: Trailing whitespace.
case 2: this.$ = new yy.ProgramNode([], $$[$0]); // line 16, pos 49
#7: Trailing whitespace.
case 3: this.$ = new yy.ProgramNode($$[$0-2], $$[$0]); // line 18, pos 55
#8: Trailing whitespace.
case 4: this.$ = new yy.ProgramNode($$[$0-1], []); // line 20, pos 51
#9: Trailing whitespace.
case 5: this.$ = new yy.ProgramNode($$[$0]); // line 22, pos 45
#10: Trailing whitespace.
case 6: this.$ = new yy.ProgramNode([], []); // line 24, pos 45
#11: Trailing whitespace.
case 7: this.$ = new yy.ProgramNode([]); // line 26, pos 41
#12: Trailing whitespace.
case 8: this.$ = [$$[$0]]; // line 28, pos 27
#13: Trailing whitespace.
case 9: $$[$0-1].push($$[$0]); this.$ = $$[$0-1]; // line 30, pos 50
#14: Trailing whitespace.
case 10: this.$ = new yy.BlockNode($$[$0-2], $$[$0-1].inverse, $$[$0-1], $$[$0]); // line 32, pos 82
#15: Trailing whitespace.
case 11: this.$ = new yy.BlockNode($$[$0-2], $$[$0-1], $$[$0-1].inverse, $$[$0]); // line 34, pos 82
#16: Trailing whitespace.
case 12: this.$ = $$[$0]; // line 36, pos 26
#17: Trailing whitespace.
case 13: this.$ = $$[$0]; // line 38, pos 26
#18: Trailing whitespace.
case 14: this.$ = new yy.ContentNode($$[$0]); // line 40, pos 46
#19: Trailing whitespace.
case 15: this.$ = new yy.CommentNode($$[$0]); // line 42, pos 46
#20: Trailing whitespace.
case 16: this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1]); // line 44, pos 65
#21: Trailing whitespace.
case 17: this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1]); // line 46, pos 65
#22: Trailing whitespace.
case 18: this.$ = $$[$0-1]; // line 48, pos 28
#23: Trailing whitespace.
case 20: this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], true); // line 55, pos 71
#24: Trailing whitespace.
case 21: this.$ = new yy.PartialNode($$[$0-1]); // line 57, pos 48
#25: Trailing whitespace.
case 22: this.$ = new yy.PartialNode($$[$0-2], $$[$0-1]); // line 59, pos 58
#26: Trailing whitespace.
case 23: // line 61, pos 9
#27: Trailing whitespace.
case 24: this.$ = [[$$[$0-2]].concat($$[$0-1]), $$[$0]]; // line 63, pos 57
#28: Trailing whitespace.
case 25: this.$ = [[$$[$0-1]].concat($$[$0]), null]; // line 65, pos 53
#29: Trailing whitespace.
case 26: this.$ = [[$$[$0-1]], $$[$0]]; // line 67, pos 40
#30: Trailing whitespace.
case 27: this.$ = [[$$[$0]], null]; // line 69, pos 36
#31: Trailing whitespace.
case 28: this.$ = [[$$[$0]], null]; // line 71, pos 36
#32: Trailing whitespace.
case 29: $$[$0-1].push($$[$0]); this.$ = $$[$0-1]; // line 73, pos 51
#33: Trailing whitespace.
case 30: this.$ = [$$[$0]]; // line 75, pos 28
#34: Trailing whitespace.
case 31: this.$ = $$[$0]; // line 77, pos 26
#35: Trailing whitespace.
case 32: this.$ = new yy.StringNode($$[$0]); // line 79, pos 45
#36: Trailing whitespace.
case 33: this.$ = new yy.IntegerNode($$[$0]); // line 81, pos 46
#37: Trailing whitespace.
case 34: this.$ = new yy.BooleanNode($$[$0]); // line 83, pos 46
#38: Trailing whitespace.
case 35: this.$ = $$[$0]; // line 85, pos 26
#39: Trailing whitespace.
case 36: this.$ = new yy.HashNode($$[$0]); // line 87, pos 43
#40: Trailing whitespace.
case 37: $$[$0-1].push($$[$0]); this.$ = $$[$0-1]; // line 89, pos 51
#41: Trailing whitespace.
case 38: this.$ = [$$[$0]]; // line 91, pos 28
#42: Trailing whitespace.
case 39: this.$ = [$$[$0-2], $$[$0]]; // line 93, pos 38
#43: Trailing whitespace.
case 40: this.$ = [$$[$0-2], new yy.StringNode($$[$0])]; // line 95, pos 57
#44: Trailing whitespace.
case 41: this.$ = [$$[$0-2], new yy.IntegerNode($$[$0])]; // line 97, pos 58
#45: Trailing whitespace.
case 42: this.$ = [$$[$0-2], new yy.BooleanNode($$[$0])]; // line 99, pos 58
#46: Trailing whitespace.
case 43: this.$ = [$$[$0-2], $$[$0]]; // line 101, pos 38
#47: Trailing whitespace.
case 44: this.$ = new yy.PartialNameNode($$[$0]); // line 103, pos 50
#48: Trailing whitespace.
case 45: this.$ = new yy.PartialNameNode(new yy.StringNode($$[$0])); // line 105, pos 69
#49: Trailing whitespace.
case 46: this.$ = new yy.PartialNameNode(new yy.IntegerNode($$[$0])); // line 107, pos 70
#50: Trailing whitespace.
case 47: this.$ = new yy.DataNode($$[$0]); // line 109, pos 43
#51: Trailing whitespace.
case 48: this.$ = new yy.IdNode($$[$0]); // line 111, pos 41
#52: Trailing whitespace.
case 49: $$[$0-2].push({part: $$[$0], separator: $$[$0-1]}); this.$ = $$[$0-2]; // line 113, pos 80
#53: Trailing whitespace.
case 50: this.$ = [{part: $$[$0]}]; // line 115, pos 36
#54: Line too long.
table: [{3:1,4:2,5:[2,7],6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],22:[1,14],23:[1,15],25:[1,16]},{1:[3]},{5:[1,17]},{5:[2,6],7:18,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,6],22:[1,14],23:[1,15],25:[1,16]},{5:[2,5],6:20,8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,5],22:[1,14],23:[1,15],25:[1,16]},{17:23,18:[1,22],21:24,29:25,36:[1,28],38:[1,27],39:26},{5:[2,8],14:[2,8],15:[2,8],16:[2,8],19:[2,8],20:[2,8],22:[2,8],23:[2,8],25:[2,8]},{4:29,6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,7],22:[1,14],23:[1,15],25:[1,16]},{4:30,6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,7],22:[1,14],23:[1,15],25:[1,16]},{5:[2,12],14:[2,12],15:[2,12],16:[2,12],19:[2,12],20:[2,12],22:[2,12],23:[2,12],25:[2,12]},{5:[2,13],14:[2,13],15:[2,13],16:[2,13],19:[2,13],20:[2,13],22:[2,13],23:[2,13],25:[2,13]},{5:[2,14],14:[2,14],15:[2,14],16:[2,14],19:[2,14],20:[2,14],22:[2,14],23:[2,14],25:[2,14]},{5:[2,15],14:[2,15],15:[2,15],16:[2,15],19:[2,15],20:[2,15],22:[2,15],23:[2,15],25:[2,15]},{17:31,21:24,29:25,36:[1,28],38:[1,27],39:26},{17:32,21:24,29:25,36:[1,28],38:[1,27],39:26},{17:33,21:24,29:25,36:[1,28],38:[1,27],39:26},{21:35,26:34,31:[1,36],32:[1,37],36:[1,28],39:26},{1:[2,1]},{5:[2,2],8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,2],22:[1,14],23:[1,15],25:[1,16]},{17:23,21:24,29:25,36:[1,28],38:[1,27],39:26},{5:[2,4],7:38,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,4],22:[1,14],23:[1,15],25:[1,16]},{5:[2,9],14:[2,9],15:[2,9],16:[2,9],19:[2,9],20:[2,9],22:[2,9],23:[2,9],25:[2,9]},{5:[2,23],14:[2,23],15:[2,23],16:[2,23],19:[2,23],20:[2,23],22:[2,23],23:[2,23],25:[2,23]},{18:[1,39]},{18:[2,27],21:44,24:[2,27],27:40,28:41,29:48,30:42,31:[1,45],32:[1,46],33:[1,47],34:43,35:49,36:[1,50],38:[1,27],39:26},{18:[2,28],24:[2,28]},{18:[2,48],24:[2,48],31:[2,48],32:[2,48],33:[2,48],36:[2,48],38:[2,48],40:[1,51]},{21:52,36:[1,28],39:26},{18:[2,50],24:[2,50],31:[2,50],32:[2,50],33:[2,50],36:[2,50],38:[2,50],40:[2,50]},{10:53,20:[1,54]},{10:55,20:[1,54]},{18:[1,56]},{18:[1,57]},{24:[1,58]},{18:[1,59],21:60,36:[1,28],39:26},{18:[2,44],36:[2,44]},{18:[2,45],36:[2,45]},{18:[2,46],36:[2,46]},{5:[2,3],8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,3],22:[1,14],23:[1,15],25:[1,16]},{14:[2,17],15:[2,17],16:[2,17],19:[2,17],20:[2,17],22:[2,17],23:[2,17],25:[2,17]},{18:[2,25],21:44,24:[2,25],28:61,29:48,30:62,31:[1,45],32:[1,46],33:[1,47],34:43,35:49,36:[1,50],38:[1,27],39:26},{18:[2,26],24:[2,26]},{18:[2,30],24:[2,30],31:[2,30],32:[2,30],33:[2,30],36:[2,30],38:[2,30]},{18:[2,36],24:[2,36],35:63,36:[1,64]},{18:[2,31],24:[2,31],31:[2,31],32:[2,31],33:[2,31],36:[2,31],38:[2,31]},{18:[2,32],24:[2,32],31:[2,32],32:[2,32],33:[2,32],36:[2,32],38:[2,32]},{18:[2,33],24:[2,33],31:[2,33],32:[2,33],33:[2,33],36:[2,33],38:[2,33]},{18:[2,34],24:[2,34],31:[2,34],32:[2,34],33:[2,34],36:[2,34],38:[2,34]},{18:[2,35],24:[2,35],31:[2,35],32:[2,35],33:[2,35],36:[2,35],38:[2,35]},{18:[2,38],24:[2,38],36:[2,38]},{18:[2,50],24:[2,50],31:[2,50],32:[2,50],33:[2,50],36:[2,50],37:[1,65],38:[2,50],40:[2,50]},{36:[1,66]},{18:[2,47],24:[2,47],31:[2,47],32:[2,47],33:[2,47],36:[2,47],38:[2,47]},{5:[2,10],14:[2,10],15:[2,10],16:[2,10],19:[2,10],20:[2,10],22:[2,10],23:[2,10],25:[2,10]},{21:67,36:[1,28],39:26},{5:[2,11],14:[2,11],15:[2,11],16:[2,11],19:[2,11],20:[2,11],22:[2,11],23:[2,11],25:[2,11]},{14:[2,16],15:[2,16],16:[2,16],19:[2,16],20:[2,16],22:[2,16],23:[2,16],25:[2,16]},{5:[2,19],14:[2,19],15:[2,19],16:[2,19],19:[2,19],20:[2,19],22:[2,19],23:[2,19],25:[2,19]},{5:[2,20],14:[2,20],15:[2,20],16:[2,20],19:[2,20],20:[2,20],22:[2,20],23:[2,20],25:[2,20]},{5:[2,21],14:[2,21],15:[2,21],16:[2,21],19:[2,21],20:[2,21],22:[2,21],23:[2,21],25:[2,21]},{18:[1,68]},{18:[2,24],24:[2,24]},{18:[2,29],24:[2,29],31:[2,29],32:[2,29],33:[2,29],36:[2,29],38:[2,29]},{18:[2,37],24:[2,37],36:[2,37]},{37:[1,65]},{21:69,29:73,31:[1,70],32:[1,71],33:[1,72],36:[1,28],38:[1,27],39:26},{18:[2,49],24:[2,49],31:[2,49],32:[2,49],33:[2,49],36:[2,49],38:[2,49],40:[2,49]},{18:[1,74]},{5:[2,22],14:[2,22],15:[2,22],16:[2,22],19:[2,22],20:[2,22],22:[2,22],23:[2,22],25:[2,22]},{18:[2,39],24:[2,39],36:[2,39]},{18:[2,40],24:[2,40],36:[2,40]},{18:[2,41],24:[2,41],36:[2,41]},{18:[2,42],24:[2,42],36:[2,42]},{18:[2,43],24:[2,43],36:[2,43]},{5:[2,18],14:[2,18],15:[2,18],16:[2,18],19:[2,18],20:[2,18],22:[2,18],23:[2,18],25:[2,18]}], // line 119, pos 4509
#55: Line too long.
var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1; // line 125, pos 159
#56: Expected '===' and instead saw '=='.
if (typeof this.lexer.yylloc == "undefined") // line 130, pos 34
#57: Expected '{' and instead saw 'this'.
this.lexer.yylloc = {}; // line 131, pos 9
#58: Too many var statements.
var yyloc = this.lexer.yylloc; // line 132, pos 9
#59: Too many var statements.
var ranges = this.lexer.options && this.lexer.options.ranges; // line 134, pos 9
#60: Expected '{' and instead saw 'this'.
this.parseError = this.yy.parseError; // line 136, pos 9
#61: Too many var statements.
var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected; // line 150, pos 9
#62: Expected '===' and instead saw '=='.
if (symbol === null || typeof symbol == "undefined") { // line 156, pos 50
#63: Too many var statements.
var errStr = ""; // line 162, pos 17
#64: Expected '{' and instead saw 'if'.
if (this.terminals_[p] && p > 2) { // line 166, pos 21
#65: Line too long.
errStr = "Parse error on line " + (yylineno + 1) + ":\n" + this.lexer.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'"; // line 170, pos 200
#66: Line too long.
errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == 1?"end of input":"'" + (this.terminals_[symbol] || symbol) + "'"); // line 172, pos 166
#67: Expected '===' and instead saw '=='.
errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == 1?"end of input":"'" + (this.terminals_[symbol] || symbol) + "'"); // line 172, pos 98
#68: Line too long.
this.parseError(errStr, {text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected}); // line 174, pos 167
#69: Expected '{' and instead saw 'recovering'.
recovering--; // line 193, pos 21
#70: Line too long.
yyval._$ = {first_line: lstack[lstack.length - (len || 1)].first_line, last_line: lstack[lstack.length - 1].last_line, first_column: lstack[lstack.length - (len || 1)].first_column, last_column: lstack[lstack.length - 1].last_column}; // line 202, pos 246
#71: Too many var statements.
var lexer = (function(){ // line 229, pos 5
#72: Expected '{' and instead saw 'this'.
if (this.options.ranges) this.yylloc.range = [0,0]; // line 245, pos 34
#73: Too many var statements.
var lines = ch.match(/(?:\r\n?|\n).*/g); // line 256, pos 13
#74: Expected '{' and instead saw 'this'.
if (this.options.ranges) this.yylloc.range[1]++; // line 263, pos 34
#75: Too many var statements.
var lines = ch.split(/(?:\r\n?|\n)/g); // line 270, pos 13
#76: Too many var statements.
var oldLines = this.match.split(/(?:\r\n?|\n)/g); // line 276, pos 13
#77: Expected '{' and instead saw 'this'.
if (lines.length-1) this.yylineno -= lines.length-1; // line 280, pos 29
#78: Too many var statements.
var r = this.yylloc.range; // line 281, pos 13
#79: Too many var statements.
var c = new Array(pre.length + 1).join("-"); // line 316, pos 13
#80: Expected '{' and instead saw 'this'.
if (!this._input) this.done = true; // line 323, pos 27
#81: Too many var statements.
var rules = this._currentRules(); // line 335, pos 13
#82: Too many var statements.
for (var i=0;i < rules.length; i++) { // line 336, pos 18
#83: Expected '{' and instead saw 'break'.
if (!this.options.flex) break; // line 341, pos 41
#84: Expected '{' and instead saw 'this'.
if (lines) this.yylineno += lines.length; // line 346, pos 24
#85: Line too long.
last_column: lines ? lines[lines.length-1].length-lines[lines.length-1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length}; // line 350, pos 170
#86: Expected '{' and instead saw 'this'.
if (this.done && this._input) this.done = false; // line 362, pos 43
#87: Expected '{' and instead saw 'return'.
if (token) return token; // line 363, pos 24
#88: Expected '{' and instead saw 'return'.
else return; // line 364, pos 18
#89: Missing semicolon.
var YYSTATE=YY_START // line 399, pos 21
#90: Trailing whitespace.
case 0: yy_.yytext = "\\"; return 14; // line 401, pos 38
#91: Unreachable 'break' after 'return'.
break; // line 402, pos 1
#92: Expected '{' and instead saw 'this'.
if(yy_.yytext.slice(-1) !== "\\") this.begin("mu"); // line 404, pos 70
#93: Expected '{' and instead saw 'yy_'.
if(yy_.yytext.slice(-1) === "\\") yy_.yytext = yy_.yytext.substr(0,yy_.yyleng-1), this.begin("emu"); // line 405, pos 70
#94: Expected '{' and instead saw 'return'.
if(yy_.yytext) return 14; // line 406, pos 51
#95: Trailing whitespace.
case 2: return 14; // line 409, pos 19
#96: Unreachable 'break' after 'return'.
break; // line 410, pos 1
#97: Expected '{' and instead saw 'this'.
if(yy_.yytext.slice(-1) !== "\\") this.popState(); // line 412, pos 70
#98: Expected '{' and instead saw 'yy_'.
if(yy_.yytext.slice(-1) === "\\") yy_.yytext = yy_.yytext.substr(0,yy_.yyleng-1); // line 413, pos 70
#99: Unreachable 'break' after 'return'.
break; // line 416, pos 1
#100: Trailing whitespace.
case 4: yy_.yytext = yy_.yytext.substr(0, yy_.yyleng-4); this.popState(); return 15; // line 417, pos 85
#101: Unreachable 'break' after 'return'.
break; // line 418, pos 1
#102: Trailing whitespace.
case 5: return 25; // line 419, pos 19
#103: Unreachable 'break' after 'return'.
break; // line 420, pos 1
#104: Trailing whitespace.
case 6: return 16; // line 421, pos 19
#105: Unreachable 'break' after 'return'.
break; // line 422, pos 1
#106: Trailing whitespace.
case 7: return 20; // line 423, pos 19
#107: Unreachable 'break' after 'return'.
break; // line 424, pos 1
#108: Trailing whitespace.
case 8: return 19; // line 425, pos 19
#109: Unreachable 'break' after 'return'.
break; // line 426, pos 1
#110: Trailing whitespace.
case 9: return 19; // line 427, pos 19
#111: Unreachable 'break' after 'return'.
break; // line 428, pos 1
#112: Trailing whitespace.
case 10: return 23; // line 429, pos 20
#113: Unreachable 'break' after 'return'.
break; // line 430, pos 1
#114: Trailing whitespace.
case 11: return 22; // line 431, pos 20
#115: Unreachable 'break' after 'return'.
break; // line 432, pos 1
#116: Trailing whitespace.
case 12: this.popState(); this.begin('com'); // line 433, pos 45
#117: Trailing whitespace.
case 13: yy_.yytext = yy_.yytext.substr(3,yy_.yyleng-5); this.popState(); return 15; // line 435, pos 85
#118: Unreachable 'break' after 'return'.
break; // line 436, pos 1
#119: Trailing whitespace.
case 14: return 22; // line 437, pos 20
#120: Unreachable 'break' after 'return'.
break; // line 438, pos 1
#121: Trailing whitespace.
case 15: return 37; // line 439, pos 20
#122: Unreachable 'break' after 'return'.
break; // line 440, pos 1
#123: Trailing whitespace.
case 16: return 36; // line 441, pos 20
#124: Unreachable 'break' after 'return'.
break; // line 442, pos 1
#125: Trailing whitespace.
case 17: return 36; // line 443, pos 20
#126: Unreachable 'break' after 'return'.
break; // line 444, pos 1
#127: Trailing whitespace.
case 18: return 40; // line 445, pos 20
#128: Unreachable 'break' after 'return'.
break; // line 446, pos 1
#129: Trailing whitespace.
case 19: /*ignore whitespace*/ // line 447, pos 31
#130: Trailing whitespace.
case 20: this.popState(); return 24; // line 449, pos 37
#131: Unreachable 'break' after 'return'.
break; // line 450, pos 1
#132: Trailing whitespace.
case 21: this.popState(); return 18; // line 451, pos 37
#133: Unreachable 'break' after 'return'.
break; // line 452, pos 1
#134: Trailing whitespace.
case 22: yy_.yytext = yy_.yytext.substr(1,yy_.yyleng-2).replace(/\\"/g,'"'); return 31; // line 453, pos 88
#135: Unreachable 'break' after 'return'.
break; // line 454, pos 1
#136: Trailing whitespace.
case 23: yy_.yytext = yy_.yytext.substr(1,yy_.yyleng-2).replace(/\\'/g,"'"); return 31; // line 455, pos 88
#137: Unreachable 'break' after 'return'.
break; // line 456, pos 1
#138: Trailing whitespace.
case 24: return 38; // line 457, pos 20
#139: Unreachable 'break' after 'return'.
break; // line 458, pos 1
#140: Trailing whitespace.
case 25: return 33; // line 459, pos 20
#141: Unreachable 'break' after 'return'.
break; // line 460, pos 1
#142: Trailing whitespace.
case 26: return 33; // line 461, pos 20
#143: Unreachable 'break' after 'return'.
break; // line 462, pos 1
#144: Trailing whitespace.
case 27: return 32; // line 463, pos 20
#145: Unreachable 'break' after 'return'.
break; // line 464, pos 1
#146: Trailing whitespace.
case 28: return 36; // line 465, pos 20
#147: Unreachable 'break' after 'return'.
break; // line 466, pos 1
#148: Trailing whitespace.
case 29: yy_.yytext = yy_.yytext.substr(1, yy_.yyleng-2); return 36; // line 467, pos 69
#149: Unreachable 'break' after 'return'.
break; // line 468, pos 1
#150: Trailing whitespace.
case 30: return 'INVALID'; // line 469, pos 27
#151: Unreachable 'break' after 'return'.
break; // line 470, pos 1
#152: Trailing whitespace.
case 31: return 5; // line 471, pos 19
#153: Unreachable 'break' after 'return'.
break; // line 472, pos 1
#154: Line too long.
lexer.rules = [/^(?:\\\\(?=(\{\{)))/,/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|$)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\{\{>)/,/^(?:\{\{#)/,/^(?:\{\{\/)/,/^(?:\{\{\^)/,/^(?:\{\{\s*else\b)/,/^(?:\{\{\{)/,/^(?:\{\{&)/,/^(?:\{\{!--)/,/^(?:\{\{![\s\S]*?\}\})/,/^(?:\{\{)/,/^(?:=)/,/^(?:\.(?=[}\/ ]))/,/^(?:\.\.)/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}\}\})/,/^(?:\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=[}\s]))/,/^(?:false(?=[}\s]))/,/^(?:-?[0-9]+(?=[}\s]))/,/^(?:[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.]))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/]; // line 475, pos 590
#155: Line too long.
lexer.conditions = {"mu":{"rules":[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],"inclusive":false},"emu":{"rules":[3],"inclusive":false},"com":{"rules":[4],"inclusive":false},"INITIAL":{"rules":[0,1,2,31],"inclusive":true}}; // line 476, pos 256
#156: Missing semicolon.
return lexer;})() // line 477, pos 18
#157: Missing '()' invoking a constructor.
return new Parser; // line 480, pos 12
#158: 'handlebars' is defined but never used.
var handlebars = (function(){ // line 4, pos 15
#159: '_$' is defined but never used.
performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) { // line 10, pos 74
#160: 'hash' is defined but never used.
parseError: function parseError(str, hash) { // line 121, pos 42
#161: 'TERROR' is defined but never used.
var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1; // line 125, pos 146
#162: 'EOF' is defined but never used.
var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1; // line 125, pos 155
#163: 'popStack' is defined but never used.
function popStack(n) { // line 137, pos 22
#164: 'a' is defined but never used.
var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected; // line 150, pos 49
#165: 'col' is defined but never used.
col, // line 329, pos 16
#166: 'YYSTATE' is defined but never used.
var YYSTATE=YY_START // line 399, pos 12
yogi [warn] /Users/derek/src/yui/yui3/src/handlebars/js/handlebars-runtime.js contains 4 lint errors
#1: Too many var statements.
var compilerInfo = container.compilerInfo || [], // line 38, pos 11
#2: Too many var statements.
var runtimeVersions = Handlebars.REVISION_CHANGES[currentRevision], // line 44, pos 15
#3: Line too long.
"Please update your precompiler to a newer version ("+runtimeVersions+") or downgrade your runtime to an older version ("+compilerVersions+")."; // line 47, pos 160
#4: Too many var statements.
var program = function(context, options) { // line 62, pos 9
yogi [warn] /Users/derek/src/yui/yui3/src/handlebars/js/handlebars-utils.js contains 3 lint errors
#1: Too many var statements.
for (var idx = 0; idx < errorProps.length; idx++) { // line 9, pos 12
#2: Expected '===' and instead saw '=='.
} else if (string == null || string === false) { // line 52, pos 23
#3: 'message' is defined but never used.
Handlebars.Exception = function(message) { // line 5, pos 40
yogi [info] /Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-base-after.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-base-before.js contains 1 lint errors
#1: 'Handlebars' is defined but never used.
var Handlebars = Y.namespace('Handlebars'); // line 32, pos 15
yogi [info] /Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-compiler-after.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-compiler-before.js contains 1 lint errors
#1: 'Handlebars' is defined but never used.
var Handlebars = Y.Handlebars; // line 7, pos 15
yogi [info] /Users/derek/src/yui/yui3/src/handlebars/js/yui-handlebars-copyright.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/handlebars/meta/handlebars.json is OK
yogi [warn] lint found a total of 238 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: highlight
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/highlight/js/highlight-accentfold.js
/Users/derek/src/yui/yui3/src/highlight/js/highlight-base.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/highlight/js/highlight-accentfold.js contains 1 lint errors
#1: 'result' is defined but never used.
chunk, i, len, match, result; // line 38, pos 41
yogi [info] /Users/derek/src/yui/yui3/src/highlight/js/highlight-base.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/highlight/meta/highlight.json contains 2 lint errors
#1: Mixed spaces and tabs.
"highlight-base", // line 8, pos 4
#2: Mixed spaces and tabs.
"text-accentfold" // line 9, pos 4
yogi [warn] lint found a total of 3 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: history
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/history/js/history-base.js
/Users/derek/src/yui/yui3/src/history/js/history-hash-ie.js
/Users/derek/src/yui/yui3/src/history/js/history-hash.js
/Users/derek/src/yui/yui3/src/history/js/history-html5.js
yogi [info] tweaking meta test js file for lint
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/history/js/history-base.js contains 4 lint errors
#1: Missing 'new' prefix when invoking a constructor.
var args = YArray(arguments, 0, true); // line 294, pos 20
#2: Missing 'new' prefix when invoking a constructor.
var args = YArray(arguments, 0, true); // line 352, pos 20
#3: Expected an assignment or function call and instead saw an expression.
newState || (newState = {}); // line 563, pos 35
#4: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 564, pos 35
yogi [info] /Users/derek/src/yui/yui3/src/history/js/history-hash-ie.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/history/js/history-hash.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/history/js/history-html5.js contains 1 lint errors
#1: Expected an assignment or function call and instead saw an expression.
config || (config = {}); // line 69, pos 31
yogi [info] /Users/derek/src/yui/yui3/src/history/meta/history-hash-ie-test.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/history/meta/history.json is OK
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: imageloader
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/imageloader/js/imageloader.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/imageloader/js/imageloader.js contains 23 lint errors
#1: Line too long.
* A group for images. A group can have one time limit and a series of triggers. Thus the images belonging to this group must share these constraints. // line 10, pos 154
#2: Line too long.
* Distance below the fold for which images are loaded. Images are not loaded until they are at most this distance away from (or above) the fold. // line 44, pos 153
#3: Trailing whitespace.
}, // line 65, pos 11
#4: Line too long.
* Elements are stored during the <code>_foldCheck</code> function and reused later during any subsequent <code>_foldCheck</code> calls - gives a slight performance improvement when the page fold is repeatedly checked. // line 116, pos 230
#5: Line too long.
* groupZ's timeout fires; we remove the triggers. The detach call finds the first window-scroll event with Y.ILG.p.fetch, which is groupA's. // line 168, pos 156
#6: Trailing whitespace.
* groupZ's timeout fires; we remove the triggers. The detach call finds the first window-scroll event with Y.ILG.p.fetch, which is groupA's. // line 168, pos 156
#7: Line too long.
* @param {Object} obj The object on which to attach the event. <code>obj</code> is optional - by default the event is attached to the <code>Y</code> instance // line 184, pos 167
#8: Line too long.
* Arguments are passed through to a <code>Y.ImgLoadImgObj</code> constructor; see that class' attribute documentation for detailed information. "<code>domId</code>" is a required attribute. // line 258, pos 198
#9: Line too long.
* @param {Object} * A configuration object literal with attribute name/value pairs (passed through to a <code>Y.ImgLoadImgObj</code> constructor) // line 260, pos 156
#10: Line too long.
* This method is called when a trigger fires or the time limit expires; it shouldn't be called externally, but is not private in the rare event that it needs to be called immediately. // line 277, pos 192
#11: Line too long.
* Checks the position of each image in the group. If any part of the image is within the specified distance (<code>foldDistance</code>) of the client viewport, the image is fetched immediately. // line 311, pos 202
#12: Mixed spaces and tabs.
viewReg = Y.DOM.viewportRegion(), // line 319, pos 3
#13: Mixed spaces and tabs.
hLimit = viewReg.bottom + this.get('foldDistance'), // line 320, pos 3
#14: Line too long.
Y.log('Image with id "' + els[i].el.get('id') + '" is within distance of the fold. Fetching image. (Image registered by class name with the group - may not have an id.)', 'info', 'imageloader'); // line 353, pos 218
#15: Trailing whitespace.
* class name is removed and also the src attribute is set to the // line 371, pos 74
#16: Expected '===' and instead saw '=='.
if (this.get("classNameAction") == "enhanced"){ // line 380, pos 45
#17: Expected '===' and instead saw '=='.
if (node.get("tagName").toLowerCase() == "img"){ // line 382, pos 55
#18: Trailing whitespace.
node.removeClass(this._className); // line 391, pos 47
#19: Line too long.
* Finds all elements in the DOM with the class name specified in the group. Removes the class from the element in order to let the style definitions trigger the image fetching. // line 395, pos 185
#20: Line too long.
* The Y position is checked only for images registered with fold-conditional groups. The position is checked first at page load (domready) // line 557, pos 151
#21: Line too long.
* @param {Int} withinY The pixel distance from the top of the page, for which if the image lies within, it will be fetched. Undefined indicates that no check should be made, and the image should always be fetched // line 570, pos 222
#22: Mixed spaces and tabs.
yPos; // line 579, pos 3
#23: Line too long.
el.setStyle('filter', 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + this.get('bgUrl') + '", sizingMethod="' + this.get('sizingMethod') + '", enabled="' + this.get('enabled') + '")'); // line 600, pos 217
yogi [warn] /Users/derek/src/yui/yui3/src/imageloader/meta/imageloader.json contains 2 lint errors
#1: Trailing whitespace.
"base-base", // line 4, pos 25
#2: Trailing whitespace.
"node-style", // line 5, pos 26
yogi [warn] lint found a total of 25 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: intl
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/intl/js/Intl.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/intl/js/Intl.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/intl/meta/intl.json contains 1 lint errors
#1: Mixed spaces and tabs.
"intl-base", // line 4, pos 1
yogi [warn] lint found a total of 1 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: io
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/io/js/io-base.js
/Users/derek/src/yui/yui3/src/io/js/io-form.js
/Users/derek/src/yui/yui3/src/io/js/io-nodejs.js
/Users/derek/src/yui/yui3/src/io/js/io-queue.js
/Users/derek/src/yui/yui3/src/io/js/io-upload-iframe.js
/Users/derek/src/yui/yui3/src/io/js/io-xdr.js
/Users/derek/src/yui/yui3/src/io/js/io.js
/Users/derek/src/yui/yui3/src/io/js/transports.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/io/js/io-base.js contains 1 lint errors
#1: Expected an assignment or function call and instead saw an expression.
data || (data = ''); // line 672, pos 27
yogi [warn] /Users/derek/src/yui/yui3/src/io/js/io-form.js contains 1 lint errors
#1: Expected a 'break' statement before 'default'.
case 'submit': // line 111, pos 34
yogi [warn] /Users/derek/src/yui/yui3/src/io/js/io-nodejs.js contains 15 lint errors
#1: Line too long.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 268
#2: Too many var statements.
var ret = { // line 149, pos 21
#3: 'Buffer' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#4: 'clearInterval' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#5: 'clearTimeout' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#6: 'console' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#7: 'exports' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#8: 'global' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#9: 'module' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#10: 'process' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#11: 'querystring' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#12: 'setInterval' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#13: 'setTimeout' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#14: '__filename' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
#15: '__dirname' is defined but never used.
/*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ // line 1, pos 9
yogi [warn] /Users/derek/src/yui/yui3/src/io/js/io-queue.js contains 1 lint errors
#1: 'o' is defined but never used.
Y.on('io:complete', function(id, o) { io._qNext(id); }, io); // line 65, pos 47
yogi [info] /Users/derek/src/yui/yui3/src/io/js/io-upload-iframe.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/io/js/io-xdr.js contains 1 lint errors
#1: Expected a 'break' statement before 'case'.
o.c = { status: 0, statusText: e }; // line 243, pos 51
yogi [info] /Users/derek/src/yui/yui3/src/io/js/io.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/io/js/transports.js contains 2 lint errors
#1: Expected a 'break' statement before 'default'.
event = 'failure'; // line 87, pos 34
#2: 'SUPPORTS_CORS' is defined but never used.
SUPPORTS_CORS = XHR && 'withCredentials' in (new XMLHttpRequest()); // line 7, pos 18
yogi [warn] /Users/derek/src/yui/yui3/src/io/meta/io.json contains 7 lint errors
#1: Trailing whitespace.
}, // line 16, pos 15
#2: Trailing whitespace.
"io-base", // line 19, pos 31
#3: Trailing whitespace.
"io-base", // line 34, pos 31
#4: Trailing whitespace.
}, // line 37, pos 15
#5: Trailing whitespace.
"io-base", // line 40, pos 31
#6: Trailing whitespace.
}, // line 43, pos 15
#7: Trailing whitespace.
"io-base", // line 46, pos 31
yogi [warn] lint found a total of 28 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: json
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/json/js/parse-shim.js
/Users/derek/src/yui/yui3/src/json/js/parse.js
/Users/derek/src/yui/yui3/src/json/js/stringify-shim.js
/Users/derek/src/yui/yui3/src/json/js/stringify.js
yogi [info] tweaking meta test js file for lint
yogi [info] tweaking meta test js file for lint
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/json/js/parse-shim.js contains 1 lint errors
#1: eval is evil.
return _revive(eval('(' + s + ')'), reviver); // line 170, pos 24
yogi [info] /Users/derek/src/yui/yui3/src/json/js/parse.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/json/js/stringify-shim.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/json/js/stringify.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/json/meta/json.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/json/meta/parse-native-test.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/json/meta/stringify-native-test.js is OK
yogi [warn] lint found a total of 1 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: jsonp
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/jsonp/js/jsonp-url.js
/Users/derek/src/yui/yui3/src/jsonp/js/jsonp.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/jsonp/js/jsonp-url.js contains 1 lint errors
#1: Unexpected use of '|'.
keys[i] = parseInt($1, 10) | 0; // line 68, pos 52
yogi [info] /Users/derek/src/yui/yui3/src/jsonp/js/jsonp.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/jsonp/meta/jsonp.json is OK
yogi [warn] lint found a total of 1 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: loader
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/loader/js/loader.js
/Users/derek/src/yui/yui3/src/loader/js/meta.js
/Users/derek/src/yui/yui3/src/loader/js/rollup.js
/Users/derek/src/yui/yui3/src/loader/js/yui3.js
/Users/derek/src/yui/yui3/src/loader/js/yui3.json
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/loader/js/loader.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/loader/js/meta.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/loader/js/rollup.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/loader/js/yui3.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/loader/meta/loader.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: matrix
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/matrix/js/Matrix.js
/Users/derek/src/yui/yui3/src/matrix/js/MatrixUtil.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/matrix/js/Matrix.js contains 2 lint errors
#1: 'y' is defined but never used.
rotate: function(deg, x, y) { // line 279, pos 31
#2: 'x' is defined but never used.
rotate: function(deg, x, y) { // line 279, pos 28
yogi [warn] /Users/derek/src/yui/yui3/src/matrix/js/MatrixUtil.js contains 3 lint errors
#1: Expected '===' and instead saw '=='.
if(len == 2) // line 111, pos 20
#2: Expected '===' and instead saw '=='.
else if(m[1] == "matrix") // line 373, pos 30
#3: Expected '!==' and instead saw '!='.
if(list1[i][0] != list2[i][0]) // line 441, pos 36
yogi [info] /Users/derek/src/yui/yui3/src/matrix/meta/matrix.json is OK
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: node-flick
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/node-flick/js/NodeFlick.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/node-flick/js/NodeFlick.js contains 17 lint errors
#1: Trailing whitespace.
* Provide a simple Flick plugin, which can be used along with the "flick" gesture event, to // line 2, pos 93
#2: Trailing whitespace.
* animate the motion of the host node in response to a (mouse or touch) flick gesture. // line 3, pos 88
#3: Trailing whitespace.
* // line 4, pos 3
#4: Trailing whitespace.
* // line 33, pos 7
#5: Trailing whitespace.
* and lower boundaries of the scrollview. Set to 0 to // line 57, pos 63
#6: Trailing whitespace.
* on whether or not we're animating the flick or bounce step. // line 140, pos 71
#7: Trailing whitespace.
* The namespace for the plugin. This will be the property on the node, which will // line 163, pos 87
#8: Trailing whitespace.
* @param {Object} config The user configuration for the plugin // line 179, pos 72
#9: Trailing whitespace.
* // line 196, pos 11
#10: Trailing whitespace.
* node and boundingBox. // line 229, pos 33
#11: Trailing whitespace.
* // line 348, pos 11
#12: Trailing whitespace.
x = this._x; // line 374, pos 29
#13: Trailing whitespace.
transition.transform = 'translate('+ (xn) + 'px,' + (yn) +'px)'; // line 415, pos 81
#14: Trailing whitespace.
* based on the bounce criteria. // line 426, pos 41
#15: Trailing whitespace.
} // line 446, pos 18
#16: 'config' is defined but never used.
function Flick(config) { // line 38, pos 26
#17: 'config' is defined but never used.
initializer : function(config) { // line 181, pos 38
yogi [info] /Users/derek/src/yui/yui3/src/node-flick/meta/node-flick.json is OK
yogi [warn] lint found a total of 17 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: node-focusmanager
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/node-focusmanager/js/node-focusmanager.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/node-focusmanager/js/node-focusmanager.js contains 14 lint errors
#1: Line too long.
DEPRECATED: The FocusManager Node Plugin has been deprecated as of YUI 3.9.0. This module will be removed from the library in a future version. If you require functionality similar to the one provided by this module, consider taking a look at the various modules in the YUI Gallery <http://yuilibrary.com/gallery/>. // line 30, pos 317
#2: Trailing whitespace.
DEPRECATED: The FocusManager Node Plugin has been deprecated as of YUI 3.9.0. This module will be removed from the library in a future version. If you require functionality similar to the one provided by this module, consider taking a look at the various modules in the YUI Gallery <http://yuilibrary.com/gallery/>. // line 30, pos 317
#3: Mixed spaces and tabs.
UA = Y.UA, // line 69, pos 1
#4: Mixed spaces and tabs.
this._prevKeyHandler = // line 510, pos 1
#5: Mixed spaces and tabs.
this._nextKeyHandler = // line 515, pos 1
#6: Mixed spaces and tabs.
Y.log("Attaching base set of event handlers.", "info", "nodeFocusManager"); // line 587, pos 2
#7: Mixed spaces and tabs.
Y.log("Attaching key event handlers.", "info", "nodeFocusManager"); // line 613, pos 4
#8: Mixed spaces and tabs.
this._set(FOCUSED, false); // line 685, pos 1
#9: Mixed spaces and tabs.
this._onDocFocus(event); // line 686, pos 1
#10: Mixed spaces and tabs.
this._set(FOCUSED, false); // line 718, pos 1
#11: Mixed spaces and tabs.
this._onDocFocus(event); // line 719, pos 1
#12: Mixed spaces and tabs.
Y.log("WARNING: node-focusmanager is a deprecated module as of YUI 3.9.0. This module will be removed from a later version of the library.", "warn"); // line 924, pos 4
#13: Line too long.
Y.log("WARNING: node-focusmanager is a deprecated module as of YUI 3.9.0. This module will be removed from a later version of the library.", "warn"); // line 924, pos 157
#14: 'config' is defined but never used.
initializer: function (config) { // line 923, pos 34
yogi [warn] /Users/derek/src/yui/yui3/src/node-focusmanager/meta/node-focusmanager.json contains 5 lint errors
#1: Trailing whitespace.
"attribute", // line 4, pos 25
#2: Trailing whitespace.
"node", // line 5, pos 20
#3: Trailing whitespace.
"plugin", // line 6, pos 22
#4: Trailing whitespace.
"node-event-simulate", // line 7, pos 35
#5: Trailing whitespace.
"event-key", // line 8, pos 25
yogi [warn] lint found a total of 19 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: node-menunav
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/node-menunav/js/node-menunav.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/node-menunav/js/node-menunav.js contains 247 lint errors
#1: Trailing whitespace.
* <p>The MenuNav Node Plugin makes it easy to transform existing list-based // line 2, pos 76
#2: Trailing whitespace.
* markup into traditional, drop down navigational menus that are both accessible // line 3, pos 81
#3: Trailing whitespace.
* // line 5, pos 2
#4: Trailing whitespace.
* // line 6, pos 2
#5: Trailing whitespace.
* <p>To use the MenuNav Node Plugin, simply pass a reference to the plugin to a // line 7, pos 80
#6: Trailing whitespace.
* // line 9, pos 2
#7: Mixed spaces and tabs.
* // Call the "use" method, passing in "node-menunav". This will <br> // line 14, pos 2
#8: Mixed spaces and tabs.
* // load the script and CSS for the MenuNav Node Plugin and all of <br> // line 15, pos 2
#9: Mixed spaces and tabs.
* // the required dependencies. <br> // line 16, pos 2
#10: Mixed spaces and tabs.
* YUI().use("node-menunav", function(Y) { <br> // line 18, pos 2
#11: Mixed spaces and tabs.
* // Use the "contentready" event to initialize the menu when <br> // line 20, pos 2
#12: Mixed spaces and tabs.
* // the subtree of element representing the root menu <br> // line 21, pos 2
#13: Mixed spaces and tabs.
* // (&#60;div id="menu-1"&#62;) is ready to be scripted. <br> // line 22, pos 2
#14: Mixed spaces and tabs.
* Y.on("contentready", function () { <br> // line 24, pos 2
#15: Mixed spaces and tabs.
* // The scope of the callback will be a Node instance <br> // line 26, pos 2
#16: Mixed spaces and tabs.
* // representing the root menu (&#60;div id="menu-1"&#62;). <br> // line 27, pos 2
#17: Mixed spaces and tabs.
* // Therefore, since "this" represents a Node instance, it <br> // line 28, pos 2
#18: Mixed spaces and tabs.
* // is possible to just call "this.plug" passing in a <br> // line 29, pos 2
#19: Mixed spaces and tabs.
* this.plug(Y.Plugin.NodeMenuNav); <br> // line 32, pos 2
#20: Mixed spaces and tabs.
* }, "#menu-1"); <br> // line 34, pos 2
#21: Trailing whitespace.
* <br> // line 35, pos 7
#22: Mixed spaces and tabs.
* }); <br> // line 36, pos 2
#23: Trailing whitespace.
* <br> // line 37, pos 7
#24: Mixed spaces and tabs.
* &#60;/script&#62; <br> // line 38, pos 2
#25: Trailing whitespace.
* <p>The MenuNav Node Plugin has several configuration properties that can be // line 42, pos 78
#26: Trailing whitespace.
* set via an object literal that is passed as a second argument to a Node // line 43, pos 74
#27: Mixed spaces and tabs.
* // Call the "use" method, passing in "node-menunav". This will <br> // line 51, pos 2
#28: Mixed spaces and tabs.
* // load the script and CSS for the MenuNav Node Plugin and all of <br> // line 52, pos 2
#29: Mixed spaces and tabs.
* // the required dependencies. <br> // line 53, pos 2
#30: Mixed spaces and tabs.
* YUI().use("node-menunav", function(Y) { <br> // line 55, pos 2
#31: Mixed spaces and tabs.
* // Use the "contentready" event to initialize the menu when <br> // line 57, pos 2
#32: Mixed spaces and tabs.
* // the subtree of element representing the root menu <br> // line 58, pos 2
#33: Mixed spaces and tabs.
* // (&#60;div id="menu-1"&#62;) is ready to be scripted. <br> // line 59, pos 2
#34: Mixed spaces and tabs.
* Y.on("contentready", function () { <br> // line 61, pos 2
#35: Mixed spaces and tabs.
* // The scope of the callback will be a Node instance <br> // line 63, pos 2
#36: Mixed spaces and tabs.
* // representing the root menu (&#60;div id="menu-1"&#62;). <br> // line 64, pos 2
#37: Mixed spaces and tabs.
* // Therefore, since "this" represents a Node instance, it <br> // line 65, pos 2
#38: Mixed spaces and tabs.
* // is possible to just call "this.plug" passing in a <br> // line 66, pos 2
#39: Mixed spaces and tabs.
* this.plug(Y.Plugin.NodeMenuNav, { mouseOutHideDelay: 1000 }); // line 69, pos 2
#40: Mixed spaces and tabs.
* }, "#menu-1"); <br> // line 71, pos 2
#41: Trailing whitespace.
* <br> // line 72, pos 7
#42: Mixed spaces and tabs.
* }); <br> // line 73, pos 2
#43: Trailing whitespace.
* <br> // line 74, pos 7
#44: Mixed spaces and tabs.
* &#60;/script&#62; <br> // line 75, pos 2
#45: Trailing whitespace.
* // line 78, pos 2
#46: Line too long.
DEPRECATED. The MenuNav Node Plugin has been deprecated as of YUI 3.9.0. This module will be removed from the library in a future version. If you require functionality similar to the one provided by this module, consider taking a look at the various modules in the YUI Gallery <http://yuilibrary.com/gallery/>. // line 79, pos 311
#47: Trailing whitespace.
DEPRECATED. The MenuNav Node Plugin has been deprecated as of YUI 3.9.0. This module will be removed from the library in a future version. If you require functionality similar to the one provided by this module, consider taking a look at the various modules in the YUI Gallery <http://yuilibrary.com/gallery/>. // line 79, pos 311
#48: Trailing whitespace.
oNext = node.get(PARENT_NODE).get(CHILDREN).item(0); // line 180, pos 61
#49: Trailing whitespace.
oItem = getNodeWithClass(node, CSS_MENU_LABEL) || // line 294, pos 62
#50: Trailing whitespace.
oItem = getMenuItem(node, searchAncestors) || // line 310, pos 54
#51: Trailing whitespace.
return oItem; // line 314, pos 18
#52: Trailing whitespace.
return node && !node[HANDLED_MOUSEOVER] && // line 335, pos 47
#53: Trailing whitespace.
return node && !node[HANDLED_MOUSEOUT] && // line 343, pos 46
#54: Trailing whitespace.
* The NodeMenuNav class is a plugin for a Node instance. The class is used via // line 349, pos 80
#55: Trailing whitespace.
* the <a href="Node.html#method_plug"><code>plug</code></a> method of Node and // line 350, pos 79
#56: Trailing whitespace.
/** // line 365, pos 4
#57: Trailing whitespace.
* @description String representing the value for the <code>title</code> // line 367, pos 72
#58: Trailing whitespace.
* attribute for the shim used to prevent <code>&#60;select&#62;</code> elements // line 368, pos 80
#59: Trailing whitespace.
/** // line 376, pos 4
#60: Trailing whitespace.
* @description String representing the HTML used to create the // line 378, pos 63
#61: Trailing whitespace.
* <code>&#60;iframe&#62;</code> shim used to prevent // line 379, pos 53
#62: Trailing whitespace.
* @default &#34;&#60;iframe frameborder=&#34;0&#34; tabindex=&#34;-1&#34; // line 381, pos 74
#63: Trailing whitespace.
* class=&#34;yui-shim&#34; title=&#34;Menu Stacking Shim&#34; // line 382, pos 62
#64: Trailing whitespace.
// 1) Need to set the "frameBorder" property to 0 to suppress the default // line 389, pos 77
#65: Trailing whitespace.
// <iframe> border in IE. (Setting the CSS "border" property alone doesn't // line 390, pos 79
#66: Trailing whitespace.
// suppress it.) // line 391, pos 20
#67: Trailing whitespace.
// 2) The "src" attribute of the <iframe> is set to "javascript:false;" so // line 393, pos 78
#68: Trailing whitespace.
// that it won't load a page inside it, preventing the secure/nonsecure // line 394, pos 75
#69: Trailing whitespace.
// 3) Since the role of the <iframe> shim is completely presentational, its // line 397, pos 79
#70: Trailing whitespace.
// "tabindex" attribute is set to "-1" and its title attribute is set to // line 398, pos 76
#71: Trailing whitespace.
// "Menu Stacking Shim". Both strategies help users of screen readers to // line 399, pos 77
#72: Trailing whitespace.
NodeMenuNav.SHIM_TEMPLATE = '<iframe frameborder="0" tabindex="-1" class="' + // line 402, pos 78
#73: Trailing whitespace.
getClassName("shim") + // line 403, pos 51
#74: Trailing whitespace.
'" title="' + NodeMenuNav.SHIM_TEMPLATE_TITLE + // line 404, pos 76
#75: Trailing whitespace.
* Boolean indicating if use of the WAI-ARIA Roles and States should be // line 411, pos 75
#76: Trailing whitespace.
* @writeOnce // line 416, pos 17
#77: Trailing whitespace.
* Boolean indicating if submenus are automatically made visible when the // line 488, pos 77
#78: Trailing whitespace.
* @writeOnce // line 493, pos 17
#79: Trailing whitespace.
*/ // line 496, pos 7
#80: Trailing whitespace.
* Number indicating the time (in milliseconds) that should expire before a // line 506, pos 79
#81: Trailing whitespace.
* @writeOnce // line 511, pos 17
#82: Trailing whitespace.
* Number indicating the time (in milliseconds) that should expire before a // line 524, pos 79
#83: Trailing whitespace.
* submenu is hidden when the user mouses out of a menu label heading in the // line 525, pos 80
#84: Trailing whitespace.
* direction of a submenu. // line 526, pos 30
#85: Trailing whitespace.
* @writeOnce // line 530, pos 17
#86: Trailing whitespace.
* Number indicating the time (in milliseconds) that should expire before a // line 543, pos 79
#87: Trailing whitespace.
* // line 545, pos 6
#88: Trailing whitespace.
* @writeOnce // line 548, pos 17
#89: Trailing whitespace.
*/ // line 551, pos 7
#90: Trailing whitespace.
/** // line 566, pos 8
#91: Trailing whitespace.
_rootMenu: null, // line 573, pos 21
#92: Trailing whitespace.
/** // line 576, pos 8
#93: Trailing whitespace.
* @description Node instance representing the menu's active descendent: // line 578, pos 76
#94: Trailing whitespace.
_activeItem: null, // line 584, pos 23
#95: Trailing whitespace.
/** // line 587, pos 8
#96: Trailing whitespace.
* @description Node instance representing the menu that is the parent of // line 589, pos 77
#97: Trailing whitespace.
/** // line 598, pos 8
#98: Trailing whitespace.
// In gecko-based browsers a mouseover and mouseout event will fire even // line 608, pos 80
#99: Trailing whitespace.
// if a DOM element moves out from under the mouse without the user // line 609, pos 75
#100: Trailing whitespace.
// actually moving the mouse. This bug affects NodeMenuNav because the // line 610, pos 79
#101: Trailing whitespace.
// user can hit the Esc key to hide a menu, and if the mouse is over the // line 611, pos 80
#102: Trailing whitespace.
// menu when the user presses Esc, the _onMenuMouseOut handler will be // line 612, pos 78
#103: Trailing whitespace.
// called. To fix this bug the following flag (_blockMouseEvent) is used // line 613, pos 81
#104: Trailing whitespace.
/** // line 616, pos 8
#105: Trailing whitespace.
* @description Boolean indicating whether or not to handle the // line 618, pos 67
#106: Trailing whitespace.
/** // line 627, pos 8
#107: Trailing whitespace.
* @description Number representing the current x coordinate of the mouse // line 629, pos 77
#108: Trailing whitespace.
/** // line 638, pos 8
#109: Trailing whitespace.
* @description Boolean indicating if the mouse is moving from a menu // line 640, pos 73
#110: Trailing whitespace.
/** // line 649, pos 8
#111: Trailing whitespace.
/** // line 659, pos 8
#112: Trailing whitespace.
/** // line 669, pos 8
#113: Trailing whitespace.
/** // line 679, pos 8
#114: Trailing whitespace.
* @description Node instance representing the first item (menuitem or menu // line 681, pos 79
#115: Line too long.
Y.log("WARNING: Node-MenuNav is a deprecated module as of YUI 3.9.0. This module will be removed from a later version of the library.", "warn"); // line 700, pos 152
#116: Mixed spaces and tabs.
aHandlers.push(oDoc.on(MOUSEDOWN, menuNav._onDocMouseDown, menuNav)); // line 726, pos 2
#117: Trailing whitespace.
* @description Returns a boolean indicating if the specified menu is the // line 762, pos 77
#118: Trailing whitespace.
* @return {Boolean} Boolean indicating if the specified menu is the root // line 766, pos 77
#119: Trailing whitespace.
* @description Sets the specified menuitem or menu label as the menu's // line 826, pos 75
#120: Trailing whitespace.
// Set the width and height of the menu's bounding box - this is // line 917, pos 80
#121: Trailing whitespace.
// necessary for IE 6 so that the CSS for the <iframe> shim can // line 918, pos 79
#122: Trailing whitespace.
// simply set the <iframe>'s width and height to 100% to ensure // line 919, pos 79
#123: Trailing whitespace.
// that dimensions of an <iframe> shim are always sync'd to the // line 920, pos 79
#124: Trailing whitespace.
// that of its parent menu. Specifying a width and height also // line 921, pos 79
#125: Trailing whitespace.
// helps when positioning decorator elements (for creating effects // line 922, pos 82
#126: Trailing whitespace.
menu.setStyles({ // line 925, pos 29
#127: Trailing whitespace.
height: (menu.get(OFFSET_HEIGHT) + PX), // line 926, pos 56
#128: Trailing whitespace.
* @method _hideMenu // line 938, pos 24
#129: Trailing whitespace.
* @param {Boolean} activateAndFocusLabel Boolean indicating if the label // line 942, pos 77
#130: Trailing whitespace.
* for the specified // line 943, pos 24
#131: Trailing whitespace.
menuNav._setActiveItem(oLabel); // line 957, pos 44
#132: Trailing whitespace.
// Clear the values for top and left that were set by the call to // line 966, pos 77
#133: Trailing whitespace.
// "setXY" when the menu was shown so that the hidden position // line 967, pos 74
#134: Trailing whitespace.
} // line 976, pos 10
#135: Trailing whitespace.
* @description Initializes and updates the Focus Manager so that is is // line 1039, pos 75
#136: Trailing whitespace.
sSelectorBase = // line 1048, pos 28
#137: Trailing whitespace.
sDescendantSelector = sSelectorBase + STANDARD_QUERY + "," + // line 1057, pos 73
#138: Trailing whitespace.
oRootMenu.plug(Y.Plugin.NodeFocusManager, { // line 1073, pos 56
#139: Trailing whitespace.
sQuery = "#" + oRootMenu.get("id") + MENU_SELECTOR + " a," + // line 1081, pos 73
#140: Trailing whitespace.
oFocusManager.on(ACTIVE_DESCENDANT_CHANGE, // line 1086, pos 55
#141: Trailing whitespace.
oFocusManager.after(ACTIVE_DESCENDANT_CHANGE, // line 1089, pos 58
#142: Trailing whitespace.
* @description "activeDescendantChange" event handler for menu's // line 1111, pos 69
#143: Trailing whitespace.
if (event.src === UI && menuNav._activeMenu && // line 1119, pos 55
#144: Trailing whitespace.
* @description "activeDescendantChange" event handler for menu's // line 1131, pos 69
#145: Trailing whitespace.
if (menuNav._hasFocus) { // line 1165, pos 37
#146: Trailing whitespace.
// If the element that was focused is a descendant of the // line 1169, pos 77
#147: Trailing whitespace.
// root menu, but is in a submenu not currently being // line 1170, pos 73
#148: Trailing whitespace.
// managed by the Focus Manager, update the Focus Manager so // line 1171, pos 80
#149: Trailing whitespace.
// that it is now managing the submenu that is the parent of // line 1172, pos 80
#150: Trailing whitespace.
// First time the menu has been focused, need to setup focused // line 1187, pos 82
#151: Trailing whitespace.
if (oActiveItem) { // line 1194, pos 35
#152: Trailing whitespace.
// Need to update the FocusManager in advance of focus a new // line 1239, pos 72
#153: Trailing whitespace.
// Menu in order to avoid the FocusManager thinking that // line 1240, pos 68
#154: Trailing whitespace.
* @description Hides all of the submenus of the root menu and focuses the // line 1261, pos 78
#155: Trailing whitespace.
menuNav._hideAllSubmenusTimer = // line 1312, pos 52
#156: Trailing whitespace.
later(menuNav.get(MOUSEOUT_HIDE_DELAY), // line 1314, pos 64
#157: Trailing whitespace.
if (!menuNav._isRoot(oMenu)) { // line 1326, pos 51
#158: Trailing whitespace.
bUseAutoSubmenuDisplay = // line 1351, pos 37
#159: Trailing whitespace.
submenuShowDelay = menuNav.get("submenuShowDelay"), // line 1353, pos 64
#160: Too many var statements.
var showSubmenu = function (delay) { // line 1357, pos 13
#161: Mixed spaces and tabs.
if (menuNav._movingToSubmenu) { // line 1382, pos 1
#162: Mixed spaces and tabs.
// line 1383, pos 1
#163: Mixed spaces and tabs.
// If the user is moving diagonally from a submenu to // line 1384, pos 1
#164: Trailing whitespace.
// If the user is moving diagonally from a submenu to // line 1384, pos 71
#165: Mixed spaces and tabs.
// another submenu and they then stop and pause on a // line 1385, pos 1
#166: Mixed spaces and tabs.
// menu label for an amount of time equal to the amount of // line 1386, pos 1
#167: Trailing whitespace.
// menu label for an amount of time equal to the amount of // line 1386, pos 76
#168: Mixed spaces and tabs.
// time defined for the display of a submenu then show the // line 1387, pos 1
#169: Trailing whitespace.
// time defined for the display of a submenu then show the // line 1387, pos 76
#170: Mixed spaces and tabs.
// submenu immediately. // line 1388, pos 1
#171: Mixed spaces and tabs.
// http://yuilibrary.com/projects/yui3/ticket/2528316 // line 1389, pos 1
#172: Mixed spaces and tabs.
// line 1390, pos 1
#173: Mixed spaces and tabs.
//Y.message("Pause path"); // line 1391, pos 1
#174: Mixed spaces and tabs.
// line 1392, pos 1
#175: Mixed spaces and tabs.
menuNav._hoverTimer = later(submenuShowDelay, menuNav, function () { // line 1393, pos 1
#176: Mixed spaces and tabs.
}); // line 1395, pos 1
#177: Mixed spaces and tabs.
// line 1396, pos 1
#178: Mixed spaces and tabs.
} // line 1397, pos 1
#179: Mixed spaces and tabs.
else { // line 1398, pos 1
#180: Mixed spaces and tabs.
} // line 1400, pos 1
#181: Trailing whitespace.
bUseAutoSubmenuDisplay = // line 1418, pos 37
#182: Trailing whitespace.
if (menuNav._movingToSubmenu && // line 1433, pos 44
#183: Trailing whitespace.
// If the mouse is moving diagonally toward the submenu and // line 1436, pos 79
#184: Trailing whitespace.
// another submenu isn't in the process of being displayed // line 1437, pos 78
#185: Trailing whitespace.
menuNav._hideSubmenuTimer = // line 1441, pos 44
#186: Trailing whitespace.
later(menuNav.get("submenuHideDelay"), menuNav, // line 1442, pos 68
#187: Trailing whitespace.
else if (!menuNav._movingToSubmenu && oSubmenu && (!oRelatedTarget || // line 1446, pos 82
#188: Mixed spaces and tabs.
(oRelatedTarget && // line 1447, pos 3
#189: Trailing whitespace.
(oRelatedTarget && // line 1447, pos 39
#190: Mixed spaces and tabs.
!oSubmenu.contains(oRelatedTarget) && // line 1448, pos 3
#191: Trailing whitespace.
!oSubmenu.contains(oRelatedTarget) && // line 1448, pos 62
#192: Mixed spaces and tabs.
!oRelatedTarget.compareTo(oSubmenu)))) { // line 1449, pos 3
#193: Trailing whitespace.
// If the mouse is not moving toward the submenu, cancel any // line 1451, pos 80
#194: Trailing whitespace.
// submenus that might be in the process of being displayed // line 1452, pos 79
#195: Trailing whitespace.
bUseAutoSubmenuDisplay = // line 1478, pos 37
#196: Trailing whitespace.
menuNav._setActiveItem(oItem); // line 1621, pos 63
#197: Trailing whitespace.
} // line 1631, pos 26
#198: Trailing whitespace.
} // line 1641, pos 10
#199: Trailing whitespace.
event.preventDefault(); // line 1648, pos 36
#200: Trailing whitespace.
} // line 1692, pos 10
#201: Trailing whitespace.
event.preventDefault(); // line 1699, pos 36
#202: Trailing whitespace.
// Using a timer to set the value of the "_currentMouseX" property // line 1719, pos 78
#203: Trailing whitespace.
// helps improve the reliability of the calculation used to set the // line 1720, pos 79
#204: Trailing whitespace.
menuNav._movingToSubmenu = // line 1819, pos 35
#205: Trailing whitespace.
(oActiveMenu && !isHorizontalMenu(oActiveMenu) && // line 1820, pos 70
#206: Trailing whitespace.
if (oSubmenu && oRelatedTarget && // line 1853, pos 46
#207: Trailing whitespace.
(oRelatedTarget.compareTo(oSubmenu) || // line 1854, pos 55
#208: Trailing whitespace.
menuNav._onMenuMouseOut(oMenu, event); // line 1866, pos 51
#209: Trailing whitespace.
* @description "mousedown," "keydown," and "click" event handler for the // line 1878, pos 77
#210: Trailing whitespace.
// Need to pass "2" as a second argument to "getAttribute" for // line 1904, pos 82
#211: Trailing whitespace.
// IE otherwise IE will return a fully qualified URL for the // line 1905, pos 80
#212: Trailing whitespace.
// Prevent the browser from following the URL of // line 1924, pos 84
#213: Expected '===' and instead saw '=='.
if (sType == MOUSEDOWN) { // line 1938, pos 39
#214: Trailing whitespace.
// Prevent the target from getting focused by // line 1940, pos 81
#215: Trailing whitespace.
// FocusManager will attempt to focus any // line 1946, pos 77
#216: Trailing whitespace.
// event. Since we want to explicitly control // line 1948, pos 82
#217: Mixed spaces and tabs.
// where focus is going, we need to call // line 1949, pos 1
#218: Trailing whitespace.
// where focus is going, we need to call // line 1949, pos 77
#219: Trailing whitespace.
// "stopImmediatePropagation" to stop the // line 1950, pos 77
#220: Trailing whitespace.
event.stopImmediatePropagation(); // line 1952, pos 66
#221: Trailing whitespace.
// The "_focusItem" method relies on the // line 1954, pos 76
#222: Trailing whitespace.
// "_hasFocus" property is normally set via a // line 1956, pos 81
#223: Trailing whitespace.
// "focus" event listener, but since we've // line 1957, pos 78
#224: Trailing whitespace.
// blocked focus from happening, we need to set // line 1958, pos 83
#225: Trailing whitespace.
menuNav._focusItem(oMenuLabel); // line 1972, pos 68
#226: Expected '===' and instead saw '=='.
if (menuNav._activeItem == oMenuLabel) { // line 1989, pos 57
#227: Trailing whitespace.
menuNav._setActiveItem(getFirstItem(oSubmenu)); // line 1993, pos 84
#228: Trailing whitespace.
// Prevent the browser from following the URL of // line 2025, pos 80
#229: Trailing whitespace.
} // line 2034, pos 18
#230: Trailing whitespace.
} // line 2065, pos 10
#231: Trailing whitespace.
}, // line 2067, pos 7
#232: Trailing whitespace.
}); // line 2103, pos 28
#233: Trailing whitespace.
menuNav._hideMenu(oActiveMenu, true); // line 2106, pos 62
#234: Trailing whitespace.
if (isMenuLabel(oActiveItem) && // line 2115, pos 52
#235: Trailing whitespace.
// This is necessary for Webkit since blurring the // line 2129, pos 78
#236: Trailing whitespace.
// active menuitem won't result in the document // line 2130, pos 75
#237: Trailing whitespace.
// gaining focus, meaning the that _onDocFocus // line 2131, pos 74
#238: Trailing whitespace.
menuNav._clearActiveItem(); // line 2134, pos 52
#239: Trailing whitespace.
* @description "mousedown" event handler for the owner document of // line 2150, pos 71
#240: Trailing whitespace.
// Document doesn't receive focus in Webkit when the user mouses // line 2166, pos 80
#241: Trailing whitespace.
// down on it, so the "_hasFocus" property won't get set to the // line 2167, pos 79
#242: 'config' is defined but never used.
initializer: function (config) { // line 693, pos 34
#243: 'event' is defined but never used.
_onMenuMouseOver: function (menu, event) { // line 1227, pos 44
#244: 'event' is defined but never used.
_onMenuLabelMouseOver: function (menuLabel, event) { // line 1346, pos 54
#245: 'event' is defined but never used.
_onMenuItemMouseOver: function (menuItem, event) { // line 1473, pos 52
#246: 'event' is defined but never used.
_onMenuItemMouseOut: function (menuItem, event) { // line 1502, pos 51
#247: 'menuItem' is defined but never used.
_onMenuItemMouseOut: function (menuItem, event) { // line 1502, pos 44
yogi [warn] /Users/derek/src/yui/yui3/src/node-menunav/meta/node-menunav.json contains 4 lint errors
#1: Trailing whitespace.
"node", // line 4, pos 20
#2: Trailing whitespace.
"classnamemanager", // line 5, pos 32
#3: Trailing whitespace.
"plugin", // line 6, pos 22
#4: Trailing whitespace.
], // line 8, pos 11
yogi [warn] lint found a total of 251 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: node-scroll-info
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/node-scroll-info/js/node-scroll-info.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/node-scroll-info/js/node-scroll-info.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/node-scroll-info/meta/node-scroll-info.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: node
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/node/js/align-plugin.js
/Users/derek/src/yui/yui3/src/node/js/node-attrs.js
/Users/derek/src/yui/yui3/src/node/js/node-class.js
/Users/derek/src/yui/yui3/src/node/js/node-core.js
/Users/derek/src/yui/yui3/src/node/js/node-create.js
/Users/derek/src/yui/yui3/src/node/js/node-data.js
/Users/derek/src/yui/yui3/src/node/js/node-event-delegate.js
/Users/derek/src/yui/yui3/src/node/js/node-event-html5.js
/Users/derek/src/yui/yui3/src/node/js/node-event-simulate.js
/Users/derek/src/yui/yui3/src/node/js/node-event.js
/Users/derek/src/yui/yui3/src/node/js/node-ie.js
/Users/derek/src/yui/yui3/src/node/js/node-imports.js
/Users/derek/src/yui/yui3/src/node/js/node-load.js
/Users/derek/src/yui/yui3/src/node/js/node-pluginhost.js
/Users/derek/src/yui/yui3/src/node/js/node-region.js
/Users/derek/src/yui/yui3/src/node/js/node-screen.js
/Users/derek/src/yui/yui3/src/node/js/node-size.js
/Users/derek/src/yui/yui3/src/node/js/node-style.js
/Users/derek/src/yui/yui3/src/node/js/node-view.js
/Users/derek/src/yui/yui3/src/node/js/nodelist-array.js
/Users/derek/src/yui/yui3/src/node/js/nodelist.js
/Users/derek/src/yui/yui3/src/node/js/shim-plugin.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/align-plugin.js contains 11 lint errors
#1: Trailing whitespace.
* for centering and alignment. // line 3, pos 36
#2: Expected an identifier and instead saw 'undefined' (a reserved word).
undefined = undefined; // line 9, pos 9
#3: It is not necessary to initialize 'undefined' to 'undefined'.
undefined = undefined; // line 9, pos 19
#4: Trailing whitespace.
* @method to // line 48, pos 22
#5: Trailing whitespace.
* @param point {String} The point of the node aligned to the region. // line 52, pos 78
#6: Trailing whitespace.
* @method center // line 125, pos 26
#7: Trailing whitespace.
this.to(region, 'cc', 'cc', resize); // line 132, pos 49
#8: Trailing whitespace.
* @method destroy // line 139, pos 27
#9: 'undefined' is defined but never used.
undefined = undefined; // line 9, pos 18
#10: 'off' is defined but never used.
't': function(xy, off) { // line 150, pos 30
#11: 'off' is defined but never used.
'l': function(xy, off) { // line 162, pos 30
yogi [info] /Users/derek/src/yui/yui3/src/node/js/node-attrs.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/node/js/node-class.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-core.js contains 25 lint errors
#1: Expected '===' and instead saw '=='.
if (typeof node == 'string') { // line 40, pos 25
#2: Expected '===' and instead saw '=='.
ret = (typeof fn == 'string') ? // line 79, pos 30
#3: Expected '===' and instead saw '=='.
if (typeof val == 'object' || typeof val == 'function') { // safari nodeList === function // line 164, pos 25
#4: Expected '===' and instead saw '=='.
if (typeof val == 'object' || typeof val == 'function') { // safari nodeList === function // line 164, pos 51
#5: Expected '===' and instead saw '=='.
if (name && fn && typeof fn == 'function') { // line 193, pos 33
#6: Expected '!==' and instead saw '!='.
(typeof ret != 'undefined') || (ret = node); // line 214, pos 25
#7: Expected an assignment or function call and instead saw an expression.
(typeof ret != 'undefined') || (ret = node); // line 214, pos 55
#8: Expected '===' and instead saw '=='.
if (typeof name == 'string') { // line 233, pos 21
#9: Expected '===' and instead saw '=='.
if (typeof node == 'string') { // line 280, pos 25
#10: Expected '!==' and instead saw '!='.
if (node.nodeType != 11) { // dont cache document fragment // line 295, pos 35
#11: Expected '!==' and instead saw '!='.
} else if (typeof node[name] != 'undefined') { // pass thru DOM properties // line 323, pos 34
#12: Expected '!==' and instead saw '!='.
} else if (typeof node[name] != 'undefined') { // pass thru from DOM // line 344, pos 34
#13: Expected '===' and instead saw '=='.
(typeof testSelf == 'string' || typeof testSelf == 'function')) { // line 556, pos 34
#14: Expected '===' and instead saw '=='.
(typeof testSelf == 'string' || typeof testSelf == 'function')) { // line 556, pos 65
#15: Expected '===' and instead saw '=='.
(typeof testSelf == 'string' || typeof testSelf == 'function')) { // line 573, pos 34
#16: Expected '===' and instead saw '=='.
(typeof testSelf == 'string' || typeof testSelf == 'function')) { // line 573, pos 65
#17: Trailing whitespace.
* Retrieves a single Node instance, the first element matching the given // line 616, pos 78
#18: Trailing whitespace.
* @return {Node | null} A Node instance for the matching HTMLElement or null // line 622, pos 82
#19: Expected '===' and instead saw '=='.
if (typeof newNode == 'string') { // line 694, pos 28
#20: Expected '===' and instead saw '=='.
if (typeof node == 'string') { // line 709, pos 25
#21: Expected '!==' and instead saw '!='.
typeof node[method] != 'unknown' && // line 812, pos 37
#22: Expected '===' and instead saw '=='.
(typeof node[method] == 'function' || // line 813, pos 34
#23: 'TAG_NAME' is defined but never used.
TAG_NAME = 'tagName', // line 27, pos 13
#24: 'EMPTY_OBJ' is defined but never used.
EMPTY_OBJ = {}, // line 29, pos 14
#25: 'n' is defined but never used.
Y.Array.each(attrs, function(v, n) { // line 490, pos 46
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-create.js contains 2 lint errors
#1: Expected '===' and instead saw '=='.
if (typeof where == 'number') { // allow index // line 74, pos 26
#2: Expected '!==' and instead saw '!='.
if (content && typeof content != 'string') { // allow Node or NodeList/Array instances // line 80, pos 39
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-data.js contains 5 lint errors
#1: Trailing whitespace.
* // line 3, pos 3
#2: Expected '===' and instead saw '=='.
} else if (typeof data == 'object' && data !== null) { // all fields // line 39, pos 32
#3: Expected '!==' and instead saw '!='.
if (typeof name != 'undefined') { // line 117, pos 29
#4: Trailing whitespace.
* @return {Array} An array containing all of the data for each Node instance. // line 137, pos 82
#5: 'args' is defined but never used.
var args = (arguments.length) ? [name] : []; // line 169, pos 17
yogi [info] /Users/derek/src/yui/yui3/src/node/js/node-event-delegate.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/node/js/node-event-html5.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-event-simulate.js contains 83 lint errors
#1: Trailing whitespace.
* Simulates the higher user level gesture of the given name on this node. // line 21, pos 75
#2: Trailing whitespace.
* This method generates a set of low level touch events(Apple specific gesture // line 22, pos 80
#3: Trailing whitespace.
* events as well for the iOS platforms) asynchronously. Note that gesture // line 23, pos 75
#4: Trailing whitespace.
* simulation is relying on `Y.Event.simulate()` method to generate // line 24, pos 68
#5: Trailing whitespace.
* // line 27, pos 3
#6: Trailing whitespace.
* // line 30, pos 3
#7: Trailing whitespace.
* requires `start` and `end` option properties while `rotate` requires `rotation` // line 35, pos 83
#8: Trailing whitespace.
* // line 37, pos 3
#9: Trailing whitespace.
* circle. Pinching and spreading can be described by start and end circles while // line 39, pos 82
#10: Trailing whitespace.
* rotation occurs on a single circle. If the radius of the start circle is greater // line 40, pos 84
#11: Trailing whitespace.
* // line 42, pos 3
#12: Trailing whitespace.
* // line 46, pos 3
#13: Trailing whitespace.
* // line 51, pos 3
#14: Trailing whitespace.
* // line 60, pos 3
#15: Trailing whitespace.
* // simulate rotating a node 75 degrees counter-clockwise // line 61, pos 64
#16: Trailing whitespace.
* // simulate a pinch and a rotation at the same time. // line 66, pos 60
#17: Trailing whitespace.
* // fingers end on a circle of radius 50px, placed at right/left // line 68, pos 71
#18: Trailing whitespace.
* // line 75, pos 3
#19: Trailing whitespace.
* @param {String} name The name of the supported gesture to simulate. The // line 77, pos 75
#20: Trailing whitespace.
* supported gesture name is one of "tap", "doubletap", "press", "move", // line 78, pos 78
#21: Trailing whitespace.
* "flick", "pinch" and "rotate". // line 79, pos 39
#22: Trailing whitespace.
* // line 81, pos 3
#23: Trailing whitespace.
* // line 83, pos 3
#24: Trailing whitespace.
* @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates // line 84, pos 82
#25: Trailing whitespace.
* where the tap should be simulated. Default is the center of the node // line 85, pos 79
#26: Trailing whitespace.
* @param {Number} [options.hold=10] (Optional) The hold time in milliseconds. // line 87, pos 84
#27: Trailing whitespace.
* @param {Number} [options.delay=10] (Optional) The number of milliseconds // line 90, pos 81
#28: Trailing whitespace.
* before the next tap simulation happens. This is valid only when `times` // line 91, pos 82
#29: Trailing whitespace.
* is more than 1. // line 92, pos 26
#30: Trailing whitespace.
* // line 93, pos 3
#31: Trailing whitespace.
* // line 95, pos 3
#32: Trailing whitespace.
* @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates // line 96, pos 82
#33: Trailing whitespace.
* where the doubletap should be simulated. Default is the center of the // line 97, pos 80
#34: Trailing whitespace.
* // line 99, pos 3
#35: Trailing whitespace.
* // line 101, pos 3
#36: Trailing whitespace.
* @param {Array} [options.point] (Optional) Indicates the [x,y] coordinates // line 102, pos 82
#37: Trailing whitespace.
* where the press should be simulated. Default is the center of the node // line 103, pos 81
#38: Trailing whitespace.
* @param {Number} [options.hold=3000] (Optional) The hold time in milliseconds. // line 105, pos 86
#39: Trailing whitespace.
* This is the time between `touchstart` and `touchend` event generation. // line 106, pos 81
#40: Trailing whitespace.
* // line 108, pos 3
#41: Trailing whitespace.
* // line 110, pos 3
#42: Trailing whitespace.
* @param {Object} [options.path] (Optional) Indicates the path of the finger // line 111, pos 83
#43: Trailing whitespace.
* movement. It's an object with three optional properties: `point`, // line 112, pos 76
#44: Trailing whitespace.
* @param {Number} [options.path.xdist=200] A distance to move in pixels // line 116, pos 80
#45: Trailing whitespace.
* @param {Number} [options.path.ydist=0] A distance to move in pixels // line 118, pos 78
#46: Trailing whitespace.
* @param {Number} [options.duration=1000] (Optional) The duration of the // line 120, pos 79
#47: Trailing whitespace.
* // line 122, pos 3
#48: Trailing whitespace.
* // line 124, pos 3
#49: Trailing whitespace.
* @param {Array} [options.point] (Optional) Indicates the [x, y] coordinates // line 125, pos 83
#50: Trailing whitespace.
* where the flick should be simulated. Default is the center of the // line 126, pos 76
#51: Trailing whitespace.
* @param {String} [options.axis='x'] (Optional) Valid values are either // line 128, pos 78
#52: Trailing whitespace.
* "x" or "y". Indicates axis to move along. The flick can move to one of // line 129, pos 81
#53: Trailing whitespace.
* @param {Number} [options.duration=1000] (Optional) The duration of the // line 132, pos 79
#54: Trailing whitespace.
* gesture in milliseconds. User given value could be automatically // line 133, pos 75
#55: Trailing whitespace.
* adjusted by the framework if it is below the minimum velocity to be // line 134, pos 78
#56: Trailing whitespace.
* // line 136, pos 3
#57: Trailing whitespace.
* // line 138, pos 3
#58: Trailing whitespace.
* @param {Array} [options.center] (Optional) The center of the circle where // line 139, pos 82
#59: Trailing whitespace.
* @param {Number} [options.r1] (Required) Pixel radius of the start circle // line 141, pos 81
#60: Trailing whitespace.
* where 2 fingers will be on when the gesture starts. The circles are // line 142, pos 78
#61: Trailing whitespace.
* @param {Number} [options.r2] (Required) Pixel radius of the end circle // line 144, pos 79
#62: Trailing whitespace.
* @param {Number} [options.duration=1000] (Optional) The duration of the // line 146, pos 79
#63: Trailing whitespace.
* @param {Number} [options.start=0] (Optional) Starting degree of the first // line 148, pos 82
#64: Trailing whitespace.
* finger. The value is relative to the path of the north. Default is 0 // line 149, pos 79
#65: Trailing whitespace.
* @param {Number} [options.rotation=0] (Optional) Degrees to rotate from // line 151, pos 79
#66: Trailing whitespace.
* the starting degree. A negative value means rotation to the // line 152, pos 70
#67: Trailing whitespace.
* // line 154, pos 3
#68: Trailing whitespace.
* // line 156, pos 3
#69: Trailing whitespace.
* @param {Array} [options.center] (Optional) The center of the circle where // line 157, pos 82
#70: Trailing whitespace.
* @param {Number} [options.r1] (Optional) Pixel radius of the start circle // line 159, pos 81
#71: Trailing whitespace.
* where 2 fingers will be on when the gesture starts. The circles are // line 160, pos 78
#72: Trailing whitespace.
* centered at the center of the element. Default is a fourth of the node // line 161, pos 81
#73: Trailing whitespace.
* @param {Number} [options.r2] (Optional) Pixel radius of the end circle // line 163, pos 79
#74: Trailing whitespace.
* when this gesture ends. Default is a fourth of the node element width or // line 164, pos 83
#75: Trailing whitespace.
* @param {Number} [options.duration=1000] (Optional) The duration of the // line 166, pos 79
#76: Trailing whitespace.
* @param {Number} [options.start=0] (Optional) Starting degree of the first // line 168, pos 82
#77: Trailing whitespace.
* finger. The value is relative to the path of the north. Default is 0 // line 169, pos 79
#78: Trailing whitespace.
* @param {Number} [options.rotation] (Required) Degrees to rotate from // line 171, pos 77
#79: Trailing whitespace.
* the starting degree. A negative value means rotation to the // line 172, pos 70
#80: Trailing whitespace.
* // line 174, pos 3
#81: Trailing whitespace.
* @param {Function} [cb] The callback to execute when the asynchronouse gesture // line 175, pos 81
#82: Trailing whitespace.
* simulation is completed. // line 176, pos 33
#83: Trailing whitespace.
* @param {Error} cb.err An error object if the simulation is failed. // line 177, pos 75
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-event.js contains 12 lint errors
#1: 'context' is defined but never used.
on: function(type, fn, context) { // line 145, pos 35
#2: 'fn' is defined but never used.
on: function(type, fn, context) { // line 145, pos 26
#3: 'type' is defined but never used.
on: function(type, fn, context) { // line 145, pos 22
#4: 'context' is defined but never used.
once: function(type, fn, context) { // line 160, pos 37
#5: 'fn' is defined but never used.
once: function(type, fn, context) { // line 160, pos 28
#6: 'type' is defined but never used.
once: function(type, fn, context) { // line 160, pos 24
#7: 'context' is defined but never used.
after: function(type, fn, context) { // line 177, pos 38
#8: 'fn' is defined but never used.
after: function(type, fn, context) { // line 177, pos 29
#9: 'type' is defined but never used.
after: function(type, fn, context) { // line 177, pos 25
#10: 'context' is defined but never used.
onceAfter: function(type, fn, context) { // line 195, pos 42
#11: 'fn' is defined but never used.
onceAfter: function(type, fn, context) { // line 195, pos 33
#12: 'type' is defined but never used.
onceAfter: function(type, fn, context) { // line 195, pos 29
yogi [info] /Users/derek/src/yui/yui3/src/node/js/node-ie.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/node/js/node-imports.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-load.js contains 2 lint errors
#1: Expected '===' and instead saw '=='.
if (typeof selector == 'function') { // line 46, pos 25
#2: Expected an identifier and instead saw 'arguments' (a reserved word).
arguments: [selector, callback] // line 55, pos 9
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-pluginhost.js contains 5 lint errors
#1: Trailing whitespace.
* @param P {Function | Object |Array} Accepts the plugin class, or an // line 52, pos 71
#2: Trailing whitespace.
* object with a "fn" property specifying the plugin class and // line 53, pos 63
#3: Trailing whitespace.
* Additionally an Array can also be passed in, with the above function or // line 56, pos 75
#4: Trailing whitespace.
* Removes a plugin from all nodes in the NodeList. This will destroy the // line 72, pos 74
#5: Trailing whitespace.
* plugin instance and delete the namespace each node. // line 73, pos 55
yogi [info] /Users/derek/src/yui/yui3/src/node/js/node-region.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-screen.js contains 11 lint errors
#1: Trailing whitespace.
* Adds support for positioning elements and normalizes window size and scroll detection. // line 3, pos 90
#2: Trailing whitespace.
* Returns the inner width of the viewport (exludes scrollbar). // line 11, pos 68
#3: Trailing whitespace.
* Returns the inner height of the viewport (exludes scrollbar). // line 19, pos 69
#4: Trailing whitespace.
* Document width // line 26, pos 22
#5: Trailing whitespace.
* Document height // line 33, pos 23
#6: Trailing whitespace.
* Pixel distance the page has been scrolled horizontally // line 40, pos 62
#7: Trailing whitespace.
* Pixel distance the page has been scrolled vertically // line 47, pos 60
#8: Trailing whitespace.
* Gets the current position of the node in page coordinates. // line 107, pos 62
#9: Trailing whitespace.
* Gets the current position of the node in page coordinates. // line 123, pos 62
#10: Trailing whitespace.
* Gets the current position of the node in page coordinates. // line 138, pos 62
#11: Trailing whitespace.
* Swaps the XY position of this node with another node. // line 153, pos 57
yogi [info] /Users/derek/src/yui/yui3/src/node/js/node-size.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-style.js contains 10 lint errors
#1: Trailing whitespace.
* @param {String} attr The style attribute to set. // line 13, pos 56
#2: Trailing whitespace.
* @param {String|Number} val The value. // line 14, pos 45
#3: Trailing whitespace.
* @param {Object} hash An object literal of property:value pairs. // line 26, pos 71
#4: Trailing whitespace.
* @param {String} attr The style attribute to retrieve. // line 39, pos 61
#5: Trailing whitespace.
* @param {String} attr The style attribute to retrieve. // line 51, pos 61
#6: Trailing whitespace.
* @param {String} attr The style attribute to retrieve. // line 65, pos 57
#7: Trailing whitespace.
* @param {String} attr The style attribute to retrieve. // line 74, pos 57
#8: Trailing whitespace.
* @param {String} attr The style attribute to set. // line 83, pos 52
#9: Trailing whitespace.
* @param {String|Number} val The value. // line 84, pos 41
#10: Trailing whitespace.
* @param {Object} hash An object literal of property:value pairs. // line 93, pos 67
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/node-view.js contains 4 lint errors
#1: Expected '!==' and instead saw '!='.
if (typeof on != 'boolean') { // line 69, pos 23
#2: Expected '===' and instead saw '=='.
if (typeof callback == 'function') { // line 79, pos 29
#3: 'callback' is defined but never used.
toggleView: function(on, callback) { // line 60, pos 38
#4: 'on' is defined but never used.
toggleView: function(on, callback) { // line 60, pos 28
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/nodelist-array.js contains 4 lint errors
#1: Line too long.
As a negative index, start indicates an offset from the end of the sequence. slice(-2) extracts the second-to-last element and the last element in the sequence. // line 39, pos 170
#2: Line too long.
As a negative index, end indicates an offset from the end of the sequence. slice(2,-1) extracts the third element through the second-to-last element in the sequence. // line 42, pos 175
#3: Line too long.
* @param {Number} howMany An integer indicating the number of old array elements to remove. If howMany is 0, no elements are removed. In this case, you should specify at least one new element. If no howMany parameter is specified (second syntax above, which is a SpiderMonkey extension), all elements after index are removed. // line 51, pos 335
#4: Expected '!==' and instead saw '!='.
while (typeof (arg = arguments[i++]) != 'undefined') { // use DOM nodes/nodeLists // line 73, pos 46
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/nodelist.js contains 9 lint errors
#1: Line too long.
* @param nodes {String|element|Node|Array} A selector, DOM element, Node, list of DOM elements, or list of Nodes with which to populate this NodeList. // line 14, pos 151
#2: Trailing whitespace.
/** // line 352, pos 9
#3: Trailing whitespace.
* Called on each Node instance. Nulls internal node references, // line 353, pos 70
#4: Trailing whitespace.
* @param {Boolean} recursivePurge (optional) Whether or not to // line 356, pos 69
#5: Trailing whitespace.
/** // line 362, pos 9
#6: Trailing whitespace.
* Called on each Node instance. Removes and destroys all of the nodes // line 363, pos 76
#7: Trailing whitespace.
/** // line 371, pos 9
#8: Trailing whitespace.
/** // line 382, pos 9
#9: 'doc' is defined but never used.
var doc, // line 281, pos 16
yogi [warn] /Users/derek/src/yui/yui3/src/node/js/shim-plugin.js contains 1 lint errors
#1: Trailing whitespace.
* // line 30, pos 7
yogi [info] /Users/derek/src/yui/yui3/src/node/meta/node.json is OK
yogi [warn] lint found a total of 184 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: number
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/number/js/number-format.js
/Users/derek/src/yui/yui3/src/number/js/number-parse.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/number/js/number-format.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/number/js/number-parse.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/number/meta/number.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: oop
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/oop/js/oop.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/oop/js/oop.js contains 5 lint errors
#1: Expected '!==' and instead saw '!='.
if (s != Object && sp.constructor == OP.constructor) { // line 180, pos 11
#2: Expected '===' and instead saw '=='.
if (s != Object && sp.constructor == OP.constructor) { // line 180, pos 39
#3: Expected '===' and instead saw '=='.
if (k == 'prototype') { // line 327, pos 23
#4: Empty block.
} else { // line 331, pos 19
#5: 'k' is defined but never used.
Y.Object.each(marked, function(v, k) { // line 340, pos 44
yogi [info] /Users/derek/src/yui/yui3/src/oop/meta/oop.json is OK
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: overlay
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/overlay/js/Overlay.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/overlay/js/Overlay.js contains 1 lint errors
#1: Trailing whitespace.
* provides Page XY positioning support, alignment and centering support along with basic // line 3, pos 90
yogi [warn] /Users/derek/src/yui/yui3/src/overlay/meta/overlay.json contains 6 lint errors
#1: Trailing whitespace.
"widget", // line 4, pos 22
#2: Trailing whitespace.
"widget-stdmod", // line 5, pos 29
#3: Trailing whitespace.
"widget-position", // line 6, pos 31
#4: Trailing whitespace.
"widget-position-align", // line 7, pos 37
#5: Trailing whitespace.
"widget-stack", // line 8, pos 28
#6: Trailing whitespace.
], // line 10, pos 11
yogi [warn] lint found a total of 7 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: paginator
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/paginator/js/paginator-core.js
/Users/derek/src/yui/yui3/src/paginator/js/paginator-url.js
/Users/derek/src/yui/yui3/src/paginator/js/paginator.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/paginator/js/paginator-core.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/paginator/js/paginator-url.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/paginator/js/paginator.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/paginator/meta/paginator.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: panel
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/panel/js/panel.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/panel/js/panel.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/panel/meta/panel.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: parallel
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/parallel/js/parallel.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/parallel/js/parallel.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/parallel/meta/parallel.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: pjax
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/pjax/js/pjax-base.js
/Users/derek/src/yui/yui3/src/pjax/js/pjax-content.js
/Users/derek/src/yui/yui3/src/pjax/js/pjax-plugin.js
/Users/derek/src/yui/yui3/src/pjax/js/pjax.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/pjax/js/pjax-base.js contains 5 lint errors
#1: Expected an assignment or function call and instead saw an expression.
port || (port = 80); // line 198, pos 39
#2: Expected an assignment or function call and instead saw an expression.
linkPort || (linkPort = 80); // line 199, pos 39
#3: Expected an assignment or function call and instead saw an expression.
port || (port = 443); // line 201, pos 40
#4: Expected an assignment or function call and instead saw an expression.
linkPort || (linkPort = 443); // line 202, pos 40
#5: Expected an assignment or function call and instead saw an expression.
'replace' in options || (options.replace = url === currentURL); // line 260, pos 70
yogi [info] /Users/derek/src/yui/yui3/src/pjax/js/pjax-content.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/pjax/js/pjax-plugin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/pjax/js/pjax.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/pjax/meta/pjax.json is OK
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: plugin
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/plugin/js/plugin.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/plugin/js/plugin.js contains 4 lint errors
#1: Line too long.
* @param fn {Function} The handler function. For events, the "on" moment listener. For methods, the function to execute before the given method is executed. // line 112, pos 165
#2: Line too long.
* @param fn {Function} The handler function. For events, the "after" moment listener. For methods, the function to execute after the given method is executed. // line 135, pos 167
#3: 'config' is defined but never used.
function Plugin(config) { // line 14, pos 27
#4: 'config' is defined but never used.
initializer : function(config) { // line 83, pos 38
yogi [info] /Users/derek/src/yui/yui3/src/plugin/meta/plugin.json is OK
yogi [warn] lint found a total of 4 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: pluginhost
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/pluginhost/js/PluginHost.js
/Users/derek/src/yui/yui3/src/pluginhost/js/PluginHostConfig.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/pluginhost/js/PluginHost.js contains 15 lint errors
#1: Trailing whitespace.
* It adds <a href="#method_plug">plug</a> and <a href="#method_unplug">unplug</a> methods to the augmented class, which can // line 14, pos 129
#2: Trailing whitespace.
* the "plugins" property. Supported values for the "plugins" property are those defined by the <a href="#method_plug">plug</a> method. // line 19, pos 140
#3: Trailing whitespace.
* // line 20, pos 7
#4: Trailing whitespace.
* Plug.Host's protected <a href="#method_initPlugins">_initPlugins</a> and <a href="#method_destroyPlugins">_destroyPlugins</a> // line 27, pos 133
#5: Trailing whitespace.
* methods should be invoked by the host class at the appropriate point in the host's lifecyle. // line 28, pos 100
#6: Trailing whitespace.
* Adds a plugin to the host object. This will instantiate the // line 43, pos 71
#7: Trailing whitespace.
* @param P {Function | Object |Array} Accepts the plugin class, or an // line 48, pos 79
#8: Trailing whitespace.
* object with a "fn" property specifying the plugin class and // line 49, pos 71
#9: Trailing whitespace.
* Additionally an Array can also be passed in, with the above function or // line 52, pos 83
#10: Line too long.
else { Y.log("Attempt to replug an already attached plugin, and we can't setAttrs, because it's not Attribute based: " + ns); } // line 84, pos 151
#11: Trailing whitespace.
* Removes a plugin from the host object. This will destroy the // line 97, pos 72
#12: Trailing whitespace.
* plugin instance and delete the namespace from the host object. // line 98, pos 74
#13: Line too long.
* @param {String | Function} plugin The namespace of the plugin, or the plugin class with the static NS namespace property defined. If not provided, // line 101, pos 157
#14: Trailing whitespace.
var ns = plugin, // line 107, pos 29
#15: Trailing whitespace.
* Base.plug static method) and any plugins passed to the // line 152, pos 66
yogi [warn] /Users/derek/src/yui/yui3/src/pluginhost/js/PluginHostConfig.js contains 4 lint errors
#1: Trailing whitespace.
* // line 12, pos 7
#2: Trailing whitespace.
* // line 15, pos 7
#3: Trailing whitespace.
* Registers plugins to be instantiated at the class level (plugins // line 61, pos 72
#4: Line too long.
* @param {Function | Array} plugin Either the plugin class, an array of plugin classes or an array of objects (with fn and cfg properties defined) // line 68, pos 151
yogi [warn] /Users/derek/src/yui/yui3/src/pluginhost/meta/pluginhost.json contains 1 lint errors
#1: Trailing whitespace.
}, // line 9, pos 15
yogi [warn] lint found a total of 20 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: promise
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/promise/js/batch.js
/Users/derek/src/yui/yui3/src/promise/js/promise.js
/Users/derek/src/yui/yui3/src/promise/js/resolver.js
/Users/derek/src/yui/yui3/src/promise/js/when.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/promise/js/batch.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/promise/js/promise.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/promise/js/resolver.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/promise/js/when.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/promise/meta/promise.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: querystring
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/querystring/js/querystring-parse-simple.js
/Users/derek/src/yui/yui3/src/querystring/js/querystring-parse.js
/Users/derek/src/yui/yui3/src/querystring/js/querystring-stringify-simple.js
/Users/derek/src/yui/yui3/src/querystring/js/querystring-stringify.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/querystring/js/querystring-parse-simple.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/querystring/js/querystring-parse.js contains 2 lint errors
#1: 'mergeObjects' was used before it was defined.
mergeObjects = function(params, addition) { // line 110, pos 14
#2: 'mergeObjects' is defined but never used.
mergeObjects = function(params, addition) { // line 110, pos 13
yogi [info] /Users/derek/src/yui/yui3/src/querystring/js/querystring-stringify-simple.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/querystring/js/querystring-stringify.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/querystring/meta/querystring-parse-simple.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/querystring/meta/querystring-stringify-simple.json is OK
yogi [warn] /Users/derek/src/yui/yui3/src/querystring/meta/querystring.json contains 2 lint errors
#1: Trailing whitespace.
"yui-base", // line 7, pos 32
#2: Trailing whitespace.
}, // line 10, pos 15
yogi [warn] lint found a total of 4 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: queue-promote
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/queue-promote/js/queue-promote.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/queue-promote/js/queue-promote.js contains 1 lint errors
#1: Trailing whitespace.
* // line 11, pos 7
yogi [info] /Users/derek/src/yui/yui3/src/queue-promote/meta/queue-promote.json is OK
yogi [warn] lint found a total of 1 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: recordset
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/recordset/js/record.js
/Users/derek/src/yui/yui3/src/recordset/js/recordset-base.js
/Users/derek/src/yui/yui3/src/recordset/js/recordset-filter.js
/Users/derek/src/yui/yui3/src/recordset/js/recordset-indexer.js
/Users/derek/src/yui/yui3/src/recordset/js/recordset-sort.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/recordset/js/record.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/recordset/js/recordset-base.js contains 5 lint errors
#1: Line too long.
// 1. Instantiating new Y.Recordset() will not go into the setter of "records", and so it is necessary to create this._items in the initializer. // line 37, pos 152
#2: Line too long.
// 2. Instantiating new Y.Recordset({records: [{...}]}) will call the setter of "records" and create this._items. In this case, we don't want that to be overwritten by []. // line 38, pos 179
#3: Trailing whitespace.
@param {Number} [index] The index to start updating from. // line 284, pos 62
#4: 'e' is defined but never used.
_defEmptyFn: function(e) { // line 357, pos 28
#5: 'e' is defined but never used.
_hashRecordsChange: function (hash, key, e) { // line 398, pos 47
yogi [warn] /Users/derek/src/yui/yui3/src/recordset/js/recordset-filter.js contains 2 lint errors
#1: Trailing whitespace.
* Uses the filter methods available on Y.Array (see arrayextras submodule) to filter the recordset. // line 15, pos 101
#2: 'config' is defined but never used.
function RecordsetFilter(config) { // line 18, pos 32
yogi [warn] /Users/derek/src/yui/yui3/src/recordset/js/recordset-indexer.js contains 9 lint errors
#1: Trailing whitespace.
* @description Collection of all the hashTables created by the plugin. // line 22, pos 79
#2: Trailing whitespace.
* The individual tables can be accessed by the key they are hashing against. // line 23, pos 85
#3: Line too long.
//if the hashtable has a key storing a record, and the key and the record both match the record being deleted, delete that row from the hashtable // line 129, pos 161
#4: Line too long.
//TODO: It will be more performant to create a new method rather than using _defAddHash, _defRemoveHash, due to the number of loops. See commented code. // line 145, pos 160
#5: Trailing whitespace.
//the undefined case is if more records are updated than currently exist in the recordset. // line 164, pos 119
#6: Trailing whitespace.
// // line 172, pos 31
#7: 'config' is defined but never used.
function RecordsetIndexer(config) { // line 11, pos 33
#8: 'config' is defined but never used.
initializer: function(config) { // line 47, pos 33
#9: 'config' is defined but never used.
destructor: function(config) { // line 57, pos 32
yogi [warn] /Users/derek/src/yui/yui3/src/recordset/js/recordset-sort.js contains 10 lint errors
#1: Missing 'new' prefix when invoking a constructor.
var sorted = Compare(recA.getValue(field), recB.getValue(field), desc); // line 55, pos 30
#2: Missing 'new' prefix when invoking a constructor.
return Compare(recA.get("id"), recB.get("id"), desc); // line 57, pos 28
#3: Trailing whitespace.
* @description Method that all sort calls go through. // line 120, pos 59
#4: Trailing whitespace.
* Sets up the lastSortProperties object with the details of the sort, and passes in parameters // line 121, pos 100
#5: Line too long.
* @description Sorts the recordset based on the last-used sort parameters, but flips the order. (ie: Descending becomes ascending, and vice versa). // line 178, pos 152
#6: 'sorter' is defined but never used.
function RecordsetSort(field, desc, sorter) { // line 15, pos 43
#7: 'desc' is defined but never used.
function RecordsetSort(field, desc, sorter) { // line 15, pos 35
#8: 'field' is defined but never used.
function RecordsetSort(field, desc, sorter) { // line 15, pos 29
#9: 'config' is defined but never used.
initializer: function(config) { // line 86, pos 33
#10: 'config' is defined but never used.
destructor: function(config) { // line 116, pos 32
yogi [warn] /Users/derek/src/yui/yui3/src/recordset/meta/recordset.json contains 1 lint errors
#1: Trailing whitespace.
"plugin" // line 17, pos 29
yogi [warn] lint found a total of 27 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: resize
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/resize/js/resize-base.js
/Users/derek/src/yui/yui3/src/resize/js/resize-constrain.js
/Users/derek/src/yui/yui3/src/resize/js/resize-plugin.js
/Users/derek/src/yui/yui3/src/resize/js/resize-proxy.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/resize/js/resize-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/resize/js/resize-constrain.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/resize/js/resize-plugin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/resize/js/resize-proxy.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/resize/meta/resize.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: scrollview
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/scrollview/js/ScrollViewBaseIE.js
/Users/derek/src/yui/yui3/src/scrollview/js/list-plugin.js
/Users/derek/src/yui/yui3/src/scrollview/js/paginator-plugin.js
/Users/derek/src/yui/yui3/src/scrollview/js/scrollbars-plugin.js
/Users/derek/src/yui/yui3/src/scrollview/js/scrollview-base.js
/Users/derek/src/yui/yui3/src/scrollview/js/scrollview.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/scrollview/js/list-plugin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/scrollview/js/paginator-plugin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/scrollview/js/scrollbars-plugin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/scrollview/js/scrollview-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/scrollview/js/scrollview.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/scrollview/js/ScrollViewBaseIE.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/scrollview/meta/scrollview.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: simpleyui
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/simpleyui/js/concat.js
/Users/derek/src/yui/yui3/src/simpleyui/js/empty.js
/Users/derek/src/yui/yui3/src/simpleyui/js/simple.js
yogi [info] lint complete
Failed to find lines for { name: 'color',
submodules: { 'dom-base': 1 },
classes: {},
fors: {},
namespaces: {} }
Failed to find lines for { name: 'querystring',
submodules: { 'node-screen': 1 },
classes: {},
fors: {},
namespaces: {} }
yogi [warn] /Users/derek/src/yui/yui3/src/simpleyui/js/concat.js contains 348 lint errors
#1: Redefinition of 'YUI'.
var YUI = function() { // line 59, pos 9
#2: Empty block.
} else { // line 291, pos 19
#3: Missing 'new' prefix when invoking a constructor.
global: Function('return this')() // line 473, pos 21
#4: eval is evil.
global: Function('return this')() // line 473, pos 21
#5: 'loader' is already defined.
len = r.length, loader, def, go, // line 667, pos 35
#6: Line too long.
WHITESPACE = "\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF", // line 2146, pos 164
#7: Unnecessary escapement.
WHITESPACE = "\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF", // line 2146, pos 42
#8: Unnecessary escapement.
WHITESPACE_CLASS = "[\x09-\x0D\x20\xA0\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+", // line 2147, pos 32
#9: Too many var statements.
var Lang = Y.Lang, // line 2447, pos 5
#10: Too many var statements.
var CACHED_DELIMITER = '__', // line 2844, pos 5
#11: 'hasOwn' is already defined.
hasOwn = Object.prototype.hasOwnProperty, // line 2846, pos 14
#12: Too many var statements.
var Lang = Y.Lang, // line 3109, pos 5
#13: 'Lang' is already defined.
var Lang = Y.Lang, // line 3109, pos 12
#14: 'hasOwn' is already defined.
hasOwn = Object.prototype.hasOwnProperty, // line 3110, pos 12
#15: Do not wrap function literals in parens unless they are to be immediately invoked.
hasProtoEnumBug = O._hasProtoEnumBug = (function () {}).propertyIsEnumerable('prototype'), // line 3187, pos 40
#16: Trailing whitespace.
* available and non-buggy. The Opera 11.50 and Android 2.3.x versions of // line 3224, pos 74
#17: Trailing whitespace.
* `Object.keys()` have an inconsistency as they consider `prototype` to be // line 3225, pos 76
#18: Line too long.
"datasource": ["datasource-local","datasource-io","datasource-get","datasource-function","datasource-cache","datasource-jsonschema","datasource-xmlschema","datasource-arrayschema","datasource-textschema","datasource-polling"], // line 4008, pos 230
#19: Line too long.
"datatable": ["datatable-core","datatable-table","datatable-head","datatable-body","datatable-base","datatable-column-widths","datatable-message","datatable-mutable","datatable-sort","datatable-datasource"], // line 4009, pos 211
#20: Line too long.
"event": ["event-base","event-delegate","event-synthetic","event-mousewheel","event-mouseenter","event-key","event-focus","event-resize","event-hover","event-outside","event-touch","event-move","event-flick","event-valuechange","event-tap"], // line 4017, pos 245
#21: Too many var statements.
var add = Y.Features.add; // line 5447, pos 5
#22: Empty block.
} else { // line 6358, pos 19
#23: Too many var statements.
var add = Y.Features.add; // line 6550, pos 5
#24: Trailing whitespace.
/** // line 6870, pos 4
#25: Trailing whitespace.
* for other common tasks. // line 6873, pos 27
#26: Trailing whitespace.
* @method byId // line 6890, pos 20
#27: Trailing whitespace.
* @param {String} id the id attribute // line 6891, pos 43
#28: Trailing whitespace.
* @param {Object} doc optional The document to search. Defaults to current document // line 6892, pos 89
#29: Trailing whitespace.
* @return {HTMLElement | null} The HTMLElement with the id, or null if none found. // line 6893, pos 88
#30: Trailing whitespace.
// via both getAttribute and form.id // line 6904, pos 45
#31: Trailing whitespace.
* @param {Boolean} testSelf optional Whether or not to include the element in the scan // line 6929, pos 92
#32: Trailing whitespace.
* @return {HTMLElement | null} The matching DOM node or null if none found. // line 6930, pos 81
#33: Trailing whitespace.
* @param {Boolean} testSelf optional Whether or not to include the element in the scan // line 6948, pos 92
#34: Trailing whitespace.
if (element === needle || !!(element[COMPARE_DOCUMENT_POSITION](needle) & 16)) { // line 7013, pos 93
#35: Unexpected use of '&'.
if (element === needle || !!(element[COMPARE_DOCUMENT_POSITION](needle) & 16)) { // line 7013, pos 85
#36: Trailing whitespace.
* @return {Boolean} Whether or not the element is attached to the document. // line 7028, pos 81
#37: Expected an assignment or function call and instead saw an expression.
(doc) || (doc = element[OWNER_DOCUMENT]); // line 7035, pos 52
#38: Expected a conditional expression and instead saw an assignment.
for (i = 0; node = nodes[i++];) { // line 7078, pos 38
#39: Trailing whitespace.
if (node.id === id || // line 7079, pos 47
#40: Trailing whitespace.
node.attributes.id.value === id)) { // line 7081, pos 68
#41: Trailing whitespace.
* Memoizes dynamic regular expressions to boost runtime performance. // line 7146, pos 74
#42: Trailing whitespace.
* @return {Object} The document for the given element or the default document. // line 7168, pos 84
#43: Trailing whitespace.
* @return {Object} The window for the given element or the default window. // line 7187, pos 80
#44: Expected an assignment or function call and instead saw an expression.
(ret) || (ret = []); // line 7205, pos 39
#45: Trailing whitespace.
el.id = id; // line 7219, pos 24
#46: Trailing whitespace.
} // line 7220, pos 10
#47: Trailing whitespace.
return id; // line 7222, pos 19
#48: Trailing whitespace.
* Returns the text content of the HTMLElement. // line 7247, pos 52
#49: Trailing whitespace.
* @method getText // line 7248, pos 23
#50: Trailing whitespace.
* @param {HTMLElement} element The html element. // line 7249, pos 54
#51: Trailing whitespace.
* Sets the text content of the HTMLElement. // line 7268, pos 49
#52: Trailing whitespace.
* @method setText // line 7269, pos 23
#53: Trailing whitespace.
* @param {HTMLElement} element The html element. // line 7270, pos 54
#54: Trailing whitespace.
* @param {String} content The content to add. // line 7271, pos 51
#55: Trailing whitespace.
* Provides a normalized attribute interface. // line 7295, pos 50
#56: Trailing whitespace.
* Provides a normalized attribute interface. // line 7311, pos 50
#57: Trailing whitespace.
* @return {String} The current value of the attribute. // line 7315, pos 60
#58: Expected a conditional expression and instead saw an assignment.
option = options[i++];) { // line 7388, pos 24
#59: Too many var statements.
var addClass, hasClass, removeClass; // line 7440, pos 5
#60: Trailing whitespace.
* @param {HTMLElement} element The DOM element. // line 7447, pos 53
#61: Trailing whitespace.
* @return {Boolean} Whether or not the element has the given class. // line 7449, pos 73
#62: Trailing whitespace.
* @method addClass // line 7458, pos 24
#63: Trailing whitespace.
* @param {HTMLElement} element The DOM element. // line 7460, pos 53
#64: Trailing whitespace.
if (!Y.DOM.hasClass(node, className)) { // skip if already present // line 7464, pos 75
#65: Trailing whitespace.
* @method removeClass // line 7471, pos 27
#66: Trailing whitespace.
* @param {HTMLElement} element The DOM element. // line 7473, pos 53
#67: Trailing whitespace.
} // line 7484, pos 10
#68: Trailing whitespace.
* @method replaceClass // line 7490, pos 28
#69: Trailing whitespace.
* @param {HTMLElement} element The DOM element // line 7492, pos 52
#70: Trailing whitespace.
* @method toggleClass // line 7504, pos 27
#71: Too many var statements.
var re_tag = /<([a-z]+)/i, // line 7527, pos 5
#72: 'Y_DOM' is already defined.
Y_DOM = Y.DOM, // line 7529, pos 11
#73: 'addFeature' is already defined.
addFeature = Y.Features.add, // line 7531, pos 16
#74: 'testFeature' is already defined.
testFeature = Y.Features.test, // line 7532, pos 17
#75: Trailing whitespace.
* Creates a new dom node using the provided markup string. // line 7600, pos 64
#76: Trailing whitespace.
* @param {HTMLDocument} doc An optional document context // line 7603, pos 62
#77: Trailing whitespace.
* @return {HTMLElement|DocumentFragment} returns a single HTMLElement // line 7604, pos 75
#78: Use '!==' to compare with 'undefined'.
if (html != undefined) { // not undefined or null // line 7622, pos 18
#79: Trailing whitespace.
create = creator; // line 7626, pos 38
#80: Line too long.
} else if (nodes[0] && nodes[0].className === 'yui3-big-dummy') { // using dummy node to preserve some attributes (e.g. OPTION not selected) // line 7636, pos 152
#81: Trailing whitespace.
nodes[0].parentNode.removeChild(nodes[0]); // line 7640, pos 63
#82: Trailing whitespace.
doc = doc || nodes[0].ownerDocument; // line 7657, pos 49
#83: Trailing whitespace.
ret.appendChild(nodes[i]); // line 7665, pos 43
#84: Trailing whitespace.
* Inserts content in a node at the given location // line 7672, pos 55
#85: Trailing whitespace.
* @param {HTMLElement | Array | HTMLCollection} content The content to be inserted // line 7675, pos 88
#86: Use '!==' to compare with 'undefined'.
if (content != undefined) { // not null or undefined (maybe 0) // line 7700, pos 21
#87: Trailing whitespace.
} else if (content[0] && content[0].nodeType) { // array or collection // line 7705, pos 83
#88: Trailing whitespace.
if (node.parentNode) { // line 7761, pos 31
#89: Trailing whitespace.
}, // line 7852, pos 11
#90: Trailing whitespace.
}, // line 7856, pos 11
#91: Trailing whitespace.
* @param {HTMLElement} element The DOM element. // line 7878, pos 53
#92: Trailing whitespace.
* @param {HTMLElement} element The DOM element. // line 7890, pos 53
#93: Trailing whitespace.
/** // line 8414, pos 4
#94: It is not necessary to initialize 'UNDEFINED' to 'undefined'.
UNDEFINED = undefined, // line 8434, pos 15
#95: Trailing whitespace.
* @param {String} att The style property to set. // line 8468, pos 54
#96: Trailing whitespace.
* @param {String|Number} val The value. // line 8469, pos 45
#97: Do not use Number as a constructor.
} else if (!isNaN(new Number(val)) && re_unit.test(att)) { // number values may need a unit // line 8478, pos 31
#98: Trailing whitespace.
style[att] = val; // line 8493, pos 30
#99: Trailing whitespace.
* @param {String} att The style property to get. // line 8501, pos 54
#100: Trailing whitespace.
* @param {HTMLElement} node An HTMLElement to apply the styles to. // line 8528, pos 72
#101: Trailing whitespace.
* @param {Object} hash An object literal of property:value pairs. // line 8529, pos 71
#102: Trailing whitespace.
* @param {String} att The style property to get. // line 8542, pos 54
#103: Trailing whitespace.
* @return {String} The computed value of the style property. // line 8543, pos 66
#104: Trailing whitespace.
val = TRANSPARENT; // line 8589, pos 31
#105: Trailing whitespace.
val = 0; // line 8607, pos 21
#106: Trailing whitespace.
} // line 8638, pos 10
#107: Trailing whitespace.
} // line 8645, pos 10
#108: It is not necessary to initialize 'UNDEFINED' to 'undefined'.
UNDEFINED = undefined, // line 8697, pos 15
#109: Trailing whitespace.
value = Y.DOM.CUSTOM_STYLES[OPACITY].get(el); // line 8723, pos 66
#110: Trailing whitespace.
sizeOffsets = ComputedStyle.sizeOffsets[prop], // line 8750, pos 63
#111: Trailing whitespace.
medium: (isIE8) ? '3px': '4px', // line 8786, pos 44
#112: Trailing whitespace.
style.zoom = 1; // needs layout // line 8921, pos 52
#113: Trailing whitespace.
Y.DOM[GET_COMPUTED_STYLE] = ComputedStyle.get; // line 8972, pos 51
#114: Trailing whitespace.
SCROLL_NODE = DOCUMENT_ELEMENT; // line 9018, pos 40
#115: Trailing whitespace.
* Returns the inner height of the viewport (exludes scrollbar). // line 9026, pos 69
#116: Trailing whitespace.
* Returns the inner width of the viewport (exludes scrollbar). // line 9037, pos 68
#117: Trailing whitespace.
* Document height // line 9048, pos 23
#118: Trailing whitespace.
* Document width // line 9059, pos 22
#119: Trailing whitespace.
* Amount page has been scroll horizontally // line 9070, pos 48
#120: Trailing whitespace.
* Amount page has been scroll vertically // line 9082, pos 46
#121: Trailing whitespace.
* Gets the current position of an element based on page coordinates. // line 9094, pos 74
#122: Trailing whitespace.
inDoc = rootNode.contains(node); // line 9130, pos 57
#123: Trailing whitespace.
xy = Y_DOM._getOffset(node); // line 9169, pos 53
#124: Trailing whitespace.
return xy; // line 9172, pos 27
#125: Trailing whitespace.
return xy; // line 9233, pos 27
#126: Wrap an immediate function invocation in parentheses to assist the reader in understanding that the expression is the result of a function, and not the function itself.
}(),// NOTE: Executing for loadtime branching // line 9236, pos 7
#127: Trailing whitespace.
* Gets the current X position of an element based on page coordinates. // line 9265, pos 76
#128: Trailing whitespace.
* Gets the current Y position of an element based on page coordinates. // line 9278, pos 76
#129: Trailing whitespace.
delta = Y_DOM._getOffset(node); // line 9308, pos 44
#130: Trailing whitespace.
Y_DOM.setXY(node, xy, true); // line 9326, pos 49
#131: Trailing whitespace.
root = doc.body; // line 9395, pos 33
#132: Trailing whitespace.
* @param {HTMLElement} element The DOM element. // line 9443, pos 53
#133: Trailing whitespace.
* @param {HTMLElement} element The first element // line 9466, pos 54
#134: Line too long.
* @param {Object} altRegion An object literal containing the region for the first element if we already have the data (for performance e.g. DragDrop) // line 9468, pos 154
#135: Trailing whitespace.
r[RIGHT] <= region[RIGHT] && // line 9524, pos 47
#136: Trailing whitespace.
r[TOP] >= region[TOP] && // line 9525, pos 47
#137: Trailing whitespace.
* @param {HTMLElement} element The DOM element. // line 9542, pos 53
#138: Trailing whitespace.
* Provides support for using CSS selectors to query the DOM // line 9605, pos 61
#139: Trailing whitespace.
* @class Selector // line 9606, pos 19
#140: Too many var statements.
var Selector = { // line 9616, pos 5
#141: Unexpected use of '&'.
if (nodeA[COMPARE_DOCUMENT_POSITION](nodeB) & 4) { // line 9658, pos 57
#142: Trailing whitespace.
* Retrieves a set of nodes based on a given CSS selector. // line 9709, pos 63
#143: Trailing whitespace.
if (queries.length > 1) { // remove dupes and sort by doc order // line 9745, pos 76
#144: Trailing whitespace.
var esc = Y.Selector._parse('esc', selector), // pull escaped colon, brackets, etc. // line 9756, pos 92
#145: 'selector' is already defined.
selector = replaced.selector; // line 9788, pos 22
#146: Trailing whitespace.
if (parent) { // line 9889, pos 34
#147: Expected a conditional expression and instead saw an assignment.
for (j = 0; item = items[j++];) { // line 9910, pos 38
#148: Unnecessary semicolon.
}; // line 9924, pos 14
#149: Trailing whitespace.
* @param {Boolean} testSelf optional Whether or not to include the element in the scan // line 9935, pos 92
#150: Too many var statements.
var YArray = Y.Array, // line 10377, pos 5
#151: Too many var statements.
var L = Y.Lang, // line 11440, pos 5
#152: Too many var statements.
var parts = _parseType(type, this._yuievt.config.prefix), // line 11797, pos 13
#153: Expected an assignment or function call and instead saw an expression.
(typeof ret != 'undefined') || (ret = node); // line 13334, pos 55
#154: Trailing whitespace.
* Retrieves a single Node instance, the first element matching the given // line 13736, pos 78
#155: Trailing whitespace.
* @return {Node | null} A Node instance for the matching HTMLElement or null // line 13742, pos 82
#156: Line too long.
* @param nodes {String|element|Node|Array} A selector, DOM element, Node, list of DOM elements, or list of Nodes with which to populate this NodeList. // line 13976, pos 151
#157: Too many var statements.
var NodeList = function(nodes) { // line 13979, pos 5
#158: Trailing whitespace.
/** // line 14314, pos 9
#159: Trailing whitespace.
* Called on each Node instance. Nulls internal node references, // line 14315, pos 70
#160: Trailing whitespace.
* @param {Boolean} recursivePurge (optional) Whether or not to // line 14318, pos 69
#161: Trailing whitespace.
/** // line 14324, pos 9
#162: Trailing whitespace.
* Called on each Node instance. Removes and destroys all of the nodes // line 14325, pos 76
#163: Trailing whitespace.
/** // line 14333, pos 9
#164: Trailing whitespace.
/** // line 14344, pos 9
#165: Too many var statements.
var Y_NodeList = Y.NodeList, // line 14412, pos 5
#166: Line too long.
As a negative index, start indicates an offset from the end of the sequence. slice(-2) extracts the second-to-last element and the last element in the sequence. // line 14445, pos 170
#167: Line too long.
As a negative index, end indicates an offset from the end of the sequence. slice(2,-1) extracts the third element through the second-to-last element in the sequence. // line 14448, pos 175
#168: Line too long.
* @param {Number} howMany An integer indicating the number of old array elements to remove. If howMany is 0, no elements are removed. In this case, you should specify at least one new element. If no howMany parameter is specified (second syntax above, which is a SpiderMonkey extension), all elements after index are removed. // line 14457, pos 335
#169: Too many var statements.
var Y_Node = Y.Node, // line 14828, pos 5
#170: Too many var statements.
var Y_Node = Y.Node, // line 15102, pos 5
#171: 'Y_Node' is already defined.
var Y_Node = Y.Node, // line 15102, pos 12
#172: 'Y_DOM' is already defined.
Y_DOM = Y.DOM; // line 15103, pos 11
#173: Too many var statements.
var Y_Node = Y.Node; // line 15219, pos 5
#174: 'Y_Node' is already defined.
var Y_Node = Y.Node; // line 15219, pos 12
#175: Too many var statements.
var Y_NodeList = Y.NodeList; // line 15220, pos 5
#176: Too many var statements.
var Y_Node = Y.Node; // line 15514, pos 5
#177: 'Y_Node' is already defined.
var Y_Node = Y.Node; // line 15514, pos 12
#178: Trailing whitespace.
* // line 15732, pos 3
#179: Trailing whitespace.
* @return {Array} An array containing all of the data for each Node instance. // line 15866, pos 82
#180: Wrap an immediate function invocation in parentheses to assist the reader in understanding that the expression is the result of a function, and not the function itself.
}(); // line 17201, pos 3
#181: Trailing whitespace.
* It adds <a href="#method_plug">plug</a> and <a href="#method_unplug">unplug</a> methods to the augmented class, which can // line 17605, pos 129
#182: Trailing whitespace.
* the "plugins" property. Supported values for the "plugins" property are those defined by the <a href="#method_plug">plug</a> method. // line 17610, pos 140
#183: Trailing whitespace.
* // line 17611, pos 7
#184: Trailing whitespace.
* Plug.Host's protected <a href="#method_initPlugins">_initPlugins</a> and <a href="#method_destroyPlugins">_destroyPlugins</a> // line 17618, pos 133
#185: Trailing whitespace.
* methods should be invoked by the host class at the appropriate point in the host's lifecyle. // line 17619, pos 100
#186: Trailing whitespace.
* Adds a plugin to the host object. This will instantiate the // line 17634, pos 71
#187: Trailing whitespace.
* @param P {Function | Object |Array} Accepts the plugin class, or an // line 17639, pos 79
#188: Trailing whitespace.
* object with a "fn" property specifying the plugin class and // line 17640, pos 71
#189: Trailing whitespace.
* Additionally an Array can also be passed in, with the above function or // line 17643, pos 83
#190: Line too long.
else { Y.log("Attempt to replug an already attached plugin, and we can't setAttrs, because it's not Attribute based: " + ns); } // line 17675, pos 151
#191: Trailing whitespace.
* Removes a plugin from the host object. This will destroy the // line 17688, pos 72
#192: Trailing whitespace.
* plugin instance and delete the namespace from the host object. // line 17689, pos 74
#193: Line too long.
* @param {String | Function} plugin The namespace of the plugin, or the plugin class with the static NS namespace property defined. If not provided, // line 17692, pos 157
#194: Trailing whitespace.
var ns = plugin, // line 17698, pos 29
#195: Trailing whitespace.
* Base.plug static method) and any plugins passed to the // line 17743, pos 66
#196: Trailing whitespace.
* // line 17786, pos 7
#197: Trailing whitespace.
* // line 17789, pos 7
#198: Trailing whitespace.
* Registers plugins to be instantiated at the class level (plugins // line 17835, pos 72
#199: Line too long.
* @param {Function | Array} plugin Either the plugin class, an array of plugin classes or an array of objects (with fn and cfg properties defined) // line 17842, pos 151
#200: Trailing whitespace.
* @param P {Function | Object |Array} Accepts the plugin class, or an // line 18358, pos 71
#201: Trailing whitespace.
* object with a "fn" property specifying the plugin class and // line 18359, pos 63
#202: Trailing whitespace.
* Additionally an Array can also be passed in, with the above function or // line 18362, pos 75
#203: Trailing whitespace.
* Removes a plugin from all nodes in the NodeList. This will destroy the // line 18378, pos 74
#204: Trailing whitespace.
* plugin instance and delete the namespace each node. // line 18379, pos 55
#205: Trailing whitespace.
* Adds support for positioning elements and normalizes window size and scroll detection. // line 18400, pos 90
#206: Trailing whitespace.
* Returns the inner width of the viewport (exludes scrollbar). // line 18408, pos 68
#207: Trailing whitespace.
* Returns the inner height of the viewport (exludes scrollbar). // line 18416, pos 69
#208: Trailing whitespace.
* Document width // line 18423, pos 22
#209: Trailing whitespace.
* Document height // line 18430, pos 23
#210: Trailing whitespace.
* Pixel distance the page has been scrolled horizontally // line 18437, pos 62
#211: Trailing whitespace.
* Pixel distance the page has been scrolled vertically // line 18444, pos 60
#212: Trailing whitespace.
* Gets the current position of the node in page coordinates. // line 18504, pos 62
#213: Trailing whitespace.
* Gets the current position of the node in page coordinates. // line 18520, pos 62
#214: Trailing whitespace.
* Gets the current position of the node in page coordinates. // line 18535, pos 62
#215: Trailing whitespace.
* Swaps the XY position of this node with another node. // line 18550, pos 57
#216: Trailing whitespace.
* @param {String} attr The style attribute to set. // line 18650, pos 56
#217: Trailing whitespace.
* @param {String|Number} val The value. // line 18651, pos 45
#218: Trailing whitespace.
* @param {Object} hash An object literal of property:value pairs. // line 18663, pos 71
#219: Trailing whitespace.
* @param {String} attr The style attribute to retrieve. // line 18676, pos 61
#220: Trailing whitespace.
* @param {String} attr The style attribute to retrieve. // line 18688, pos 61
#221: Trailing whitespace.
* @param {String} attr The style attribute to retrieve. // line 18702, pos 57
#222: Trailing whitespace.
* @param {String} attr The style attribute to retrieve. // line 18711, pos 57
#223: Trailing whitespace.
* @param {String} attr The style attribute to set. // line 18720, pos 52
#224: Trailing whitespace.
* @param {String|Number} val The value. // line 18721, pos 41
#225: Trailing whitespace.
* @param {Object} hash An object literal of property:value pairs. // line 18730, pos 67
#226: Expected an assignment or function call and instead saw an expression.
data || (data = ''); // line 19459, pos 27
#227: Too many var statements.
var XHR = win && win.XMLHttpRequest, // line 19703, pos 5
#228: Expected a 'break' statement before 'default'.
event = 'failure'; // line 19789, pos 34
#229: Trailing whitespace.
if ('transition' in DOCUMENT_STYLE // line 19887, pos 35
#230: Trailing whitespace.
&& 'transitionProperty' in DOCUMENT_STYLE // line 19888, pos 46
#231: Too many var statements.
var _wrapCallBack = function(anim, fn, callback) { // line 20378, pos 5
#232: Trailing whitespace.
* Mapping of shorthand tokens to corresponding attribute selector // line 20594, pos 75
#233: Trailing whitespace.
* List of operators and corresponding boolean functions. // line 20604, pos 66
#234: Trailing whitespace.
'first-child': function(node) { // line 20616, pos 43
#235: Trailing whitespace.
return Y.DOM._children(node[PARENT_NODE])[0] === node; // line 20617, pos 71
#236: Trailing whitespace.
} // line 20618, pos 14
#237: Trailing whitespace.
// We can filter them out by checking if its tagName is > "@". // line 20659, pos 91
#238: Trailing whitespace.
value = value.toUpperCase(); // line 20720, pos 65
#239: Trailing whitespace.
tmpNode = tmpNode[path]; // line 20742, pos 65
#240: Trailing whitespace.
tmpNode = tmpNode[path]; // line 20758, pos 53
#241: Trailing whitespace.
path = null; // line 20762, pos 41
#242: Trailing whitespace.
match[3] = escVal; // line 20813, pos 43
#243: Unescaped '-'.
re: /^((?:-?[_a-z]+[\w-]*)|\*)/i, // line 20836, pos 39
#244: Trailing whitespace.
return [match[2], test]; // line 20869, pos 49
#245: Trailing whitespace.
selector = Selector._parseSelector(Y.Lang.trim(selector)); // line 20894, pos 71
#246: 'selector' is already defined.
selector = replaced.selector; // line 20979, pos 26
#247: Trailing whitespace.
an+0 = get every _a_th element, "0" may be omitted // line 21035, pos 55
#248: Trailing whitespace.
b = siblings.length - b + 1; // line 21061, pos 41
#249: Too many var statements.
for (var i = b - 1, len = siblings.length; i < len; i += a) { // line 21076, pos 18
#250: Too many var statements.
for (var i = siblings.length - b, len = siblings.length; i >= 0; i -= a) { // line 21082, pos 18
#251: 'i' is already defined.
for (var i = siblings.length - b, len = siblings.length; i >= 0; i -= a) { // line 21082, pos 20
#252: 'len' is already defined.
for (var i = siblings.length - b, len = siblings.length; i >= 0; i -= a) { // line 21082, pos 47
#253: Trailing whitespace.
'*=': '{val}' // Match contains value as substring // line 21165, pos 55
#254: 'o' is defined but never used.
getLoader = function(Y, o) { // line 205, pos 34
#255: 'NAME' is defined but never used.
YUI.add('yui-base', function (Y, NAME) { // line 2105, pos 38
#256: 'NAME' is defined but never used.
YUI.add('get', function (Y, NAME) { // line 4039, pos 33
#257: 'NAME' is defined but never used.
YUI.add('features', function (Y, NAME) { // line 5330, pos 38
#258: 'NAME' is defined but never used.
YUI.add('intl-base', function (Y, NAME) { // line 5739, pos 39
#259: 'NAME' is defined but never used.
YUI.add('yui-log', function (Y, NAME) { // line 5827, pos 37
#260: 'NAME' is defined but never used.
YUI.add('yui-later', function (Y, NAME) { // line 5947, pos 39
#261: 'NAME' is defined but never used.
YUI.add('yui', function (Y, NAME) {}, '@VERSION@', {"use": ["get", "features", "intl-base", "yui-log", "yui-later"]}); // line 6025, pos 33
#262: 'Y' is defined but never used.
YUI.add('yui', function (Y, NAME) {}, '@VERSION@', {"use": ["get", "features", "intl-base", "yui-log", "yui-later"]}); // line 6025, pos 27
#263: 'NAME' is defined but never used.
YUI.add('oop', function (Y, NAME) { // line 6026, pos 33
#264: 'k' is defined but never used.
Y.Object.each(marked, function(v, k) { // line 6367, pos 44
#265: 'NAME' is defined but never used.
YUI.add('features', function (Y, NAME) { // line 6433, pos 38
#266: 'NAME' is defined but never used.
YUI.add('dom-core', function (Y, NAME) { // line 6842, pos 38
#267: 'NAME' is defined but never used.
YUI.add('dom-base', function (Y, NAME) { // line 7231, pos 38
#268: 'NAME' is defined but never used.
YUI.add('color-base', function (Y, NAME) { // line 7919, pos 40
#269: 'NAME' is defined but never used.
YUI.add('dom-style', function (Y, NAME) { // line 8411, pos 39
#270: 'WINDOW' is defined but never used.
WINDOW = Y.config.win, // line 8432, pos 11
#271: 'style' is defined but never used.
get: function(node, style) { // line 8657, pos 30
#272: 'style' is defined but never used.
get: function(node, style) { // line 8667, pos 30
#273: 'NAME' is defined but never used.
YUI.add('dom-style-ie', function (Y, NAME) { // line 8677, pos 42
#274: 'UNDEFINED' is defined but never used.
UNDEFINED = undefined, // line 8697, pos 14
#275: 'offset' is defined but never used.
offset = 'offset' + capped, // "offsetWidth", "offsetTop", etc. // line 8748, pos 23
#276: 'unit' is defined but never used.
var unit = omitUnit ? '' : PX, // line 8791, pos 21
#277: 'NAME' is defined but never used.
YUI.add('dom-screen', function (Y, NAME) { // line 8983, pos 40
#278: 'MEDIUM' is defined but never used.
MEDIUM = 'medium', // line 9002, pos 11
#279: 'NAME' is defined but never used.
YUI.add('selector-native', function (Y, NAME) { // line 9594, pos 45
#280: 'NAME' is defined but never used.
YUI.add('selector', function (Y, NAME) { // line 9972, pos 38
#281: 'Y' is defined but never used.
YUI.add('selector', function (Y, NAME) { // line 9972, pos 32
#282: 'NAME' is defined but never used.
YUI.add('event-custom-base', function (Y, NAME) { // line 9977, pos 47
#283: 'context' is defined but never used.
detach: function(fn, context) { // line 10908, pos 33
#284: 'ef' is defined but never used.
_notify: function(s, args, ef) { // line 10962, pos 34
#285: 'what' is defined but never used.
monitor: function(what) { // line 11411, pos 27
#286: 'fn' is defined but never used.
after: function(type, fn) { // line 12262, pos 29
#287: 'NAME' is defined but never used.
YUI.add('event-custom-complex', function (Y, NAME) { // line 12452, pos 50
#288: 'TAG_NAME' is defined but never used.
TAG_NAME = 'tagName', // line 13147, pos 13
#289: 'EMPTY_OBJ' is defined but never used.
EMPTY_OBJ = {}, // line 13149, pos 14
#290: 'NAME' is defined but never used.
YUI.add('node-core', function (Y, NAME) { // line 13119, pos 39
#291: 'n' is defined but never used.
Y.Array.each(attrs, function(v, n) { // line 13610, pos 46
#292: 'doc' is defined but never used.
var doc, // line 14243, pos 16
#293: 'NAME' is defined but never used.
YUI.add('node-base', function (Y, NAME) { // line 14726, pos 39
#294: 'context' is defined but never used.
on: function(type, fn, context) { // line 15358, pos 35
#295: 'fn' is defined but never used.
on: function(type, fn, context) { // line 15358, pos 26
#296: 'type' is defined but never used.
on: function(type, fn, context) { // line 15358, pos 22
#297: 'context' is defined but never used.
once: function(type, fn, context) { // line 15373, pos 37
#298: 'fn' is defined but never used.
once: function(type, fn, context) { // line 15373, pos 28
#299: 'type' is defined but never used.
once: function(type, fn, context) { // line 15373, pos 24
#300: 'context' is defined but never used.
after: function(type, fn, context) { // line 15390, pos 38
#301: 'fn' is defined but never used.
after: function(type, fn, context) { // line 15390, pos 29
#302: 'type' is defined but never used.
after: function(type, fn, context) { // line 15390, pos 25
#303: 'context' is defined but never used.
onceAfter: function(type, fn, context) { // line 15408, pos 42
#304: 'fn' is defined but never used.
onceAfter: function(type, fn, context) { // line 15408, pos 33
#305: 'type' is defined but never used.
onceAfter: function(type, fn, context) { // line 15408, pos 29
#306: 'callback' is defined but never used.
toggleView: function(on, callback) { // line 15568, pos 38
#307: 'on' is defined but never used.
toggleView: function(on, callback) { // line 15568, pos 28
#308: 'args' is defined but never used.
var args = (arguments.length) ? [name] : []; // line 15898, pos 17
#309: 'NAME' is defined but never used.
YUI.add('event-base', function (Y, NAME) { // line 15917, pos 40
#310: 's' is defined but never used.
_deleteAndClean = function(s) { // line 16339, pos 33
#311: 'context' is defined but never used.
attach: function(type, fn, el, context) { // line 16587, pos 47
#312: 'el' is defined but never used.
attach: function(type, fn, el, context) { // line 16587, pos 38
#313: 'fn' is defined but never used.
attach: function(type, fn, el, context) { // line 16587, pos 34
#314: 'type' is defined but never used.
attach: function(type, fn, el, context) { // line 16587, pos 30
#315: 'k' is defined but never used.
Y.each(el, function(v, k) { // line 16681, pos 41
#316: 'obj' is defined but never used.
detach: function(type, fn, el, obj) { // line 16797, pos 43
#317: 'e' is defined but never used.
_load: function(e) { // line 16914, pos 26
#318: 'k' is defined but never used.
Y.each(evts, function(v, k) { // line 17149, pos 43
#319: 'k' is defined but never used.
Y.each(_wrappers, function(v, k) { // line 17165, pos 44
#320: 'NAME' is defined but never used.
YUI.add('event-base-ie', function (Y, NAME) { // line 17327, pos 43
#321: 'NAME' is defined but never used.
YUI.add('pluginhost-base', function (Y, NAME) { // line 17590, pos 45
#322: 'NAME' is defined but never used.
YUI.add('pluginhost-config', function (Y, NAME) { // line 17773, pos 47
#323: 'NAME' is defined but never used.
YUI.add('event-delegate', function (Y, NAME) { // line 17903, pos 44
#324: 'NAME' is defined but never used.
YUI.add('node-event-delegate', function (Y, NAME) { // line 18251, pos 49
#325: 'NAME' is defined but never used.
YUI.add('node-pluginhost', function (Y, NAME) { // line 18305, pos 45
#326: 'NAME' is defined but never used.
YUI.add('node-screen', function (Y, NAME) { // line 18396, pos 41
#327: 'NAME' is defined but never used.
YUI.add('node-style', function (Y, NAME) { // line 18636, pos 40
#328: 'NAME' is defined but never used.
YUI.add('querystring-stringify-simple', function (Y, NAME) { // line 18742, pos 58
#329: 'SUPPORTS_CORS' is defined but never used.
SUPPORTS_CORS = XHR && 'withCredentials' in (new XMLHttpRequest()); // line 19709, pos 18
#330: 'NAME' is defined but never used.
YUI.add('io-base', function (Y, NAME) { // line 18786, pos 37
#331: 'NAME' is defined but never used.
YUI.add('json-parse', function (Y, NAME) { // line 19800, pos 40
#332: 'NAME' is defined but never used.
YUI.add('transition', function (Y, NAME) { // line 19810, pos 40
#333: 'callback' is defined but never used.
Y.NodeList.prototype.toggleView = function(name, on, callback) { // line 20493, pos 62
#334: 'on' is defined but never used.
Y.NodeList.prototype.toggleView = function(name, on, callback) { // line 20493, pos 52
#335: 'name' is defined but never used.
Y.NodeList.prototype.toggleView = function(name, on, callback) { // line 20493, pos 48
#336: 'NAME' is defined but never used.
YUI.add('selector-css2', function (Y, NAME) { // line 20562, pos 43
#337: 'rootDoc' is defined but never used.
rootDoc = Y.DOM._getDoc(root), // line 20627, pos 24
#338: 'token' is defined but never used.
fn: function(match, token) { // line 20857, pos 42
#339: 'match' is defined but never used.
fn: function(match, token) { // line 20857, pos 35
#340: 'token' is defined but never used.
fn: function(match, token) { // line 20863, pos 42
#341: 'token' is defined but never used.
_getToken: function(token) { // line 20877, pos 34
#342: 'attr' is defined but never used.
id: function(node, attr) { // line 21006, pos 36
#343: 'NAME' is defined but never used.
YUI.add('selector-css3', function (Y, NAME) { // line 21022, pos 43
#344: 'result' is defined but never used.
result = [], // line 21046, pos 15
#345: 'NAME' is defined but never used.
YUI.add('yui-log', function (Y, NAME) { // line 21174, pos 37
#346: 'NAME' is defined but never used.
YUI.add('dump', function (Y, NAME) { // line 21294, pos 34
#347: 'NAME' is defined but never used.
YUI.add('transition-timer', function (Y, NAME) { // line 21399, pos 46
#348: 'Y' is defined but never used.
/*global Y */ // line 18744, pos 9
yogi [info] /Users/derek/src/yui/yui3/src/simpleyui/js/empty.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/simpleyui/js/simple.js contains 2 lint errors
#1: Redefinition of 'Y'.
var Y = YUI().use('*'); // line 1, pos 5
#2: 'Y' is defined but never used.
var Y = YUI().use('*'); // line 1, pos 6
yogi [warn] lint found a total of 350 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: slider
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/slider/js/clickable-rail.js
/Users/derek/src/yui/yui3/src/slider/js/range-slider.js
/Users/derek/src/yui/yui3/src/slider/js/slider-base.js
/Users/derek/src/yui/yui3/src/slider/js/value-range.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/slider/js/clickable-rail.js contains 2 lint errors
#1: Trailing whitespace.
/** // line 51, pos 12
#2: 'e' is defined but never used.
_resolveThumb: function (e) { // line 159, pos 35
yogi [warn] /Users/derek/src/yui/yui3/src/slider/js/range-slider.js contains 1 lint errors
#1: Trailing whitespace.
* // line 4, pos 3
yogi [warn] /Users/derek/src/yui/yui3/src/slider/js/slider-base.js contains 13 lint errors
#1: Trailing whitespace.
* // line 4, pos 3
#2: Trailing whitespace.
keyEvent = (!Y.UA.opera) ? "down:" : "press:", // line 207, pos 55
#3: Trailing whitespace.
* sets the Slider value to the min value. // line 272, pos 47
#4: Trailing whitespace.
* sets the Slider value to the max value. // line 282, pos 47
#5: Trailing whitespace.
* Left and right keys are in a separate method // line 293, pos 52
#6: Trailing whitespace.
/** // line 385, pos 12
#7: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 432, pos 37
#8: Trailing whitespace.
/** // line 586, pos 8
#9: Line too long.
* @default &lt;span class="{thumbClass}" tabindex="-1">&lt;img src="{thumbShadowUrl}" alt="Slider thumb shadow" class="{thumbShadowClass}">&lt;img src="{thumbImageUrl}" alt="Slider thumb" class="{thumbImageClass}">&lt;/span> // line 675, pos 229
#10: Line too long.
THUMB_TEMPLATE : '<span class="{thumbClass}" aria-labelledby="{thumbAriaLabelId}" aria-valuetext="" aria-valuemax="" aria-valuemin="" aria-valuenow="" role="slider" tabindex="0">' + // keyboard access jeff tabindex="-1" // line 677, pos 232
#11: 'e' is defined but never used.
_onThumbClick : function(e){ // line 190, pos 31
#12: 'e' is defined but never used.
_setToMin : function(e){ // line 277, pos 27
#13: 'e' is defined but never used.
_setToMax : function(e){ // line 287, pos 27
yogi [warn] /Users/derek/src/yui/yui3/src/slider/js/value-range.js contains 5 lint errors
#1: Line too long.
Y.log("Calculating factor(~" + this._factor.toFixed(3) + " = (max(" + max + ") - min(" + min + ")) / (length(" + length + ") - thumb size(" + thumbSize + "))","info","slider"); // line 108, pos 188
#2: Trailing whitespace.
* @return { Number } The pixel offset // line 154, pos 47
#3: Trailing whitespace.
* Positions the thumb and its ARIA attributes in accordance with the // line 254, pos 78
#4: 'e' is defined but never used.
_afterMinChange: function ( e ) { // line 198, pos 38
#5: 'e' is defined but never used.
_afterMaxChange: function ( e ) { // line 213, pos 38
yogi [warn] /Users/derek/src/yui/yui3/src/slider/meta/slider.json contains 3 lint errors
#1: Trailing whitespace.
"widget", // line 13, pos 30
#2: Trailing whitespace.
"dd-constrain", // line 14, pos 36
#3: Trailing whitespace.
], // line 16, pos 19
yogi [warn] lint found a total of 24 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: sortable
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/sortable/js/sortable-scroll.js
/Users/derek/src/yui/yui3/src/sortable/js/sortable.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/sortable/js/sortable-scroll.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/sortable/js/sortable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/sortable/meta/sortable.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: stylesheet
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/stylesheet/js/stylesheet.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/stylesheet/js/stylesheet.js contains 3 lint errors
#1: Expected '!==' and instead saw '!='.
if (prop !== floatAttr && prop.toLowerCase().indexOf(FLOAT) != -1) { // line 35, pos 69
#2: Expected '!==' and instead saw '!='.
if (prop !== floatAttr && prop.toLowerCase().indexOf(FLOAT) != -1) { // line 57, pos 69
#3: Expected '!==' and instead saw '!='.
if (seed.indexOf('{') != -1) { // line 149, pos 31
yogi [info] /Users/derek/src/yui/yui3/src/stylesheet/meta/stylesheet.json is OK
yogi [warn] lint found a total of 3 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: substitute
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/substitute/js/substitute.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/substitute/js/substitute.js contains 1 lint errors
#1: Trailing whitespace.
} // line 150, pos 14
yogi [info] /Users/derek/src/yui/yui3/src/substitute/meta/substitute.json is OK
yogi [warn] lint found a total of 1 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: swf
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/swf/js/swf.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/swf/js/swf.js contains 23 lint errors
#1: Redefinition of 'Node'.
Node = Y.Node, // line 11, pos 9
#2: Line too long.
possibleAttributes = {align:"", allowFullScreen:"", allowNetworking:"", allowScriptAccess:"", base:"", bgcolor:"", loop:"", menu:"", name:"", play: "", quality:"", salign:"", scale:"", tabindex:"", wmode:""}; // line 20, pos 216
#3: Too many var statements.
var oElement = Node.one(p_oElement); // line 56, pos 9
#4: Too many var statements.
var p_oAttributes = p_oAttributes || {}; // line 58, pos 9
#5: 'p_oAttributes' is already defined.
var p_oAttributes = p_oAttributes || {}; // line 58, pos 23
#6: Too many var statements.
var flashVersion = p_oAttributes.version || FLASH_VER; // line 60, pos 9
#7: Too many var statements.
var flashVersionSplit = (flashVersion + '').split("."); // line 62, pos 9
#8: Line too long.
var isFlashVersionRight = SWFDetect.isFlashVersionAtLeast(parseInt(flashVersionSplit[0], 10), parseInt(flashVersionSplit[1], 10), parseInt(flashVersionSplit[2], 10)); // line 63, pos 170
#9: Too many var statements.
var isFlashVersionRight = SWFDetect.isFlashVersionAtLeast(parseInt(flashVersionSplit[0], 10), parseInt(flashVersionSplit[1], 10), parseInt(flashVersionSplit[2], 10)); // line 63, pos 9
#10: Too many var statements.
var canExpressInstall = (SWFDetect.isFlashVersionAtLeast(8,0,0)); // line 64, pos 9
#11: Too many var statements.
var shouldExpressInstall = canExpressInstall && !isFlashVersionRight && p_oAttributes.useExpressInstall; // line 65, pos 9
#12: Too many var statements.
var flashURL = (shouldExpressInstall)?EXPRESS_INSTALL_URL:swfURL; // line 66, pos 9
#13: Too many var statements.
var objstring = '<object '; // line 67, pos 9
#14: Too many var statements.
var w, h; // line 68, pos 9
#15: Too many var statements.
var flashvarstring = "yId=" + Y.id + "&YUISwfId=" + _id + "&YUIBridgeCallback=" + EVENT_HANDLER + "&allowedDomain=" + document.location.hostname; // line 69, pos 9
#16: Too many var statements.
for (var attribute in p_oAttributes.fixedAttributes) { // line 89, pos 18
#17: Too many var statements.
for (var flashvar in p_oAttributes.flashVars) { // line 95, pos 18
#18: Too many var statements.
var fvar = p_oAttributes.flashVars[flashvar]; // line 96, pos 17
#19: Too many var statements.
var event = {}; // line 118, pos 13
#20: Trailing whitespace.
if (!args) { // line 174, pos 17
#21: Trailing whitespace.
args= []; // line 175, pos 20
#22: Trailing whitespace.
} // line 176, pos 6
#23: 'Event' is defined but never used.
var Event = Y.Event, // line 7, pos 14
yogi [warn] /Users/derek/src/yui/yui3/src/swf/meta/swf.json contains 3 lint errors
#1: Trailing whitespace.
"event-custom", // line 4, pos 28
#2: Trailing whitespace.
"node", // line 5, pos 20
#3: Trailing whitespace.
] // line 8, pos 10
yogi [warn] lint found a total of 26 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: swfdetect
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/swfdetect/js/swfdetect.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/swfdetect/js/swfdetect.js contains 4 lint errors
#1: Trailing whitespace.
* // line 66, pos 4
#2: Trailing whitespace.
*/ // line 79, pos 8
#3: Trailing whitespace.
*/ // line 93, pos 8
#4: Trailing whitespace.
} // line 110, pos 6
yogi [info] /Users/derek/src/yui/yui3/src/swfdetect/meta/swfdetect.json is OK
yogi [warn] lint found a total of 4 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: tabview
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/tabview/js/tab.js
/Users/derek/src/yui/yui3/src/tabview/js/tabview-base.js
/Users/derek/src/yui/yui3/src/tabview/js/tabview-plugin.js
/Users/derek/src/yui/yui3/src/tabview/js/tabview.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/tabview/js/tab.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tabview/js/tabview-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tabview/js/tabview-plugin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tabview/js/tabview.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tabview/meta/tabview.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: template
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/template/js/template-base.js
/Users/derek/src/yui/yui3/src/template/js/template-micro.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/template/js/template-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/template/js/template-micro.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/template/meta/template.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: test-console
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/test-console/js/test-console.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/test-console/js/test-console.js contains 8 lint errors
#1: Trailing whitespace.
} // line 70, pos 10
#2: Trailing whitespace.
} // line 74, pos 10
#3: Line too long.
coverageLog = 'Lines: Hit:' + cov.lines.hit + ' Missed:' + cov.lines.miss + ' Total:' + cov.lines.total + ' Percent:' + cov.lines.percent + '%\n'; // line 111, pos 154
#4: Line too long.
coverageLog += 'Functions: Hit:' + cov.functions.hit + ' Missed:' + cov.functions.miss + ' Total:' + cov.functions.total + ' Percent:' + cov.functions.percent + '%'; // line 112, pos 173
#5: Trailing whitespace.
} // line 198, pos 14
#6: Trailing whitespace.
}); // line 199, pos 12
#7: Trailing whitespace.
var covered = Y.Array.filter(branches, function (num) { return num > 0; }); // line 214, pos 88
#8: Trailing whitespace.
}); // line 217, pos 12
yogi [info] /Users/derek/src/yui/yui3/src/test-console/meta/test-console.json is OK
yogi [warn] lint found a total of 8 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: test
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/test/js/ArrayAssert.js
/Users/derek/src/yui/yui3/src/test/js/Assert.js
/Users/derek/src/yui/yui3/src/test/js/AssertionError.js
/Users/derek/src/yui/yui3/src/test/js/ComparisonFailure.js
/Users/derek/src/yui/yui3/src/test/js/CoverageFormat.js
/Users/derek/src/yui/yui3/src/test/js/DateAssert.js
/Users/derek/src/yui/yui3/src/test/js/EventTarget.js
/Users/derek/src/yui/yui3/src/test/js/Mock.js
/Users/derek/src/yui/yui3/src/test/js/ObjectAssert.js
/Users/derek/src/yui/yui3/src/test/js/Reporter.js
/Users/derek/src/yui/yui3/src/test/js/Results.js
/Users/derek/src/yui/yui3/src/test/js/ShouldError.js
/Users/derek/src/yui/yui3/src/test/js/ShouldFail.js
/Users/derek/src/yui/yui3/src/test/js/TestCase.js
/Users/derek/src/yui/yui3/src/test/js/TestFormat.js
/Users/derek/src/yui/yui3/src/test/js/TestRunner.js
/Users/derek/src/yui/yui3/src/test/js/TestSuite.js
/Users/derek/src/yui/yui3/src/test/js/UnexpectedError.js
/Users/derek/src/yui/yui3/src/test/js/UnexpectedValue.js
/Users/derek/src/yui/yui3/src/test/js/Wait.js
/Users/derek/src/yui/yui3/src/test/js/YTestWrap.js
/Users/derek/src/yui/yui3/src/test/js/YTestWrapAfter.js
/Users/derek/src/yui/yui3/src/test/js/YUITest.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/ArrayAssert.js contains 57 lint errors
#1: Trailing whitespace.
}, // line 60, pos 7
#2: Trailing whitespace.
* Asserts that a value is present in an array. This uses the triple equals // line 63, pos 80
#3: Trailing whitespace.
contains : function (needle, haystack, // line 71, pos 43
#4: Trailing whitespace.
YUITest.Assert._increment(); // line 74, pos 37
#5: Expected '===' and instead saw '=='.
if (this._indexOf(haystack, needle) == -1){ // line 76, pos 45
#6: Line too long.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value " + needle + " (" + (typeof needle) + ") not found in array [" + haystack + "].")); // line 77, pos 161
#7: Trailing whitespace.
* Asserts that a set of values are present in an array. This uses the triple equals // line 82, pos 89
#8: Trailing whitespace.
containsItems : function (needles, haystack, // line 91, pos 49
#9: Trailing whitespace.
YUITest.Assert._increment(); // line 93, pos 37
#10: Expected '===' and instead saw '=='.
if (this._indexOf(haystack, needles[i]) == -1){ // line 97, pos 53
#11: Line too long.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value " + needles[i] + " (" + (typeof needles[i]) + ") not found in array [" + haystack + "].")); // line 98, pos 173
#12: Trailing whitespace.
containsMatch : function (matcher, haystack, // line 112, pos 49
#13: Trailing whitespace.
YUITest.Assert._increment(); // line 115, pos 37
#14: Expected '!==' and instead saw '!='.
if (typeof matcher != "function"){ // line 117, pos 28
#15: Trailing whitespace.
* Asserts that a value is not present in an array. This uses the triple equals // line 127, pos 84
#16: Trailing whitespace.
* Asserts that a value is not present in an array. This uses the triple equals // line 128, pos 84
#17: Trailing whitespace.
doesNotContain : function (needle, haystack, // line 136, pos 49
#18: Trailing whitespace.
YUITest.Assert._increment(); // line 139, pos 37
#19: Trailing whitespace.
* Asserts that a set of values are not present in an array. This uses the triple equals // line 147, pos 93
#20: Trailing whitespace.
doesNotContainItems : function (needles, haystack, // line 156, pos 55
#21: Trailing whitespace.
YUITest.Assert._increment(); // line 159, pos 37
#22: Trailing whitespace.
doesNotContainMatch : function (matcher, haystack, // line 178, pos 55
#23: Trailing whitespace.
YUITest.Assert._increment(); // line 181, pos 37
#24: Expected '!==' and instead saw '!='.
if (typeof matcher != "function"){ // line 184, pos 28
#25: Trailing whitespace.
YUITest.Assert._increment(); // line 205, pos 37
#26: Expected '!==' and instead saw '!='.
if (index != i){ // line 210, pos 27
#27: Line too long.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value exists at index " + i + " but should be at index " + index + ".")); // line 211, pos 173
#28: Trailing whitespace.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value exists at index " + i + " but should be at index " + index + ".")); // line 211, pos 154
#29: Trailing whitespace.
itemsAreEqual : function (expected, actual, // line 232, pos 48
#30: Trailing whitespace.
YUITest.Assert._increment(); // line 235, pos 37
#31: Expected '!==' and instead saw '!='.
if (typeof expected != "object" || typeof actual != "object"){ // line 238, pos 29
#32: Expected '!==' and instead saw '!='.
if (typeof expected != "object" || typeof actual != "object"){ // line 238, pos 58
#33: Expected '!==' and instead saw '!='.
if (expected.length != actual.length){ // line 243, pos 29
#34: Line too long.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Array should have a length of " + expected.length + " but has a length of " + actual.length + ".")); // line 244, pos 172
#35: Expected '!==' and instead saw '!='.
if (expected[i] != actual[i]){ // line 249, pos 29
#36: Line too long.
throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equal."), expected[i], actual[i]); // line 250, pos 163
#37: Trailing whitespace.
itemsAreEquivalent : function (expected, actual, // line 269, pos 53
#38: Trailing whitespace.
YUITest.Assert._increment(); // line 272, pos 37
#39: Expected '!==' and instead saw '!='.
if (typeof comparator != "function"){ // line 275, pos 31
#40: Expected '!==' and instead saw '!='.
if (expected.length != actual.length){ // line 280, pos 29
#41: Line too long.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Array should have a length of " + expected.length + " but has a length of " + actual.length)); // line 281, pos 166
#42: Line too long.
throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not equivalent."), expected[i], actual[i]); // line 287, pos 168
#43: Trailing whitespace.
isEmpty : function (actual, message) { // line 299, pos 43
#44: Trailing whitespace.
YUITest.Assert._increment(); // line 300, pos 37
#45: Trailing whitespace.
}, // line 304, pos 7
#46: Trailing whitespace.
isNotEmpty : function (actual, message) { // line 313, pos 46
#47: Trailing whitespace.
YUITest.Assert._increment(); // line 314, pos 37
#48: Trailing whitespace.
}, // line 318, pos 7
#49: Trailing whitespace.
itemsAreSame : function (expected, actual, // line 331, pos 47
#50: Trailing whitespace.
YUITest.Assert._increment(); // line 334, pos 37
#51: Expected '!==' and instead saw '!='.
if (expected.length != actual.length){ // line 337, pos 29
#52: Line too long.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Array should have a length of " + expected.length + " but has a length of " + actual.length)); // line 338, pos 166
#53: Line too long.
throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values in position " + i + " are not the same."), expected[i], actual[i]); // line 344, pos 166
#54: Expected '!==' and instead saw '!='.
if (index != i){ // line 365, pos 27
#55: Line too long.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value exists at index " + i + " but should be at index " + index + ".")); // line 366, pos 173
#56: Trailing whitespace.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value exists at index " + i + " but should be at index " + index + ".")); // line 366, pos 154
#57: Trailing whitespace.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Value doesn't exist in array.")); // line 373, pos 102
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/Assert.js contains 44 lint errors
#1: Expected '===' and instead saw '=='.
if (typeof customMessage == "string" && customMessage.length > 0){ // line 36, pos 34
#2: Trailing whitespace.
} // line 40, pos 10
#3: Trailing whitespace.
/** // line 77, pos 8
#4: Trailing whitespace.
}, // line 85, pos 7
#5: Trailing whitespace.
/** // line 87, pos 8
#6: Trailing whitespace.
}, // line 94, pos 7
#7: Trailing whitespace.
//------------------------------------------------------------------------- // line 98, pos 80
#8: Expected '!==' and instead saw '!='.
if (expected != actual) { // line 111, pos 22
#9: Trailing whitespace.
areNotEqual : function (unexpected, actual, // line 125, pos 48
#10: Expected '===' and instead saw '=='.
if (unexpected == actual) { // line 128, pos 24
#11: Trailing whitespace.
}, // line 163, pos 7
#12: Trailing whitespace.
//------------------------------------------------------------------------- // line 167, pos 80
#13: Trailing whitespace.
//------------------------------------------------------------------------- // line 202, pos 80
#14: Trailing whitespace.
} // line 215, pos 10
#15: Trailing whitespace.
} // line 229, pos 10
#16: Expected '===' and instead saw '=='.
if (typeof actual == "undefined") { // line 257, pos 27
#17: Expected '!==' and instead saw '!='.
if (typeof actual != "undefined") { // line 287, pos 27
#18: Trailing whitespace.
}, // line 290, pos 7
#19: Trailing whitespace.
//-------------------------------------------------------------------------- // line 294, pos 81
#20: Expected '!==' and instead saw '!='.
shouldFail = Object.prototype.toString.call(actual) != "[object Array]"; // line 309, pos 65
#21: Trailing whitespace.
} // line 313, pos 10
#22: Expected '!==' and instead saw '!='.
if (typeof actual != "boolean"){ // line 325, pos 27
#23: Trailing whitespace.
} // line 327, pos 10
#24: Trailing whitespace.
} // line 341, pos 10
#25: Line too long.
throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value isn't an instance of expected type."), expected, actual); // line 357, pos 151
#26: Expected '!==' and instead saw '!='.
if (typeof actual != "number"){ // line 370, pos 27
#27: Trailing whitespace.
} // line 372, pos 10
#28: Trailing whitespace.
}, // line 373, pos 7
#29: Expected '!==' and instead saw '!='.
if (!actual || (typeof actual != "object" && typeof actual != "function")){ // line 384, pos 39
#30: Expected '!==' and instead saw '!='.
if (!actual || (typeof actual != "object" && typeof actual != "function")){ // line 384, pos 68
#31: Expected '!==' and instead saw '!='.
if (typeof actual != "string"){ // line 398, pos 27
#32: Trailing whitespace.
* Asserts that a value is of a particular type. // line 404, pos 53
#33: Expected '!==' and instead saw '!='.
if (typeof actualValue != expectedType){ // line 413, pos 32
#34: Line too long.
throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Value should be of type " + expectedType + "."), expectedType, typeof actualValue); // line 414, pos 171
#35: Trailing whitespace.
//-------------------------------------------------------------------------- // line 420, pos 81
#36: Trailing whitespace.
method(); // line 442, pos 22
#37: Expected '===' and instead saw '=='.
if (typeof expectedError == "string"){ // line 446, pos 38
#38: Expected '!==' and instead saw '!='.
if (thrown.message != expectedError){ // line 449, pos 36
#39: Expected '===' and instead saw '=='.
} else if (typeof expectedError == "function"){ // line 452, pos 45
#40: Expected '===' and instead saw '=='.
} else if (typeof expectedError == "object" && expectedError !== null){ // line 459, pos 45
#41: Trailing whitespace.
if (!(thrown instanceof expectedError.constructor) || // line 462, pos 70
#42: Expected '!==' and instead saw '!='.
thrown.message != expectedError.message){ // line 463, pos 40
#43: Trailing whitespace.
throw new YUITest.UnexpectedError(thrown); // line 472, pos 59
#44: 'message' is defined but never used.
pass : function (message) { // line 92, pos 29
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/AssertionError.js contains 1 lint errors
#1: Trailing whitespace.
*/ // line 11, pos 4
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/ComparisonFailure.js contains 3 lint errors
#1: Trailing whitespace.
* @namespace Test // line 9, pos 19
#2: Trailing whitespace.
*/ // line 14, pos 4
#3: Missing '()' invoking a constructor.
YUITest.ComparisonFailure.prototype = new YUITest.AssertionError; // line 44, pos 51
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/CoverageFormat.js contains 2 lint errors
#1: Trailing whitespace.
*/ // line 31, pos 8
#2: Too many var statements.
for (var prop in coverage){ // line 35, pos 18
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/DateAssert.js contains 11 lint errors
#1: Trailing whitespace.
YUITest.Assert._increment(); // line 23, pos 37
#2: Expected '!==' and instead saw '!='.
if (expected.getFullYear() != actual.getFullYear()){ // line 28, pos 40
#3: Expected '!==' and instead saw '!='.
if (expected.getMonth() != actual.getMonth()){ // line 33, pos 37
#4: Trailing whitespace.
} // line 35, pos 14
#5: Expected '!==' and instead saw '!='.
if (expected.getDate() != actual.getDate()){ // line 38, pos 36
#6: Trailing whitespace.
} // line 40, pos 14
#7: Expected '!==' and instead saw '!='.
if (expected.getHours() != actual.getHours()){ // line 64, pos 37
#8: Expected '!==' and instead saw '!='.
if (expected.getMinutes() != actual.getMinutes()){ // line 69, pos 39
#9: Trailing whitespace.
} // line 71, pos 14
#10: Expected '!==' and instead saw '!='.
if (expected.getSeconds() != actual.getSeconds()){ // line 74, pos 39
#11: Trailing whitespace.
} // line 76, pos 14
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/EventTarget.js contains 13 lint errors
#1: Expected '===' and instead saw '=='.
if (typeof this._handlers[type] == "undefined"){ // line 39, pos 41
#2: Trailing whitespace.
*/ // line 64, pos 8
#3: Expected '===' and instead saw '=='.
if (typeof event == "string"){ // line 66, pos 26
#4: Too many var statements.
for (var i=0, len=handlers.length; i < len; i++){ // line 79, pos 22
#5: Trailing whitespace.
} // line 82, pos 10
#6: Too many var statements.
for (var i=0, len=handlers.length; i < len; i++){ // line 95, pos 22
#7: Trailing whitespace.
} // line 101, pos 10
#8: Trailing whitespace.
this.detach.apply(this, arguments); // line 113, pos 44
#9: Trailing whitespace.
} // line 114, pos 6
#10: 'listener' is defined but never used.
subscribe: function(type, listener){ // line 54, pos 39
#11: 'type' is defined but never used.
subscribe: function(type, listener){ // line 54, pos 29
#12: 'listener' is defined but never used.
unsubscribe: function(type, listener){ // line 112, pos 41
#13: 'type' is defined but never used.
unsubscribe: function(type, listener){ // line 112, pos 31
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/Mock.js contains 19 lint errors
#1: A constructor name should start with an uppercase letter.
mock = new f(); // line 23, pos 20
#2: Expected '===' and instead saw '=='.
if (typeof template[name] == "function"){ // line 31, pos 39
#3: Don't make functions within a loop.
}(name); // line 36, pos 18
#4: Wrap an immediate function invocation in parentheses to assist the reader in understanding that the expression is the result of a function, and not the function itself.
}(name); // line 36, pos 19
#5: Trailing whitespace.
return mock; // line 42, pos 17
#6: Trailing whitespace.
*/ // line 64, pos 4
#7: Expected '===' and instead saw '=='.
callCount = (typeof expectation.callCount == "number") ? expectation.callCount : 1, // line 77, pos 55
#8: Trailing whitespace.
} // line 92, pos 14
#9: Trailing whitespace.
mock[name] = function(){ // line 97, pos 37
#10: Trailing whitespace.
} // line 103, pos 22
#11: Trailing whitespace.
// by our 'run' function. // line 116, pos 42
#12: Trailing whitespace.
} // line 128, pos 18
#13: Trailing whitespace.
*/ // line 144, pos 4
#14: Trailing whitespace.
YUITest.Mock.verify = function(mock){ // line 145, pos 38
#15: Too many var statements.
var expectation = mock.__expectations[name]; // line 150, pos 21
#16: Line too long.
YUITest.Assert.areEqual(expectation.callCount, expectation.actualCallCount, "Method " + expectation.method + "() wasn't called the expected number of times."); // line 152, pos 179
#17: Line too long.
YUITest.Assert.areEqual(expectation.value, mock[expectation.property], "Property " + expectation.property + " wasn't set to the correct value."); // line 154, pos 166
#18: Trailing whitespace.
YUITest.Assert.areEqual(expectation.value, mock[expectation.property], "Property " + expectation.property + " wasn't set to the correct value."); // line 154, pos 166
#19: Trailing whitespace.
} // line 155, pos 18
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/ObjectAssert.js contains 33 lint errors
#1: Trailing whitespace.
YUITest.Assert._increment(); // line 23, pos 37
#2: Expected '!==' and instead saw '!='.
if (expectedKeys.length != actualKeys.length){ // line 29, pos 33
#3: Line too long.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Object should have " + expectedKeys.length + " keys but has " + actualKeys.length)); // line 30, pos 156
#4: Too many var statements.
for (var name in expected){ // line 34, pos 18
#5: Expected '!==' and instead saw '!='.
if (expected[name] != actual[name]){ // line 36, pos 36
#6: Line too long.
throw new YUITest.ComparisonFailure(YUITest.Assert._formatMessage(message, "Values should be equal for property " + name), expected[name], actual[name]); // line 37, pos 173
#7: Trailing whitespace.
} // line 38, pos 18
#8: Trailing whitespace.
} // line 40, pos 10
#9: Trailing whitespace.
*/ // line 51, pos 8
#10: Trailing whitespace.
YUITest.ObjectAssert.ownsOrInheritsKey(propertyName, object, message); // line 53, pos 79
#11: Trailing whitespace.
*/ // line 64, pos 8
#12: Trailing whitespace.
*/ // line 76, pos 8
#13: Trailing whitespace.
YUITest.Assert._increment(); // line 78, pos 37
#14: Trailing whitespace.
} // line 81, pos 10
#15: Trailing whitespace.
*/ // line 91, pos 8
#16: Trailing whitespace.
YUITest.Assert._increment(); // line 93, pos 37
#17: Trailing whitespace.
} // line 97, pos 14
#18: Trailing whitespace.
*/ // line 108, pos 8
#19: Trailing whitespace.
YUITest.Assert._increment(); // line 110, pos 37
#20: Trailing whitespace.
} // line 113, pos 10
#21: Trailing whitespace.
*/ // line 123, pos 8
#22: Trailing whitespace.
YUITest.Assert._increment(); // line 125, pos 37
#23: Trailing whitespace.
} // line 129, pos 14
#24: Trailing whitespace.
*/ // line 139, pos 8
#25: Trailing whitespace.
YUITest.Assert._increment(); // line 141, pos 37
#26: Trailing whitespace.
YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Object owns " + count + " properties but should own none.")); // line 145, pos 134
#27: Trailing whitespace.
*/ // line 157, pos 8
#28: Trailing whitespace.
YUITest.Assert._increment(); // line 159, pos 37
#29: Trailing whitespace.
} // line 162, pos 10
#30: Trailing whitespace.
*/ // line 172, pos 8
#31: Trailing whitespace.
YUITest.Assert._increment(); // line 174, pos 37
#32: Trailing whitespace.
} // line 178, pos 14
#33: Trailing whitespace.
} // line 180, pos 6
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/Reporter.js contains 8 lint errors
#1: Use the object literal notation {}.
this._fields = new Object(); // line 34, pos 34
#2: Trailing whitespace.
this._fields[name] = value; // line 66, pos 40
#3: Use the object literal notation {}.
this._fields = new Object(); // line 75, pos 38
#4: Trailing whitespace.
} // line 88, pos 14
#5: Script URL.
this._iframe.src = "javascript:false"; // line 121, pos 36
#6: Too many var statements.
var value = this._fields[prop]; // line 145, pos 21
#7: Expected '!==' and instead saw '!='.
if (this._fields.hasOwnProperty(prop) && (typeof value != "function")){ // line 146, pos 72
#8: Too many var statements.
var input = document.createElement("input"); // line 147, pos 25
yogi [info] /Users/derek/src/yui/yui3/src/test/js/Results.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/ShouldError.js contains 2 lint errors
#1: Trailing whitespace.
* @namespace Test // line 6, pos 19
#2: Trailing whitespace.
*/ // line 11, pos 4
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/ShouldFail.js contains 2 lint errors
#1: Trailing whitespace.
* @namespace Test // line 6, pos 19
#2: Trailing whitespace.
*/ // line 11, pos 4
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/TestCase.js contains 9 lint errors
#1: Trailing whitespace.
} // line 25, pos 6
#2: Expected '!==' and instead saw '!='.
if (typeof this.name != "string") { // line 28, pos 26
#3: Trailing whitespace.
YUITest.TestCase.prototype = { // line 35, pos 31
#4: Expected '===' and instead saw '=='.
var actualDelay = (typeof segment == "number" ? segment : delay); // line 74, pos 43
#5: Expected '===' and instead saw '=='.
actualDelay = (typeof actualDelay == "number" ? actualDelay : 10000); // line 75, pos 43
#6: Expected '===' and instead saw '=='.
if (typeof segment == "function"){ // line 77, pos 28
#7: Trailing whitespace.
} // line 101, pos 10
#8: Trailing whitespace.
fail: function (message) { // line 109, pos 31
#9: Trailing whitespace.
tearDown: function () { // line 149, pos 28
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/TestFormat.js contains 37 lint errors
#1: Expected '===' and instead saw '=='.
if (typeof(results.duration)=="number"){ // line 56, pos 45
#2: Expected '===' and instead saw '=='.
if (results.type == "test"){ // line 60, pos 34
#3: Line too long.
xml += " passed=\"" + results.passed + "\" failed=\"" + results.failed + "\" ignored=\"" + results.ignored + "\" total=\"" + results.total + "\">"; // line 63, pos 167
#4: Too many var statements.
for (var prop in results){ // line 64, pos 30
#5: Expected '===' and instead saw '=='.
if (results[prop] && typeof results[prop] == "object" && !(results[prop] instanceof Array)){ // line 66, pos 71
#6: Trailing whitespace.
} // line 70, pos 22
#7: Trailing whitespace.
return xml; // line 75, pos 28
#8: Expected '!==' and instead saw '!='.
if (results.result != "ignore"){ // line 98, pos 44
#9: Expected '===' and instead saw '=='.
if (results.result == "fail"){ // line 100, pos 48
#10: Line too long.
xml = "<testsuite name=\"" + xmlEscape(results.name) + "\" tests=\"" + results.total + "\" failures=\"" + results.failed + "\" time=\"" + (results.duration/1000) + "\">"; // line 110, pos 194
#11: Too many var statements.
for (var prop in results){ // line 112, pos 34
#12: Expected '===' and instead saw '=='.
if (results[prop] && typeof results[prop] == "object" && !(results[prop] instanceof Array)){ // line 114, pos 75
#13: Trailing whitespace.
} // line 118, pos 26
#14: Too many var statements.
for (var prop in results){ // line 125, pos 34
#15: 'prop' is already defined.
for (var prop in results){ // line 125, pos 39
#16: Expected '===' and instead saw '=='.
if (results[prop] && typeof results[prop] == "object" && !(results[prop] instanceof Array)){ // line 127, pos 75
#17: Trailing whitespace.
} // line 131, pos 26
#18: Too many var statements.
for (var prop in results){ // line 139, pos 34
#19: 'prop' is already defined.
for (var prop in results){ // line 139, pos 39
#20: Expected '===' and instead saw '=='.
if (results[prop] && typeof results[prop] == "object" && !(results[prop] instanceof Array)){ // line 141, pos 75
#21: Trailing whitespace.
} // line 145, pos 26
#22: Trailing whitespace.
xml += "</testsuites>"; // line 147, pos 48
#23: Expected '!==' and instead saw '!='.
if (results.result != "ignore"){ // line 177, pos 44
#24: Expected '===' and instead saw '=='.
if (results.result == "fail"){ // line 181, pos 48
#25: Too many var statements.
for (var prop in results){ // line 195, pos 34
#26: Expected '===' and instead saw '=='.
if (results[prop] && typeof results[prop] == "object" && !(results[prop] instanceof Array)){ // line 197, pos 75
#27: Trailing whitespace.
} // line 201, pos 26
#28: Trailing whitespace.
text = "#Begin testsuite " + results.name + "(" + results.failed + " failed of " + results.total + ")\n"; // line 210, pos 130
#29: Too many var statements.
for (var prop in results){ // line 212, pos 34
#30: 'prop' is already defined.
for (var prop in results){ // line 212, pos 39
#31: Expected '===' and instead saw '=='.
if (results[prop] && typeof results[prop] == "object" && !(results[prop] instanceof Array)){ // line 214, pos 75
#32: Trailing whitespace.
} // line 218, pos 26
#33: Too many var statements.
for (var prop in results){ // line 225, pos 34
#34: 'prop' is already defined.
for (var prop in results){ // line 225, pos 39
#35: Expected '===' and instead saw '=='.
if (results[prop] && typeof results[prop] == "object" && !(results[prop] instanceof Array)){ // line 227, pos 75
#36: Trailing whitespace.
} // line 231, pos 26
#37: Wrap an immediate function invocation in parentheses to assist the reader in understanding that the expression is the result of a function, and not the function itself.
}(); // line 244, pos 3
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/TestRunner.js contains 100 lint errors
#1: Trailing whitespace.
} else { // line 22, pos 21
#2: Trailing whitespace.
*/ // line 56, pos 16
#3: Trailing whitespace.
*/ // line 63, pos 16
#4: Trailing whitespace.
*/ // line 70, pos 16
#5: Trailing whitespace.
this.parent = null; // line 71, pos 32
#6: Trailing whitespace.
*/ // line 77, pos 16
#7: Trailing whitespace.
*/ // line 84, pos 16
#8: Trailing whitespace.
} // line 117, pos 14
#9: Trailing whitespace.
this._lastResults = null; // line 196, pos 38
#10: Trailing whitespace.
* Fires when a test case is opened but before the first // line 239, pos 69
#11: Trailing whitespace.
*/ // line 243, pos 16
#12: Trailing whitespace.
*/ // line 250, pos 16
#13: Trailing whitespace.
* Fires when a test suite is opened but before the first // line 254, pos 70
#14: Trailing whitespace.
*/ // line 258, pos 16
#15: Trailing whitespace.
*/ // line 266, pos 16
#16: Trailing whitespace.
*/ // line 273, pos 16
#17: Trailing whitespace.
*/ // line 280, pos 16
#18: Trailing whitespace.
*/ // line 287, pos 16
#19: Trailing whitespace.
*/ // line 294, pos 16
#20: Trailing whitespace.
*/ // line 301, pos 16
#21: Trailing whitespace.
*/ // line 308, pos 16
#22: Trailing whitespace.
BEGIN_EVENT : "begin", // line 309, pos 35
#23: Expected '===' and instead saw '=='.
if ((prop.indexOf("test") === 0 || prop.indexOf(" ") > -1) && typeof testCase[prop] == "function"){ // line 333, pos 105
#24: Too many var statements.
for (var i=0; i < testSuite.items.length; i++){ // line 355, pos 26
#25: Trailing whitespace.
} // line 360, pos 22
#26: Trailing whitespace.
} // line 361, pos 18
#27: Trailing whitespace.
} // line 384, pos 22
#28: Trailing whitespace.
} // line 385, pos 18
#29: Trailing whitespace.
}, // line 387, pos 15
#30: Trailing whitespace.
* Handles the completion of a test object's tests. Tallies test results // line 394, pos 85
#31: Expected '===' and instead saw '=='.
if (node && (typeof node.testObject == "object")) { // line 404, pos 53
#32: Trailing whitespace.
parentNode.results.include(node.results); // line 408, pos 66
#33: Trailing whitespace.
} // line 420, pos 22
#34: Trailing whitespace.
} // line 421, pos 18
#35: Trailing whitespace.
}, // line 422, pos 15
#36: Trailing whitespace.
this._cur = this._cur.next; // line 442, pos 48
#37: Trailing whitespace.
this._handleTestObjectComplete(this._cur); // line 449, pos 63
#38: Expected '===' and instead saw '=='.
if (this._cur == this._root){ // line 451, pos 35
#39: Trailing whitespace.
this._cur.results.duration = (new Date()) - this._cur._start; // line 454, pos 86
#40: Trailing whitespace.
this._running = false; // line 456, pos 47
#41: Trailing whitespace.
this._cur = this._cur.next; // line 460, pos 52
#42: Trailing whitespace.
} // line 499, pos 18
#43: Too many var statements.
var node = this._next(); // line 518, pos 21
#44: Trailing whitespace.
this._lastResult = null; // line 526, pos 45
#45: Too many var statements.
var testObject = node.testObject; // line 528, pos 25
#46: Expected '===' and instead saw '=='.
if (typeof testObject == "object" && testObject !== null){ // line 531, pos 43
#47: Trailing whitespace.
if (typeof setTimeout != "undefined"){ // line 558, pos 63
#48: Expected '!==' and instead saw '!='.
if (typeof setTimeout != "undefined"){ // line 558, pos 47
#49: Trailing whitespace.
var node = this._cur; // line 575, pos 38
#50: Too many var statements.
var testName = node.testObject; // line 588, pos 21
#51: Too many var statements.
var testCase = node.parent.testObject; // line 589, pos 21
#52: Too many var statements.
var shouldFail = testName.indexOf("fail:") === 0 || // line 598, pos 21
#53: Too many var statements.
var shouldError = (testCase._should.error || {})[testName]; // line 600, pos 21
#54: Too many var statements.
var failed = false; // line 603, pos 21
#55: Too many var statements.
var error = null; // line 604, pos 21
#56: Trailing whitespace.
segment.call(testCase, this._context); // line 610, pos 59
#57: Expected '===' and instead saw '=='.
if(YUITest.Assert._getCount() == 0 && !this._ignoreEmpty){ // line 613, pos 51
#58: Trailing whitespace.
} // line 615, pos 22
#59: Trailing whitespace.
} // line 631, pos 22
#60: Expected '===' and instead saw '=='.
if (typeof thrown.segment == "function"){ // line 641, pos 51
#61: Expected '===' and instead saw '=='.
if (typeof thrown.delay == "number"){ // line 642, pos 53
#62: Expected '!==' and instead saw '!='.
if (typeof setTimeout != "undefined"){ // line 645, pos 55
#63: Trailing whitespace.
if (!shouldError) { // line 660, pos 44
#64: Expected '===' and instead saw '=='.
if (typeof shouldError == "string"){ // line 665, pos 52
#65: Expected '!==' and instead saw '!='.
if (thrown.message != shouldError){ // line 668, pos 52
#66: Trailing whitespace.
failed = true; // line 670, pos 51
#67: Expected '===' and instead saw '=='.
} else if (typeof shouldError == "function"){ // line 672, pos 59
#68: Expected '===' and instead saw '=='.
} else if (typeof shouldError == "object" && shouldError !== null){ // line 680, pos 59
#69: Trailing whitespace.
if (!(thrown instanceof shouldError.constructor) || // line 683, pos 84
#70: Expected '!==' and instead saw '!='.
thrown.message != shouldError.message){ // line 684, pos 56
#71: Trailing whitespace.
failed = true; // line 686, pos 51
#72: Too many var statements.
var duration = (new Date()) - node._start; // line 710, pos 21
#73: Trailing whitespace.
node.parent.results[testName] = { // line 713, pos 50
#74: Expected '!==' and instead saw '!='.
if (typeof setTimeout != "undefined"){ // line 729, pos 39
#75: Trailing whitespace.
} // line 760, pos 18
#76: Trailing whitespace.
node.parent.results[testName] = { // line 788, pos 54
#77: Trailing whitespace.
if (typeof setTimeout != "undefined"){ // line 801, pos 59
#78: Expected '!==' and instead saw '!='.
if (typeof setTimeout != "undefined"){ // line 801, pos 43
#79: Trailing whitespace.
}, 0); // line 804, pos 31
#80: Trailing whitespace.
this._resumeTest(test); // line 818, pos 44
#81: Trailing whitespace.
}, // line 821, pos 15
#82: Trailing whitespace.
//------------------------------------------------------------------------- // line 825, pos 88
#83: Trailing whitespace.
}, // line 834, pos 15
#84: Trailing whitespace.
}, // line 845, pos 15
#85: Trailing whitespace.
//------------------------------------------------------------------------- // line 849, pos 88
#86: Trailing whitespace.
* @return {Object|String} Either the results object or, if a test format is // line 897, pos 89
#87: Expected '===' and instead saw '=='.
if (typeof format == "function"){ // line 904, pos 39
#88: Trailing whitespace.
return format(this._lastResults); // line 905, pos 58
#89: Trailing whitespace.
}, // line 912, pos 15
#90: Expected '===' and instead saw '=='.
if (!this._running && typeof covObject == "object"){ // line 932, pos 56
#91: Expected '===' and instead saw '=='.
if (typeof format == "function") { // line 933, pos 39
#92: Trailing whitespace.
return format(covObject); // line 934, pos 50
#93: Trailing whitespace.
} // line 940, pos 18
#94: Trailing whitespace.
//pointer to runner to avoid scope issues // line 997, pos 58
#95: Expected '===' and instead saw '=='.
if (!oldMode && this.masterSuite.items.length == 1 && this.masterSuite.items[0] instanceof YUITest.TestSuite){ // line 1003, pos 63
#96: Trailing whitespace.
} // line 1005, pos 18
#97: Trailing whitespace.
} // line 1020, pos 14
#98: Wrap an immediate function invocation in parentheses to assist the reader in understanding that the expression is the result of a function, and not the function itself.
}(); // line 1025, pos 7
#99: 'testName' is defined but never used.
testName; // line 329, pos 29
#100: 'shouldWait' is defined but never used.
var shouldWait = false; // line 515, pos 31
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/TestSuite.js contains 1 lint errors
#1: Expected '===' and instead saw '=='.
if (typeof data == "string"){ // line 30, pos 21
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/UnexpectedError.js contains 3 lint errors
#1: Trailing whitespace.
* @param {Error} cause The unexpected error that caused this error to be // line 6, pos 74
#2: Trailing whitespace.
* @namespace Test // line 8, pos 19
#3: Trailing whitespace.
*/ // line 13, pos 4
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/UnexpectedValue.js contains 2 lint errors
#1: Trailing whitespace.
* @namespace Test // line 9, pos 19
#2: Trailing whitespace.
*/ // line 14, pos 4
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/Wait.js contains 3 lint errors
#1: Expected '===' and instead saw '=='.
this.segment = (typeof segment == "function" ? segment : null); // line 20, pos 36
#2: Trailing whitespace.
this.delay = (typeof delay == "number" ? delay : 0); // line 27, pos 57
#3: Expected '===' and instead saw '=='.
this.delay = (typeof delay == "number" ? delay : 0); // line 27, pos 32
yogi [info] /Users/derek/src/yui/yui3/src/test/js/YTestWrap.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/YTestWrapAfter.js contains 2 lint errors
#1: 'name' is already defined.
var name = name.replace('Test', ''); // line 6, pos 14
#2: Expected '(end)' and instead saw '}'.
} //End of else in top wrapper // line 10, pos 1
yogi [warn] /Users/derek/src/yui/yui3/src/test/js/YUITest.js contains 1 lint errors
#1: Unmatched '{'.
} else { //Ends after the YUITest definitions // line 16, pos 8
yogi [info] /Users/derek/src/yui/yui3/src/test/meta/test.json is OK
yogi [warn] lint found a total of 353 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: text
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/text/js/text-accentfold.js
/Users/derek/src/yui/yui3/src/text/js/text-data-accentfold.js
/Users/derek/src/yui/yui3/src/text/js/text-data-wordbreak.js
/Users/derek/src/yui/yui3/src/text/js/text-wordbreak.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/text/js/text-accentfold.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/text/js/text-data-accentfold.js contains 4 lint errors
#1: Line too long.
a: /[\u00AA\u00E0-\u00E5\u0101\u0103\u0105\u01CE\u01DF\u01E1\u01FB\u0201\u0203\u0227\u1D43\u1E01\u1E9A\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u24D0\uFF41]/gi, // line 15, pos 195
#2: Line too long.
e: /[\u00E8-\u00EB\u0113\u0115\u0117\u0119\u011B\u0205\u0207\u0229\u1D49\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u2091\u212F\u24D4\uFF45]/gi, // line 19, pos 183
#3: Line too long.
o: /[\u00BA\u00F2-\u00F6\u014D\u014F\u0151\u01A1\u01D2\u01EB\u01ED\u020D\u020F\u022B\u022D\u022F\u0231\u1D52\u1E4D\u1E4F\u1E51\u1E53\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u2092\u2134\u24DE\uFF4F]/gi, // line 29, pos 237
#4: Line too long.
u: /[\u00F9-\u00FC\u0169\u016B\u016D\u016F\u0171\u0173\u01B0\u01D4\u01D6\u01D8\u01DA\u01DC\u0215\u0217\u1D58\u1D64\u1E73\u1E75\u1E77\u1E79\u1E7B\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u24E4\uFF55]/gi, // line 35, pos 207
yogi [warn] /Users/derek/src/yui/yui3/src/text/js/text-data-wordbreak.js contains 4 lint errors
#1: Line too long.
aletter : '[A-Za-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F3\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u10A0-\u10C5\u10D0-\u10FA\u10FC\u1100-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1A00-\u1A16\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BC0-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u24B6-\u24E9\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2D00-\u2D25\u2D30-\u2D65\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u303B\u303C\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790\uA791\uA7A0-\uA7A9\uA7FA-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]', // line 11, pos 3530
#2: Line too long.
numeric : '[0-9\u0660-\u0669\u066B\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9]', // line 15, pos 461
#3: Line too long.
extend : '[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0900-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C82\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D02\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B6-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAA\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2\u1DC0-\u1DE6\u1DFC-\u1DFF\u200C\u200D\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA67C\uA67D\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE26\uFF9E\uFF9F]', // line 19, pos 2033
#4: Line too long.
punctuation : '[!-#%-*,-\\/:;?@\\[-\\]_{}\u00A1\u00AB\u00B7\u00BB\u00BF;\u00B7\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1361-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u3008\u3009\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30\u2E31\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]' // line 23, pos 1210
yogi [warn] /Users/derek/src/yui/yui3/src/text/js/text-wordbreak.js contains 1 lint errors
#1: Trailing whitespace.
// start building a new word. // line 137, pos 42
yogi [info] /Users/derek/src/yui/yui3/src/text/meta/text.json is OK
yogi [warn] lint found a total of 9 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: timers
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/timers/js/timers.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/timers/js/timers.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/timers/meta/timers.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: transition
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/transition/js/transition-native.js
/Users/derek/src/yui/yui3/src/transition/js/transition-timer.js
yogi [info] tweaking meta test js file for lint
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/transition/js/transition-native.js contains 5 lint errors
#1: Trailing whitespace.
if ('transition' in DOCUMENT_STYLE // line 76, pos 35
#2: Trailing whitespace.
&& 'transitionProperty' in DOCUMENT_STYLE // line 77, pos 46
#3: 'callback' is defined but never used.
Y.NodeList.prototype.toggleView = function(name, on, callback) { // line 682, pos 62
#4: 'on' is defined but never used.
Y.NodeList.prototype.toggleView = function(name, on, callback) { // line 682, pos 52
#5: 'name' is defined but never used.
Y.NodeList.prototype.toggleView = function(name, on, callback) { // line 682, pos 48
yogi [info] /Users/derek/src/yui/yui3/src/transition/js/transition-timer.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/transition/meta/transition-test.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/transition/meta/transition.json is OK
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: tree
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/tree/js/extensions
/Users/derek/src/yui/yui3/src/tree/js/extensions/tree-labelable.js
/Users/derek/src/yui/yui3/src/tree/js/extensions/tree-node-labelable.js
/Users/derek/src/yui/yui3/src/tree/js/extensions/tree-node-openable.js
/Users/derek/src/yui/yui3/src/tree/js/extensions/tree-node-selectable.js
/Users/derek/src/yui/yui3/src/tree/js/extensions/tree-node-sortable.js
/Users/derek/src/yui/yui3/src/tree/js/extensions/tree-openable.js
/Users/derek/src/yui/yui3/src/tree/js/extensions/tree-selectable.js
/Users/derek/src/yui/yui3/src/tree/js/extensions/tree-sortable.js
/Users/derek/src/yui/yui3/src/tree/js/plugins
/Users/derek/src/yui/yui3/src/tree/js/plugins/tree-lazy.js
/Users/derek/src/yui/yui3/src/tree/js/tree-node.js
/Users/derek/src/yui/yui3/src/tree/js/tree.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/extensions/tree-labelable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/extensions/tree-node-labelable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/extensions/tree-node-openable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/extensions/tree-node-selectable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/extensions/tree-node-sortable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/extensions/tree-openable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/extensions/tree-selectable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/extensions/tree-sortable.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/plugins/tree-lazy.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/tree-node.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/js/tree.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/tree/meta/tree.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: uploader
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/uploader/js/uploader-flash.js
/Users/derek/src/yui/yui3/src/uploader/js/uploader-html5.js
/Users/derek/src/yui/yui3/src/uploader/js/uploader-queue.js
/Users/derek/src/yui/yui3/src/uploader/js/uploader.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/uploader/js/uploader-flash.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/uploader/js/uploader-html5.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/uploader/js/uploader-queue.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/uploader/js/uploader.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/uploader/meta/uploader-flash.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/uploader/meta/uploader-html5.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/uploader/meta/uploader-queue.json is OK
yogi [info] /Users/derek/src/yui/yui3/src/uploader/meta/uploader.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-anim
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-anim/js/WidgetAnim.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-anim/js/WidgetAnim.js contains 12 lint errors
#1: Trailing whitespace.
* The namespace for the plugin. This will be the property on the widget, which will // line 41, pos 85
#2: Trailing whitespace.
* Pre-Packaged Animation implementations, which can be used for animShow and animHide attribute // line 63, pos 97
#3: Trailing whitespace.
* Static property used to define the default attribute // line 108, pos 56
#4: Trailing whitespace.
* @default 0.2 (seconds // line 122, pos 29
#5: Trailing whitespace.
* // line 130, pos 7
#6: Trailing whitespace.
* The initializer lifecycle implementation. Modifies the host widget's // line 154, pos 76
#7: Trailing whitespace.
* @param {Object} config The user configuration for the plugin // line 158, pos 68
#8: Trailing whitespace.
* // line 174, pos 7
#9: Trailing whitespace.
this.get(ANIM_SHOW).on(START, // line 231, pos 38
#10: Trailing whitespace.
this.get(ANIM_HIDE).after(END, // line 245, pos 39
#11: 'config' is defined but never used.
function WidgetAnim(config) { // line 36, pos 27
#12: 'config' is defined but never used.
initializer : function(config) { // line 160, pos 34
yogi [warn] /Users/derek/src/yui/yui3/src/widget-anim/meta/widget-anim.json contains 1 lint errors
#1: Mixed spaces and tabs.
"requires": [ // line 3, pos 1
yogi [warn] lint found a total of 13 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-autohide
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-autohide/js/Widget-Autohide.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-autohide/js/Widget-Autohide.js contains 8 lint errors
#1: 'WIDGET_AUTOHIDE' is defined but never used.
var WIDGET_AUTOHIDE = 'widgetAutohide', // line 11, pos 20
#2: 'AUTOHIDE' is defined but never used.
AUTOHIDE = 'autohide', // line 12, pos 13
#3: 'CLICK_OUTSIDE' is defined but never used.
CLICK_OUTSIDE = 'clickoutside', // line 13, pos 18
#4: 'FOCUS_OUTSIDE' is defined but never used.
FOCUS_OUTSIDE = 'focusoutside', // line 14, pos 18
#5: 'getCN' is defined but never used.
getCN = Y.ClassNameManager.getClassName; // line 25, pos 10
#6: 'config' is defined but never used.
function WidgetAutohide(config) { // line 34, pos 31
#7: 'self' is defined but never used.
self = this, // line 156, pos 21
#8: 'e' is defined but never used.
_afterHideOnChange : function(e) { // line 223, pos 40
yogi [info] /Users/derek/src/yui/yui3/src/widget-autohide/meta/widget-autohide.json is OK
yogi [warn] lint found a total of 8 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-buttons
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-buttons/js/widget-buttons.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-buttons/js/widget-buttons.js contains 13 lint errors
#1: Expected an assignment or function call and instead saw an expression.
section || (section = button.section); // line 365, pos 49
#2: Expected an assignment or function call and instead saw an expression.
section || (section = this.DEFAULT_BUTTONS_SECTION); // line 368, pos 59
#3: Expected an assignment or function call and instead saw an expression.
isNumber(index) || (index = sectionButtons.length); // line 370, pos 58
#4: Expected an assignment or function call and instead saw an expression.
section || (section = this.DEFAULT_BUTTONS_SECTION); // line 406, pos 59
#5: Expected an assignment or function call and instead saw an expression.
section || (section = this.DEFAULT_BUTTONS_SECTION); // line 456, pos 63
#6: Missing 'new' prefix when invoking a constructor.
YArray.each(YArray(config.classNames), button.addClass, button); // line 576, pos 21
#7: Expected an assignment or function call and instead saw an expression.
isDefault && (this._defaultButton = button); // line 727, pos 51
#8: Expected an assignment or function call and instead saw an expression.
label && (buttonConfig.label = label); // line 789, pos 49
#9: Expected an assignment or function call and instead saw an expression.
buttonsConfig || (buttonsConfig = {}); // line 840, pos 49
#10: Expected an assignment or function call and instead saw an expression.
section || (section = button.section); // line 878, pos 57
#11: Expected an assignment or function call and instead saw an expression.
section || (section = defSection); // line 886, pos 49
#12: Expected an assignment or function call and instead saw an expression.
options || (options = {}); // line 976, pos 33
#13: 'srcNode' is defined but never used.
_parseButtons: function (srcNode) { // line 819, pos 37
yogi [info] /Users/derek/src/yui/yui3/src/widget-buttons/meta/widget-buttons.json is OK
yogi [warn] lint found a total of 13 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-child
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-child/js/Widget-Child.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-child/js/Widget-Child.js contains 35 lint errors
#1: Trailing whitespace.
* Widget extension providing functionality enabling a Widget to be a // line 10, pos 70
#2: Trailing whitespace.
* @description Number indicating if the Widget is selected. Possible // line 31, pos 75
#3: Trailing whitespace.
selected: { // line 39, pos 16
#4: Trailing whitespace.
* @description Number representing the Widget's ordinal position in its // line 50, pos 77
#5: Trailing whitespace.
* @default -1 // line 85, pos 19
#6: Trailing whitespace.
* @readOnly // line 86, pos 17
#7: Trailing whitespace.
* @description Number representing the depth of this Widget relative to // line 88, pos 77
#8: Expected '===' and instead saw '=='.
if (parent == root) { // line 103, pos 28
#9: Trailing whitespace.
* @type Widget // line 118, pos 20
#10: Trailing whitespace.
* @readOnly // line 119, pos 17
#11: Trailing whitespace.
* ROOT_TYPE property is set, the search for the root Widget will be // line 122, pos 73
#12: Trailing whitespace.
* Constructor reference used to determine the root of a Widget-based // line 153, pos 74
#13: Trailing whitespace.
* Currently used to control the behavior of the <code>root</code> // line 156, pos 71
#14: Trailing whitespace.
* attribute so that recursing up the object heirarchy can be constrained // line 157, pos 78
#15: Trailing whitespace.
* // line 169, pos 7
#16: Trailing whitespace.
* Override of Widget's implementation of _getUIEventNode() to ensure that // line 170, pos 79
#17: Trailing whitespace.
* @param {Boolean} circular Boolean indicating if the parent's first child // line 194, pos 79
#18: Trailing whitespace.
* should be returned if the child has no next sibling. // line 195, pos 59
#19: Trailing whitespace.
* @return {Widget} Widget instance. // line 196, pos 40
#20: Trailing whitespace.
* @param {Boolean} circular Boolean indicating if the parent's last child // line 219, pos 78
#21: Trailing whitespace.
* @return {Widget} Widget instance. // line 221, pos 40
#22: Trailing whitespace.
return sibling; // line 237, pos 24
#23: Trailing whitespace.
* @description Determines if the Widget is the root Widget in the // line 269, pos 70
#24: Trailing whitespace.
* @return {Boolean} Boolean indicating if Widget is the root Widget in the // line 271, pos 79
#25: Expected '===' and instead saw '=='.
return (this == this.get("root")); // line 275, pos 22
#26: Expected '!==' and instead saw '!='.
while (parent != root && parent.get("depth") > depth) { // line 294, pos 27
#27: Trailing whitespace.
*/ // line 311, pos 8
#28: Trailing whitespace.
* Default attribute change listener for the <code>selected</code> // line 328, pos 71
#29: Trailing whitespace.
* attribute, responsible for updating the UI, in response to // line 329, pos 66
#30: Trailing whitespace.
*/ // line 335, pos 8
#31: Trailing whitespace.
* </p> // line 346, pos 12
#32: Trailing whitespace.
*/ // line 350, pos 8
#33: Trailing whitespace.
* Binds event listeners responsible for updating the UI state in response // line 357, pos 79
#34: Trailing whitespace.
*/ // line 365, pos 8
#35: Trailing whitespace.
_bindUIChild: function () { // line 366, pos 32
yogi [info] /Users/derek/src/yui/yui3/src/widget-child/meta/widget-child.json is OK
yogi [warn] lint found a total of 35 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-modality
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-modality/js/Widget-Modality.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-modality/js/Widget-Modality.js contains 5 lint errors
#1: 'CONTENT_BOX' is defined but never used.
CONTENT_BOX = 'contentBox', // line 12, pos 16
#2: 'config' is defined but never used.
function WidgetModal(config) {} // line 55, pos 32
#3: 'e' is defined but never used.
_focus : function (e) { // line 273, pos 29
#4: 'e' is defined but never used.
uiHandles.push(Y.one('win').on('scroll', Y.bind(function(e){ // line 433, pos 75
#5: 'e' is defined but never used.
_afterFocusOnChange : function(e) { // line 550, pos 41
yogi [info] /Users/derek/src/yui/yui3/src/widget-modality/meta/widget-modality.json is OK
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-parent
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-parent/js/Widget-Parent.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-parent/js/Widget-Parent.js contains 99 lint errors
#1: Trailing whitespace.
* Widget extension providing functionality enabling a Widget to be a // line 12, pos 70
#2: Trailing whitespace.
* property is an array of either child widget instances or child widget configuration // line 18, pos 87
#3: Trailing whitespace.
* objects, and is sugar for the <a href="#method_add">add</a> method. See the // line 19, pos 79
#4: Trailing whitespace.
* <a href="#method_add">add</a> for details on the structure of the child widget // line 20, pos 82
#5: Trailing whitespace.
* Fires when a Widget is add as a child. The event object will have a // line 30, pos 75
#6: Trailing whitespace.
* 'child' property that returns a reference to the child Widget, as well // line 31, pos 77
#7: Trailing whitespace.
* as an 'index' property that returns a reference to the index specified // line 32, pos 77
#8: Trailing whitespace.
* Subscribers to the "on" moment of this event, will be notified // line 35, pos 69
#9: Trailing whitespace.
this.publish("addChild", { // line 47, pos 31
#10: Trailing whitespace.
defaultFn: this._defAddChildFn // line 49, pos 39
#11: Trailing whitespace.
* Fires when a child Widget is removed. The event object will have a // line 54, pos 74
#12: Trailing whitespace.
* 'child' property that returns a reference to the child Widget, as well // line 55, pos 77
#13: Trailing whitespace.
* Subscribers to the "on" moment of this event, will be notified // line 58, pos 69
#14: Trailing whitespace.
this.publish("removeChild", { // line 70, pos 34
#15: Trailing whitespace.
defaultFn: this._defRemoveChildFn // line 72, pos 42
#16: Trailing whitespace.
* @description String representing the default type of the children // line 110, pos 73
#17: Trailing whitespace.
activeDescendant: { // line 135, pos 24
#18: Trailing whitespace.
* @writeOnce // line 143, pos 18
#19: Trailing whitespace.
* @description Boolean indicating if multiple children can be selected at // line 145, pos 79
#20: Expected '!==' and instead saw '!='.
return (root && root != this) ? root.get("multiple") : value; // line 156, pos 34
#21: Trailing whitespace.
* @readOnly // line 164, pos 17
#22: Trailing whitespace.
* @description Returns the currently selected child Widget. If the // line 166, pos 73
#23: Trailing whitespace.
* <code>mulitple</code> attribte is set to <code>true</code> will // line 167, pos 71
#24: Trailing whitespace.
* return an Y.ArrayList instance containing the currently selected // line 168, pos 72
#25: Trailing whitespace.
var selection = Lang.isArray(value) ? // line 175, pos 50
#26: Trailing whitespace.
// Enforces selection behavior on for parent Widgets. Parent's // line 184, pos 77
#27: Trailing whitespace.
// 1 - Fully selected (all children are selected). In order for // line 187, pos 78
#28: Trailing whitespace.
// all children to be selected, multiple selection must be // line 188, pos 72
#29: Trailing whitespace.
// enabled. Therefore, you cannot set the "selected" attribute // line 189, pos 77
#30: Trailing whitespace.
// 2 - Partially selected, meaning one ore more (but not all) // line 191, pos 75
#31: Trailing whitespace.
* Destroy event listener for each child Widget, responsible for removing // line 218, pos 78
#32: Expected '===' and instead saw '=='.
if (child.get("parent") == this) { // line 229, pos 33
#33: Trailing whitespace.
} // line 231, pos 10
#34: Trailing whitespace.
* Attribute change listener for the <code>selection</code> // line 235, pos 64
#35: Trailing whitespace.
* attribute, responsible for setting the value of the // line 236, pos 59
#36: Expected '===' and instead saw '=='.
if (event.target == this && event.src != this) { // line 245, pos 26
#37: Expected '!==' and instead saw '!='.
if (event.target == this && event.src != this) { // line 245, pos 47
#38: Trailing whitespace.
if (Y.instanceOf(selection, Y.ArrayList) && // line 256, pos 60
#39: Trailing whitespace.
* Attribute change listener for the <code>activeDescendant</code> // line 272, pos 71
#40: Trailing whitespace.
* attribute, responsible for setting the value of the // line 273, pos 59
#41: Trailing whitespace.
* Attribute change listener for the <code>selected</code> // line 289, pos 63
#42: Trailing whitespace.
* attribute, responsible for syncing the selected state of all children to // line 290, pos 80
#43: Trailing whitespace.
* // line 292, pos 7
#44: Trailing whitespace.
if (this == event.target && event.src != this && // line 302, pos 57
#45: Expected '===' and instead saw '=='.
if (this == event.target && event.src != this && // line 302, pos 18
#46: Expected '!==' and instead saw '!='.
if (this == event.target && event.src != this && // line 302, pos 47
#47: Trailing whitespace.
// Specify the source of this change as the parent so that // line 307, pos 76
#48: Trailing whitespace.
// value of the parent's "selection" attribute isn't // line 308, pos 70
#49: Trailing whitespace.
* @param child {Widget|Array} Widget or Array of Widget instances. // line 325, pos 72
#50: Trailing whitespace.
* Attribute change listener for the <code>selected</code> // line 364, pos 63
#51: Trailing whitespace.
* attribute of child Widgets, responsible for setting the value of the // line 365, pos 76
#52: Expected '===' and instead saw '=='.
if (child.get("parent") == this) { // line 377, pos 33
#53: Expected '!==' and instead saw '!='.
if (event.src != "_updateSelection") { // line 379, pos 27
#54: Expected '===' and instead saw '=='.
if (event.src == this) { // line 397, pos 27
#55: Trailing whitespace.
* Attribute change listener for the <code>focused</code> // line 406, pos 62
#56: Trailing whitespace.
* attribute of child Widgets, responsible for setting the value of the // line 407, pos 76
#57: Trailing whitespace.
* By default Widget instances will be created of the type specified // line 421, pos 73
#58: Trailing whitespace.
* literal. The use of the <code>type</code> property has been deprecated, but // line 424, pos 83
#59: Trailing whitespace.
* for backwards compatibility. // line 426, pos 36
#60: Trailing whitespace.
* @param config {Object} Object literal representing the configuration // line 430, pos 76
#61: Trailing whitespace.
// defaultType is normalized to a function in it's setter // line 448, pos 70
#62: Trailing whitespace.
* @param child {Widget} The Widget instance, or configuration // line 468, pos 67
#63: Trailing whitespace.
* @param index {Number} Number representing the position at // line 470, pos 65
#64: Trailing whitespace.
* @param index {Number} Number representing the index of the Widget to // line 509, pos 76
#65: Trailing whitespace.
*/ // line 511, pos 8
#66: Trailing whitespace.
* @param child {Widget|Object} The Widget instance, or configuration // line 536, pos 73
#67: Trailing whitespace.
* @param child {Array} Array of Widget instances, or configuration // line 538, pos 71
#68: Trailing whitespace.
* @param index {Number} (Optional.) Number representing the position at // line 540, pos 77
#69: Trailing whitespace.
* @return {Widget|Array} Successfully added Widget or Array containing the // line 545, pos 79
#70: Trailing whitespace.
* successfully added Widget instance(s). If no children where added, will // line 546, pos 78
#71: Trailing whitespace.
_add: function (child, index) { // line 549, pos 36
#72: Trailing whitespace.
* @param child {Widget|Object} The Widget instance, or configuration // line 598, pos 73
#73: Trailing whitespace.
* a constructor function or a string which names a constructor function on the // line 601, pos 83
#74: Trailing whitespace.
* Y instance (e.g. "Tab" would refer to Y.Tab) (<code>childType</code> used to be // line 602, pos 86
#75: Trailing whitespace.
* @param child {Array} Array of Widget instances, or configuration // line 606, pos 71
#76: Trailing whitespace.
* @param index {Number} (Optional.) Number representing the position at // line 608, pos 77
#77: Trailing whitespace.
* @return {ArrayList} Y.ArrayList containing the successfully added // line 613, pos 72
#78: Trailing whitespace.
* Widget instance(s). If no children where added, will return an empty // line 614, pos 76
#79: Trailing whitespace.
* @param index {Number} (Optional.) Number representing the index of the // line 629, pos 78
#80: Trailing whitespace.
* @return {ArrayList} Y.ArrayList instance containing Widgets that were // line 653, pos 76
#81: Trailing whitespace.
* successfully removed. If no children where removed, will return an empty // line 654, pos 80
#82: Trailing whitespace.
* @param parentNode {Object} The Node under which the // line 710, pos 59
#83: Trailing whitespace.
*/ // line 712, pos 8
#84: Trailing whitespace.
// TODO: Ideally this should be in Child's render UI. // line 717, pos 62
#85: Trailing whitespace.
// Avoiding index, and using the current sibling // line 726, pos 57
#86: Trailing whitespace.
// state (which should be accurate), means we don't have // line 727, pos 65
#87: Trailing whitespace.
// to worry about decorator elements which may be added // line 728, pos 64
#88: Trailing whitespace.
// Account for case where a child was rendered independently of the // line 750, pos 84
#89: Trailing whitespace.
*/ // line 766, pos 8
#90: Expected '===' and instead saw '=='.
if (child.get("parent") == this) { // line 774, pos 33
#91: Expected '===' and instead saw '=='.
if (child._oldParent == this) { // line 782, pos 30
#92: Trailing whitespace.
* set before the _renderChildren method is invoked, ideally in your renderUI method, // line 818, pos 94
#93: Trailing whitespace.
* This method is invoked before the destructor is invoked for the Widget // line 838, pos 78
#94: Trailing whitespace.
// Detach the handler responsible for removing children in // line 846, pos 68
#95: Trailing whitespace.
// 1) It is unnecessary/inefficient at this point since we are doing // line 848, pos 79
#96: Trailing whitespace.
// 2) Removing each child will affect our ability to iterate the // line 850, pos 75
#97: Trailing whitespace.
// children since the size of _items will be changing as we // line 851, pos 73
#98: Trailing whitespace.
// Need to clone the _items array since // line 855, pos 49
#99: 'e' is defined but never used.
handle = this.after("initializedChange", function (e) { // line 84, pos 61
yogi [info] /Users/derek/src/yui/yui3/src/widget-parent/meta/widget-parent.json is OK
yogi [warn] lint found a total of 99 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-position-align
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-position-align/js/Widget-PositionAlign.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-position-align/js/Widget-PositionAlign.js contains 2 lint errors
#1: 'config' is defined but never used.
function PositionAlign (config) {} // line 36, pos 31
#2: 'e' is defined but never used.
_afterAlignOnChange: function(e) { // line 642, pos 36
yogi [info] /Users/derek/src/yui/yui3/src/widget-position-align/meta/widget-position-align.json is OK
yogi [warn] lint found a total of 2 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-position-constrain
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-position-constrain/js/Widget-PositionConstrain.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-position-constrain/js/Widget-PositionConstrain.js contains 3 lint errors
#1: Redefinition of 'Node'.
Node = Y.Node, // line 23, pos 5
#2: Expected '===' and instead saw '=='.
var x = (axis == X_COORD), // line 187, pos 27
#3: 'config' is defined but never used.
function PositionConstrain(config) {} // line 39, pos 34
yogi [info] /Users/derek/src/yui/yui3/src/widget-position-constrain/meta/widget-position-constrain.json is OK
yogi [warn] lint found a total of 3 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-position
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-position/js/Widget-Position.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-position/js/Widget-Position.js contains 2 lint errors
#1: Expected '!==' and instead saw '!='.
if (e.src != UI) { // line 256, pos 23
#2: 'config' is defined but never used.
function Position(config) { // line 31, pos 29
yogi [info] /Users/derek/src/yui/yui3/src/widget-position/meta/widget-position.json is OK
yogi [warn] lint found a total of 2 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-stack
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-stack/js/Widget-Stack.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-stack/js/Widget-Stack.js contains 5 lint errors
#1: Redefinition of 'Node'.
Node = Y.Node, // line 8, pos 9
#2: Expected '===' and instead saw '=='.
value: (UA.ie == 6) // line 75, pos 27
#3: Line too long.
Stack.SHIM_TEMPLATE = '<iframe class="' + Stack.SHIM_CLASS_NAME + '" frameborder="0" title="Widget Stacking Shim" src="javascript:false" tabindex="-1" role="presentation"></iframe>'; // line 131, pos 186
#4: Expected '===' and instead saw '=='.
if (UA.ie == 6) { // line 295, pos 27
#5: 'config' is defined but never used.
function Stack(config) {} // line 54, pos 26
yogi [info] /Users/derek/src/yui/yui3/src/widget-stack/meta/widget-stack.json is OK
yogi [warn] lint found a total of 5 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget-stdmod
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget-stdmod/js/Widget-StdMod.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget-stdmod/js/Widget-StdMod.js contains 19 lint errors
#1: Redefinition of 'Node'.
Node = Y.Node, // line 7, pos 9
#2: Line too long.
* @description The section (WidgetStdMod.HEADER, WidgetStdMod.BODY or WidgetStdMod.FOOTER) which should be resized to fill the height of the standard module, when a // line 179, pos 173
#3: Expected '===' and instead saw '=='.
return !val || val == StdMod.BODY || val == StdMod.HEADER || val == StdMod.FOOTER; // line 396, pos 32
#4: Expected '===' and instead saw '=='.
return !val || val == StdMod.BODY || val == StdMod.HEADER || val == StdMod.FOOTER; // line 396, pos 54
#5: Expected '===' and instead saw '=='.
return !val || val == StdMod.BODY || val == StdMod.HEADER || val == StdMod.FOOTER; // line 396, pos 78
#6: Too many var statements.
var currNode = this._currFillNode; // line 410, pos 17
#7: Expected '!==' and instead saw '!='.
if (height != EMPTY && height != AUTO) { // line 434, pos 28
#8: Expected '!==' and instead saw '!='.
if (height != EMPTY && height != AUTO) { // line 434, pos 47
#9: Too many var statements.
var footer = this[STD_FOOTER + NODE_SUFFIX]; // line 523, pos 25
#10: Too many var statements.
var preciseRegion = node.invoke(getBCR); // line 590, pos 21
#11: Line too long.
* @param {String} section The section for which the render Node is to be found. Either WidgetStdMod.HEADER, WidgetStdMod.BODY or WidgetStdMod.FOOTER. // line 605, pos 158
#12: Line too long.
* @param {String} section The standard module section whose child nodes are to be retrieved. Either WidgetStdMod.HEADER, WidgetStdMod.BODY or WidgetStdMod.FOOTER. // line 662, pos 171
#13: Line too long.
* @param {String} section The standard module section whose content is to be updated. Either WidgetStdMod.HEADER, WidgetStdMod.BODY or WidgetStdMod.FOOTER. // line 676, pos 164
#14: Too many var statements.
for (var i = 0, l = stdModNodes.length; i < l; i++) { // line 741, pos 26
#15: 'config' is defined but never used.
function StdMod(config) {} // line 60, pos 27
#16: 'contentBox' is defined but never used.
headerContent: function(contentBox) { // line 199, pos 43
#17: 'contentBox' is defined but never used.
bodyContent: function(contentBox) { // line 203, pos 41
#18: 'contentBox' is defined but never used.
footerContent : function(contentBox) { // line 207, pos 44
#19: 'parsedCfg' is defined but never used.
_applyStdModParsedConfig : function(node, cfg, parsedCfg) { // line 648, pos 65
yogi [info] /Users/derek/src/yui/yui3/src/widget-stdmod/meta/widget-stdmod.json is OK
yogi [warn] lint found a total of 19 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: widget
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/widget/js/Widget.js
/Users/derek/src/yui/yui3/src/widget/js/WidgetBaseIE.js
/Users/derek/src/yui/yui3/src/widget/js/WidgetHTMLParser.js
/Users/derek/src/yui/yui3/src/widget/js/WidgetLocale.js
/Users/derek/src/yui/yui3/src/widget/js/WidgetSkin.js
/Users/derek/src/yui/yui3/src/widget/js/WidgetUIEvents.js
yogi [info] lint complete
yogi [warn] /Users/derek/src/yui/yui3/src/widget/js/Widget.js contains 5 lint errors
#1: Redefinition of 'Node'.
Node = Y.Node, // line 15, pos 5
#2: 'config' is defined but never used.
initializer: function(config) { // line 388, pos 33
#3: 'node' is defined but never used.
_defaultBB : function(node) { // line 785, pos 31
#4: 'node' is defined but never used.
_defaultCB : function(node) { // line 798, pos 31
#5: 'boundingBox' is defined but never used.
_unbindDOM : function(boundingBox) { // line 946, pos 38
yogi [warn] /Users/derek/src/yui/yui3/src/widget/js/WidgetBaseIE.js contains 1 lint errors
#1: Expected '!==' and instead saw '!='.
this._bbs = borderBoxSupported = !(IE && IE < 8 && bb.get("ownerDocument").get("compatMode") != "BackCompat"); // line 24, pos 102
yogi [warn] /Users/derek/src/yui/yui3/src/widget/js/WidgetHTMLParser.js contains 2 lint errors
#1: Redefinition of 'Node'.
Node = Y.Node, // line 10, pos 5
#2: 'o' is defined but never used.
Y.Object.each(schema, function(v, k, o) { // line 147, pos 51
yogi [warn] /Users/derek/src/yui/yui3/src/widget/js/WidgetLocale.js contains 4 lint errors
#1: Expected '!==' and instead saw '!='.
if (locale !== defLocale || idx != -1) { // line 132, pos 41
#2: Expected '!==' and instead saw '!='.
if (idx != -1) { // line 143, pos 25
#3: Expected '!==' and instead saw '!='.
} while (idx != -1); // line 147, pos 26
#4: 'val' is defined but never used.
_strGetter : function(val) { // line 168, pos 30
yogi [info] /Users/derek/src/yui/yui3/src/widget/js/WidgetSkin.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/widget/js/WidgetUIEvents.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/widget/meta/widget.json is OK
yogi [warn] lint found a total of 12 errors.
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: xml
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/xml/js/xml-format.js
/Users/derek/src/yui/yui3/src/xml/js/xml-parse.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/xml/js/xml-format.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/xml/js/xml-parse.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/xml/meta/xml.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: yql
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/yql/js/yql-jsonp.js
/Users/derek/src/yui/yui3/src/yql/js/yql-nodejs.js
/Users/derek/src/yui/yui3/src/yql/js/yql-winjs.js
/Users/derek/src/yui/yui3/src/yql/js/yql.js
yogi [info] tweaking meta test js file for lint
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/yql/js/yql-jsonp.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yql/js/yql-nodejs.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yql/js/yql-winjs.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yql/js/yql.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yql/meta/jsonp.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yql/meta/yql.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: yui-throttle
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/yui-throttle/js/throttle.js
yogi [info] lint complete
Failed to find lines for { name: 'yui',
submodules: { 'yui-throttle': 1 },
classes: { YUI: 1 },
fors: { YUI: 1 },
namespaces: {} }
yogi [info] /Users/derek/src/yui/yui3/src/yui-throttle/js/throttle.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui-throttle/meta/yui-throttle.json is OK
yogi [info] no lint errors detected, good for you!
yogi [info] using yogi@0.1.11 on node@0.10.15
yogi [info] using module: yui
yogi [info] running lint on source files
/Users/derek/src/yui/yui3/src/yui/js/_module.js
/Users/derek/src/yui/yui3/src/yui/js/alias.js
/Users/derek/src/yui/yui3/src/yui/js/features.js
/Users/derek/src/yui/yui3/src/yui/js/intl-base.js
/Users/derek/src/yui/yui3/src/yui/js/load-tests.js
/Users/derek/src/yui/yui3/src/yui/js/queue-base.js
/Users/derek/src/yui/yui3/src/yui/js/yui-array.js
/Users/derek/src/yui/yui3/src/yui/js/yui-base.js
/Users/derek/src/yui/yui3/src/yui/js/yui-core.js
/Users/derek/src/yui/yui3/src/yui/js/yui-init.js
/Users/derek/src/yui/yui3/src/yui/js/yui-lang.js
/Users/derek/src/yui/yui3/src/yui/js/yui-later.js
/Users/derek/src/yui/yui3/src/yui/js/yui-log-nodejs.js
/Users/derek/src/yui/yui3/src/yui/js/yui-log.js
/Users/derek/src/yui/yui3/src/yui/js/yui-object.js
/Users/derek/src/yui/yui3/src/yui/js/yui-ua.js
/Users/derek/src/yui/yui3/src/yui/js/yui.js
yogi [info] lint complete
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/_module.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/yui/js/alias.js contains 3 lint errors
#1: Line too long.
"datasource": ["datasource-local","datasource-io","datasource-get","datasource-function","datasource-cache","datasource-jsonschema","datasource-xmlschema","datasource-arrayschema","datasource-textschema","datasource-polling"], // line 17, pos 230
#2: Line too long.
"datatable": ["datatable-core","datatable-table","datatable-head","datatable-body","datatable-base","datatable-column-widths","datatable-message","datatable-mutable","datatable-sort","datatable-datasource"], // line 18, pos 211
#3: Line too long.
"event": ["event-base","event-delegate","event-synthetic","event-mousewheel","event-mouseenter","event-key","event-focus","event-resize","event-hover","event-outside","event-touch","event-move","event-flick","event-valuechange","event-tap"], // line 26, pos 245
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/features.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/intl-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/load-tests.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/queue-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/yui-array.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/yui-base.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/yui-core.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/yui/js/yui-init.js contains 1 lint errors
#1: Input is an empty string.
// line 0, pos 0
yogi [warn] /Users/derek/src/yui/yui3/src/yui/js/yui-lang.js contains 3 lint errors
#1: Line too long.
WHITESPACE = "\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF", // line 35, pos 164
#2: Unnecessary escapement.
WHITESPACE = "\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF", // line 35, pos 42
#3: Unnecessary escapement.
WHITESPACE_CLASS = "[\x09-\x0D\x20\xA0\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+", // line 36, pos 32
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/yui-later.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/yui-log-nodejs.js is OK
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/yui-log.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/yui/js/yui-object.js contains 3 lint errors
#1: Do not wrap function literals in parens unless they are to be immediately invoked.
hasProtoEnumBug = O._hasProtoEnumBug = (function () {}).propertyIsEnumerable('prototype'), // line 93, pos 40
#2: Trailing whitespace.
* available and non-buggy. The Opera 11.50 and Android 2.3.x versions of // line 130, pos 74
#3: Trailing whitespace.
* `Object.keys()` have an inconsistency as they consider `prototype` to be // line 131, pos 76
yogi [info] /Users/derek/src/yui/yui3/src/yui/js/yui-ua.js is OK
yogi [warn] /Users/derek/src/yui/yui3/src/yui/js/yui.js contains 146 lint errors
#1: Redefinition of 'YUI'.
var YUI = function() { // line 59, pos 9
#2: Empty block.
} else { // line 291, pos 19
#3: Expected an identifier and instead saw '@'.
core: @YUI_CORE@, // line 341, pos 23
#4: Expected '}' to match '{' from line 340 and instead saw 'YUI_CORE'.
core: @YUI_CORE@, // line 341, pos 24
#5: Missing semicolon.
core: @YUI_CORE@, // line 341, pos 32
#6: Expected an identifier and instead saw '@'.
core: @YUI_CORE@, // line 341, pos 32
#7: Expected an assignment or function call and instead saw an expression.
core: @YUI_CORE@, // line 341, pos 32
#8: Label 'loaderExtras' on [ statement.
loaderExtras: ['loader-rollup', 'loader-yui3'], // line 342, pos 31
#9: Expected an assignment or function call and instead saw an expression.
loaderExtras: ['loader-rollup', 'loader-yui3'], // line 342, pos 62
#10: Empty block.
mods: {}, // flat module map // line 343, pos 25
#11: Expected an identifier and instead saw ','.
mods: {}, // flat module map // line 343, pos 25
#12: Expected an assignment or function call and instead saw an expression.
mods: {}, // flat module map // line 343, pos 25
#13: Missing semicolon.
mods: {}, // flat module map // line 343, pos 26
#14: Empty block.
versions: {}, // version module map // line 344, pos 29
#15: Expected an identifier and instead saw ','.
versions: {}, // version module map // line 344, pos 29
#16: Expected an assignment or function call and instead saw an expression.
versions: {}, // version module map // line 344, pos 29
#17: Missing semicolon.
versions: {}, // version module map // line 344, pos 30
#18: Label 'base' on BASE statement.
base: BASE, // line 345, pos 23
#19: Expected an assignment or function call and instead saw an expression.
base: BASE, // line 345, pos 23
#20: Label 'cdn' on BASE statement.
cdn: BASE + VERSION + '/build/', // line 346, pos 22
#21: Expected an assignment or function call and instead saw an expression.
cdn: BASE + VERSION + '/build/', // line 346, pos 39
#22: Label '_idx' on 0 statement.
_idx: 0, // line 348, pos 23
#23: Expected an assignment or function call and instead saw an expression.
_idx: 0, // line 348, pos 23
#24: Empty block.
_used: {}, // line 349, pos 26
#25: Expected an identifier and instead saw ','.
_used: {}, // line 349, pos 26
#26: Expected an assignment or function call and instead saw an expression.
_used: {}, // line 349, pos 26
#27: Missing semicolon.
_used: {}, // line 349, pos 27
#28: Empty block.
_attached: {}, // line 350, pos 30
#29: Expected an identifier and instead saw ','.
_attached: {}, // line 350, pos 30
#30: Expected an assignment or function call and instead saw an expression.
_attached: {}, // line 350, pos 30
#31: Missing semicolon.
_attached: {}, // line 350, pos 31
#32: Label '_missed' on [ statement.
_missed: [], // line 351, pos 26
#33: Expected an assignment or function call and instead saw an expression.
_missed: [], // line 351, pos 27
#34: Label '_yidx' on 0 statement.
_yidx: 0, // line 352, pos 24
#35: Expected an assignment or function call and instead saw an expression.
_yidx: 0, // line 352, pos 24
#36: Label '_uidx' on 0 statement.
_uidx: 0, // line 353, pos 24
#37: Expected an assignment or function call and instead saw an expression.
_uidx: 0, // line 353, pos 24
#38: Label '_guidp' on y statement.
_guidp: 'y', // line 354, pos 25
#39: Expected an assignment or function call and instead saw an expression.
_guidp: 'y', // line 354, pos 25
#40: Empty block.
_loaded: {}, // line 355, pos 28
#41: Expected an identifier and instead saw ','.
_loaded: {}, // line 355, pos 28
#42: Expected an assignment or function call and instead saw an expression.
_loaded: {}, // line 355, pos 28
#43: Missing semicolon.
_loaded: {}, // line 355, pos 29
#44: Label '_BASE_RE' on (?:\?(?:[^&]*&)*([^&]*))?\b(simpleyui|yui(?:-\w+)?)\/\2(?:-(min|debug))?\.js statement.
_BASE_RE: /(?:\?(?:[^&]*&)*([^&]*))?\b(simpleyui|yui(?:-\w+)?)\/\2(?:-(min|debug))?\.js/, // line 384, pos 27
#45: Expected an assignment or function call and instead saw an expression.
_BASE_RE: /(?:\?(?:[^&]*&)*([^&]*))?\b(simpleyui|yui(?:-\w+)?)\/\2(?:-(min|debug))?\.js/, // line 384, pos 27
#46: Label 'parseBasePath' on function statement.
parseBasePath: function(src, pattern) { // line 385, pos 32
#47: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.
parseBasePath: function(src, pattern) { // line 385, pos 32
#48: Missing name in function declaration.
parseBasePath: function(src, pattern) { // line 385, pos 40
#49: Expected an identifier and instead saw ','.
}, // line 407, pos 18
#50: Expected an assignment or function call and instead saw an expression.
}, // line 407, pos 18
#51: Missing semicolon.
}, // line 407, pos 19
#52: Label 'getBase' on G_ENV statement.
getBase: G_ENV && G_ENV.getBase || // line 408, pos 26
#53: Expected an assignment or function call and instead saw an expression.
} // line 428, pos 25
#54: Missing semicolon.
} // line 428, pos 26
#55: Unnecessary semicolon.
}; // line 430, pos 14
#56: Expected '}' to match '{' from line 254 and instead saw 'Y'.
Y.constructor = YUI; // line 460, pos 9
#57: Missing 'new' prefix when invoking a constructor.
global: Function('return this')() // line 473, pos 21
#58: eval is evil.
global: Function('return this')() // line 473, pos 21
#59: Expected ')' to match '(' from line 156 and instead saw ','.
}, // line 500, pos 6
#60: Do not wrap function literals in parens unless they are to be immediately invoked.
(function() { // line 156, pos 1
#61: Expected an assignment or function call and instead saw an expression.
}, // line 500, pos 6
#62: Missing semicolon.
}, // line 500, pos 7
#63: Label '_setup' on function statement.
_setup: function() { // line 509, pos 13
#64: Missing name in function declaration.
_setup: function() { // line 509, pos 21
#65: Expected an identifier and instead saw ','.
}, // line 529, pos 6
#66: Expected an assignment or function call and instead saw an expression.
}, // line 529, pos 6
#67: Missing semicolon.
}, // line 529, pos 7
#68: Label 'applyTo' on function statement.
applyTo: function(id, method, args) { // line 543, pos 14
#69: Missing name in function declaration.
applyTo: function(id, method, args) { // line 543, pos 22
#70: Expected an identifier and instead saw ','.
}, // line 563, pos 6
#71: Expected an assignment or function call and instead saw an expression.
}, // line 563, pos 6
#72: Missing semicolon.
}, // line 563, pos 7
#73: Label 'add' on function statement.
add: function(name, fn, version, details) { // line 613, pos 10
#74: Missing name in function declaration.
add: function(name, fn, version, details) { // line 613, pos 18
#75: Expected an identifier and instead saw ','.
}, // line 647, pos 6
#76: Expected an assignment or function call and instead saw an expression.
}, // line 647, pos 6
#77: Missing semicolon.
}, // line 647, pos 7
#78: Label '_attach' on function statement.
_attach: function(r, moot) { // line 659, pos 14
#79: Missing name in function declaration.
_attach: function(r, moot) { // line 659, pos 22
#80: 'loader' is already defined.
len = r.length, loader, def, go, // line 667, pos 35
#81: Expected an identifier and instead saw ','.
}, // line 806, pos 6
#82: Expected an assignment or function call and instead saw an expression.
}, // line 806, pos 6
#83: Missing semicolon.
}, // line 806, pos 7
#84: Label '_delayCallback' on function statement.
_delayCallback: function(cb, until) { // line 819, pos 21
#85: Missing name in function declaration.
_delayCallback: function(cb, until) { // line 819, pos 29
#86: Expected an identifier and instead saw ','.
}, // line 843, pos 6
#87: Expected an assignment or function call and instead saw an expression.
}, // line 843, pos 6
#88: Missing semicolon.
}, // line 843, pos 7
#89: Label 'use' on function statement.
use: function() { // line 908, pos 10
#90: Missing name in function declaration.
use: function() { // line 908, pos 18
#91: Expected an identifier and instead saw ','.
}, // line 957, pos 6
#92: Expected an assignment or function call and instead saw an expression.
}, // line 957, pos 6
#93: Missing semicolon.
}, // line 957, pos 7
#94: Label '_notify' on function statement.
_notify: function(callback, response, args) { // line 968, pos 14
#95: Missing name in function declaration.
_notify: function(callback, response, args) { // line 968, pos 22
#96: Expected an identifier and instead saw ','.
}, // line 986, pos 6
#97: Expected an assignment or function call and instead saw an expression.
}, // line 986, pos 6
#98: Missing semicolon.
}, // line 986, pos 7
#99: Label '_use' on function statement.
_use: function(args, callback) { // line 998, pos 11
#100: Missing name in function declaration.
_use: function(args, callback) { // line 998, pos 19
#101: Expected an identifier and instead saw ','.
}, // line 1230, pos 6
#102: Expected an assignment or function call and instead saw an expression.
}, // line 1230, pos 6
#103: Missing semicolon.
}, // line 1230, pos 7
#104: Label 'namespace' on function statement.
namespace: function() { // line 1272, pos 16
#105: Missing name in function declaration.
namespace: function() { // line 1272, pos 24
#106: Expected an identifier and instead saw ','.
}, // line 1290, pos 6
#107: Expected an assignment or function call and instead saw an expression.
}, // line 1290, pos 6
#108: Missing semicolon.
}, // line 1290, pos 7
#109: Label 'log' on NOOP statement.
log: NOOP, // line 1293, pos 10
#110: Expected an assignment or function call and instead saw an expression.
log: NOOP, // line 1293, pos 10
#111: Label 'message' on NOOP statement.
message: NOOP, // line 1294, pos 14
#112: Expected an assignment or function call and instead saw an expression.
message: NOOP, // line 1294, pos 14
#113: Label 'dump' on function statement.
dump: function (o) { return ''+o; }, // line 1296, pos 11
#114: Missing name in function declaration.
dump: function (o) { return ''+o; }, // line 1296, pos 20
#115: Expected an identifier and instead saw ','.
dump: function (o) { return ''+o; }, // line 1296, pos 40
#116: Expected an assignment or function call and instead saw an expression.
dump: function (o) { return ''+o; }, // line 1296, pos 40
#117: Missing semicolon.
dump: function (o) { return ''+o; }, // line 1296, pos 41
#118: Label 'error' on function statement.
error: function(msg, e, src) { // line 1315, pos 12
#119: Missing name in function declaration.
error: function(msg, e, src) { // line 1315, pos 20
#120: Expected an identifier and instead saw ','.
}, // line 1331, pos 6
#121: Expected an assignment or function call and instead saw an expression.
}, // line 1331, pos 6
#122: Missing semicolon.
}, // line 1331, pos 7
#123: Label 'guid' on function statement.
guid: function(pre) { // line 1341, pos 11
#124: Missing name in function declaration.
guid: function(pre) { // line 1341, pos 19
#125: Expected an identifier and instead saw ','.
}, // line 1344, pos 6
#126: Expected an assignment or function call and instead saw an expression.
}, // line 1344, pos 6
#127: Missing semicolon.
}, // line 1344, pos 7
#128: Label 'stamp' on function statement.
stamp: function(o, readOnly) { // line 1363, pos 12
#129: Missing name in function declaration.
stamp: function(o, readOnly) { // line 1363, pos 20
#130: Expected an identifier and instead saw ','.
}, // line 1388, pos 6
#131: Expected an assignment or function call and instead saw an expression.
}, // line 1388, pos 6
#132: Missing semicolon.
}, // line 1388, pos 7
#133: Label 'destroy' on function statement.
destroy: function() { // line 1396, pos 14
#134: Missing name in function declaration.
destroy: function() { // line 1396, pos 22
#135: Expected '(end)' and instead saw '}'.
}; // line 1418, pos 1
#136: 'undefined' is defined but never used.
destroy: function() { // line 1396, pos 22
#137: 'prop' is defined but never used.
var proto, prop, // line 158, pos 20
#138: 'PERIOD' is defined but never used.
PERIOD = '.', // line 160, pos 15
#139: 'SLICE' is defined but never used.
SLICE = Array.prototype.slice, // line 170, pos 14
#140: 'APPLY_TO_AUTH' is defined but never used.
APPLY_TO_AUTH = { 'io.xdrReady': 1, // the functions applyTo // line 171, pos 22
#141: 'add' is defined but never used.
add = function(el, type, fn, capture) { // line 181, pos 12
#142: 'getLoader' is defined but never used.
getLoader = function(Y, o) { // line 205, pos 18
#143: 'ALREADY_DONE' is defined but never used.
ALREADY_DONE = { success: true }; // line 238, pos 21
#144: 'o' is defined but never used.
getLoader = function(Y, o) { // line 205, pos 34
#145: 'el' is defined but never used.
var filter, el, // line 322, pos 23
#146: 'undefined' is defined but never used.
parseBasePath: function(src, pattern) { // line 385, pos 40
yogi [info] /Users/derek/src/yui/yui3/src/yui/meta/yui.json is OK
yogi [warn] lint found a total of 156 errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment