Skip to content

Instantly share code, notes, and snippets.

@ekashida
ekashida / basic-dev-setup.md
Last active December 10, 2015 00:08
Setting up git, node, npm, and a node version manager from scratch
@ekashida
ekashida / gist:5273963
Last active December 15, 2015 14:19 — forked from derek/gist:5273783

Welcome to YUI Weekly, the weekly roundup of news and announcements from the YUI team and community. If you have any interesting demos or links you’d like to share, feel free to leave a comment below.

  • This week saw the release of [YUI 3.9.1][1], a patch release that includes bug fixes and enhancements for [Handlebars][2], [LazyModelList][3] fixes, and [Y.Tree][4]. Details of all changes can be found in the [YUI 3.9.1 History Rollup][5].

  • With the 3.9 release out the door, planning for the next release of YUI is underway! One big thing you can expect to see in the upcoming preview release is Satyen Desai's work on Base performance improvements. By including [these updates][6], we're seeing a 2-5x improvements in the [base-benchmark][7] perf tests in Chrome/OSX. Improvements in Base will affect anything extending it, which includes many parts of the library. Stay tuned!

  • For those anxious to get started with the new Y.Promise component, documentation is on the way! Here's the [pull request][8

<!doctype html>
<html>
<head>
<meta charset="utf8">
<title>JSON</title>
</head>
<body>
<h1>JSON Test Page</h1>
@ekashida
ekashida / index.html
Last active December 16, 2015 23:30
[echo/status/404] Checking if the onload and onerror events fire for link tags on Android 2.3.4
<!doctype html>
<head>
<style>
#good,
#bad {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / index.html
Created May 6, 2013 16:55
[bogus.css] Checking if the onload and onerror events fire for link tags on Android 2.3.4
<!doctype html>
<head>
<style>
#good,
#bad {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / index.html
Created May 6, 2013 16:57
[echo/status/404?hack.css] Checking if the onload and onerror events fire for link tags on Android 2.3.4
<!doctype html>
<head>
<style>
#good,
#bad {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / index.html
Last active December 17, 2015 01:09
[bogus] Checking if the onload and onerror events fire for link tags on Android 2.3.4
<!doctype html>
<head>
<style>
#good,
#bad {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / index.html
Last active December 17, 2015 01:19
Debugging "Get.css()" on Android 2.3.4 Uses `echoecho` instance provided by `yogi serve` on samegame.corp.
<!doctype html>
<head>
<style>
button {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / 648-721.diff
Created May 16, 2013 22:41
The following diff is between the branch developed against in https://github.com/yui/yui3/pull/648 and https://github.com/yui/yui3/pull/721 using the following command: git diff origin/refactor-get-tests origin/get-tests src/get/
diff --git a/src/get/tests/unit/assets/get-test.js b/src/get/tests/unit/assets/get-test.js
index feb137b..0b6cb09 100644
--- a/src/get/tests/unit/assets/get-test.js
+++ b/src/get/tests/unit/assets/get-test.js
@@ -2,8 +2,6 @@ YUI.add('get-test', function (Y) {
Y.GetTests = new Y.Test.Suite("Get");
- Y.GetTests.TEST_FILES_BASE = "getfiles/";
-
@ekashida
ekashida / jsbin.js
Last active December 18, 2015 09:39
Tests that check what the DOM reports for script nodes that Y.Get inserts based on whether the transaction is `async:true` or `async:false`.
YUI().use('json-stringify', function (Y) {
var ua = {};
Y.Object.each(Y.UA, function (v, k) {
if (v) {
ua[k] = v;
}
});
log(Y.JSON.stringify(ua, null, 4));