I want to use YUI inside of a WebWorker thread. Flickr recently wrote a post on this very topic, Web workers and YUI.
But I want to use YUI's CDN, which WebWorkers prevent because it enforces a same-origin policy with importScripts()
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Example: GitHub Contributors - YUI Library</title> | |
<meta name="viewport" content="width=960" id="meta-viewport"> | |
<script> | |
if (screen.width < 768) { | |
document.getElementById('meta-viewport').setAttribute('content', 'width=768'); |
I want to use YUI inside of a WebWorker thread. Flickr recently wrote a post on this very topic, Web workers and YUI.
But I want to use YUI's CDN, which WebWorkers prevent because it enforces a same-origin policy with importScripts()
Added: axis
configuration property to force the axis. If unspecified, ScrollView will attempt to detect which direction to scroll (based off overflow content). ScrollView also now supports scrolling on both axes (not at the same time). axis
accepts 'x'
, 'y'
, or 'xy'
, and maps to the scrollview.axis
property (an object) after initialization. For example:
var scrollview = new Y.ScrollView({
srcNode: '#myScrollview',
width: 400,
In addition to the new features detailed in the 3.7.0PR1 blog post (support for dual-axis, forced-axis, and RTL), the PR2 release of ScrollView also introduces a refactored _flickFrame method (ca118aa). This is notable because that method is the internal JS timer scrollview-base uses for flick animations. Previously it did up to 4 get()
attribute lookups per frame, but in PR2 that has been reduced to no lookups. Because less lookups = more speed, on faster browsers (iOS5, modern desktop browsers) where those ATTR lookups were a bottleneck, you should see an even smoother animation. If you want to help test it out, compare the flick behavior in PR2 to previous versions, and let us know if you notice any quirks.
Also updated in PR2, for anyone using multiple ScrollView instances on a page, you now have the ability to a
Added: axis
configuration property give it a forced axis. If unspecified, ScrollView will attempt to detect which direction to scroll (based off overflow content). Valid values for this attribute are 'x'
, 'y'
, or 'xy'
.
Added: ScrollView now supports scrolling on both axes (though not at the same time, aka: "panning") by specifying 'xy'
as the axis
value. Dual-axis support should remove most use-cases when nested ScrollView instances were required to achieve X+Y scroll capabilities.
3.7.0 is out! This was the first release on our shorter release cycle, but there was still a lot packed into the month since 3.6.0. You'll find some nice improvements with custom events, a big update to ScrollView, new modules like event-tap, node-scroll-info, and lots more! Some quick follow up releases are also out the door with 3.7.1 and 3.7.2.
A big warm welcome to Andrew Wooldridge (@triptych) who joins the YUI Team as our first community engineer. Andrew is a current Yahoo and long-time member of the YU
./src/gallery-alea/api/assets/vendor/prettify | |
./src/gallery-anim-morph/api/assets/vendor/prettify | |
./src/gallery-any-base-converter/api/assets/vendor/prettify | |
./src/gallery-array-iterate/api/assets/vendor/prettify | |
./src/gallery-array-unnest/api/assets/vendor/prettify | |
./src/gallery-async/api/assets/vendor/prettify | |
./src/gallery-async-command/api/assets/vendor/prettify | |
./src/gallery-async-command-clone/api/assets/vendor/prettify | |
./src/gallery-async-command-delay/api/assets/vendor/prettify | |
./src/gallery-async-command-timeout/api/assets/vendor/prettify |
YUIConf 2012 is quickly approaching! Tickets are now available, and we just posted some new hotel information for anyone traveling into the Bay Area. Thanks to everyone who submitted a speaker proposal. We're currently digging through those and you'll hear back from us soon!
Development on YUI 3.7.3 is just about complete and should be out the door next week. This minor version bump will bring improved Windows 8 and Internet Explorer 10 support to YUI, which has been the bulk of core development over the previous few weeks. As always, check out our Github wiki for more details about upcoming releases.
The Y.Soon pull request is getting some lively discussion, so chime on Github if you have any thoughts on it being included in YUI's core. For some backgroun
Just a reminder that YUIConf 2012 is coming up in a few weeks! You can purchase tickets here, and we'll be posting a speaker lineup soon.
This week saw the release of YUI 3.7.3, a patch release to bring improved support for Windows 8. While the target of this release was WinJS and IE10, we still encourage everyone using YUI 3.7 to upgrade since some updates will also help out non-IE10 browsers (e.g. Y.Transition fix for Firefox 16). You can learn more about this release from the announcement as well as reviewing the history rollup. Kudos to everyone who for the assistance with testing and pull requests!
Earlier this week, Dav Glass (@davglass) announced that YUI Compressor has been
YUIConf 2012 is just 19 days away! The speakers and sessions have been announced, and we'll be posting the schedule as soon as it is finalized. Act fast, because early-bird registration is only available for a few more days!
With YUI 3.7.3 out the door, we now turn our focus towards benchmarking and improving performance, as well as preparation for YUIConf. The next scheduled release is a preview release for 3.8 on November 13th, but we may also see early an preview release, as well as possible 3.7 patch releases. You can stay on top of everything going into 3.8 by following the 3.x [branch](https://github.co