Editing YUI.one('#id') selector vs Y.one(document.getElementById('id'))

This edit will create a new revision.

Your details (optional)

Test case details

Preparation code

Include JavaScript libraries as follows: <script src="//cdn.ext/library.js"></script>

Code snippets to compare

Test 1

Test 2