This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"align_indent": false, | |
"alignment_chars": | |
[ | |
"=", | |
":" | |
], | |
"alignment_space_chars": | |
[ | |
"=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting benchmarks. | |
Base x 12,721 ops/sec ±1.62% (92 runs sampled) | |
MyBase x 10,975 ops/sec ±4.68% (82 runs sampled) | |
MyBase with 10 simple value attributes x 7,674 ops/sec ±3.96% (90 runs sampled) | |
MyBase with 20 varied attributes x 4,157 ops/sec ±2.24% (81 runs sampled) | |
BaseCore x 41,917 ops/sec ±4.44% (81 runs sampled) | |
MyBaseCore x 44,374 ops/sec ±2.22% (90 runs sampled) | |
MyBaseCore with 10 simple value attributes x 15,058 ops/sec ±2.21% (91 runs sampled) | |
MyBaseCore with 20 varied attributes x 5,083 ops/sec ±4.71% (73 runs sampled) | |
Finished. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = new Y.App(); | |
app.notify = function (req, res, next) { | |
if (!this._route_evt) { | |
this._route_evt = this.publish('route', { | |
defaultFn: function () { | |
next(); | |
} | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How would we implement lazy consensus on Pull Requests? | |
function canMerge(pr) { | |
var reviews = YUI.get('reviewers'); | |
if (reviews.whoObject().length) { | |
return false; | |
} | |
if (reviewers.haveSignedOff().length || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'), | |
path = require('path'), | |
Y = require('yui/oop'), | |
CONFIG_FILE = 'config.json', | |
NODE_ENV = process.env.NODE_ENV, | |
PORT = process.env.PORT, | |
ENV = { | |
development: NODE_ENV !== 'production', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Y.Order = Y.Base.create('order', Y.Model, [Y.ModelSync.REST], { | |
root: '/orders/', | |
initializer: function () { | |
this._products = new Y.ModelList({model: 'Product'}); | |
}, | |
_getProducts: function () { | |
return this._products; | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[15:04:57] <@rgrove> Oh yuck, Pixelmator mangles it and I don't have Photoshop anymore. :/ | |
[15:06:17] <@eric_f> email me the PSD, and I'll sick allen on it. | |
[15:07:20] deryck[lunch] is now known as deryck | |
[15:07:36] jinsley (3ebd7081@gateway/web/freenode/ip.62.189.112.129) left IRC. (Ping timeout: 245 seconds) | |
[15:07:38] <@triptych> 30 day trial? | |
[15:07:54] <@eric_f> Not worth that just to change 1 char. | |
[15:08:01] MattatLamplight (56913443@gateway/web/freenode/ip.86.145.52.67) left IRC. (Ping timeout: 245 seconds) | |
[15:08:50] <@rgrove> Installing Acorn | |
[15:10:35] Kaitana (~Kaitana@209.167.10.98) left IRC. (Ping timeout: 264 seconds) | |
[15:10:38] PQR (~PQR@188.123.241.220) left IRC. (Remote host closed the connection) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> [Warning] File not found: /data/yui3/build/cssbutton/button-min.css | |
==> [Warning] File not found: /data/yui3/build/cssbutton/button.css | |
==> [Warning] File not found: /data/yui3/build/cssgrids-base/grids-base-min.css | |
==> [Warning] File not found: /data/yui3/build/cssgrids-base/grids-base.css | |
==> [Warning] File not found: /data/yui3/build/cssgrids-units/grids-units-min.css | |
==> [Warning] File not found: /data/yui3/build/cssgrids-units/grids-units.css | |
==> [Warning] Unknown or missing item type: undefined | |
{ file: 'button/js/group.js', | |
line: 177, | |
description: 'Selector used to find buttons inside a ButtonGroup', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Searching 1219 files for "createElement\(['"]iframe" (regex, case sensitive) | |
/Users/eferraiuolo/Code/yui/yui3/src/test/js/Reporter.js: | |
115 this._iframe = document.createElement("<iframe name=\"yuiTestTarget\" />"); | |
116 } catch (ex){ | |
117: this._iframe = document.createElement("iframe"); | |
118 this._iframe.name = "yuiTestTarget"; | |
119 } | |
/Users/eferraiuolo/Code/yui/yui3/src/test/tests/unit/assets/bugs-tests.js: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Y.PullsList = Y.Base.create('pullsList', Y.ModelList, [], { | |
sync: function (action, options, callback) { | |
var url = 'https://api.github.com/repos/yui/yui3/pulls?callback={callback}'; | |
Y.jsonp(url, function (res) { | |
var meta = res.meta, | |
data = res.data; | |
if (meta.status >= 200 && meta.status < 300) { | |
callback(null, res); |