Skip to content

Instantly share code, notes, and snippets.

'album_art',
'__decoration',
'__position',
'__streams',
'__downloads',
'available',
'bpm',
'form',
'collection_catalogNumber',
'collection_description',
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Grid Test</title>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.3.0/build/cssreset/reset-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.3.0/build/cssgrids/grids-min.css">
<style type="text/css">
#shell {
var REGISTER_COMPONENT = 'registerStateComponent';
Y.StateManager = Y.Base.create('state-manager', Y.Base, [], {
_afterAttrChange : function (e, args) {
if (e.fromManager) {
return;
}
this._stateQueue.pause();
try {
BUILD FAILED
/Users/greg/code/yui3-fork/src/dd/build.xml:23: The following error occurred while executing this line:
/Users/greg/code/yui3-fork/src/dd/build.xml:9: The following error occurred while executing this line:
/Users/greg/code/builder/componentbuild/3.x/rollup.xml:32: The following error occurred while executing this line:
/Users/greg/code/builder/componentbuild/shared/targets.xml:82: The following error occurred while executing this line:
/Users/greg/code/builder/componentbuild/shared/macrolib.xml:92: java.lang.RuntimeException
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:299)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:336)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
at com.yahoo.platform.yui.compressor.CompressorTask.execute(CompressorTask.java:68)
var AutoCompleteMultiQueryDelim = Y.Base.create('ac-multi-query-delim', Y.Plugin.Base, [], {
_beforeParseValue : function (value) {
return new Y.Do.Prevent();
},
_newParseValue : function (value) {
var delim = this.get(HOST).get(QUERY_DELIMITER),
delimIndex = 0,
useDelim;
value = value || '';
<!DOCTYPE html>
<html>
<head>
<title>AC Test</title>
<script src="http://yui.yahooapis.com/3.3.0pr3/build/yui/yui-min.js"></script>
</head>
<body>
<input type="text" id="n" value="foo">
<script type="text/javascript">
<!doctype html>
<html>
<head>
<title>test</title>
<script type="text/javascript" src="js/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">
<select id="typeChoice">
<option>Select one</option>
<option value="fruits">Fruits</option>
function WidgetParentStdMod () {
Y.before(this._initParentStdMod, this, 'renderUI');
Y.before(function () {
console.log('halt?');
return new Y.Do.Halt('ParentStdMod halted this');
}, this, '_renderChildren');
Y.after(this._renderChildrenAfterSync, this, 'syncUI');
}
var Book = Y.Base.create('book', Y.Model, [], {}, {
PRIMARY_KEY : 'id',
ATTRS : {
author : {},
id : {},
title : {},
published : {},
format : {}
}
});
var data = [
{author : {surname : 'Roberts', firstname : 'Gregory David'}, title : 'Shantaram', published : (new Date('09/25/2005'))},
{author : {surname : 'Gibson', firstname : 'William'}, title : 'Neuromancer', published : (new Date('07/01/1984'))},
{author : {surname : 'Rowling', firstname : 'J.K.'}, title : 'Harry Potter', published : (new Date('06/30/1997'))},
{author : {surname : 'Simon', firstname : 'Ted'}, title : 'Jupiter\'s Travels', published : (new Date('01/01/1979'))},
{author : {surname : 'Tolkien', firstname : 'J.R.R.'}, title : 'The Hobbit', published : (new Date('09/21/1937'))}
];
var ds = new Y.DataSource.Local({
source : data,