• Register
  • Log In
  • Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • API Docs
    • Environments
    • Tutorials
  • Community
    • Gallery
    • Blog
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • Shifter »
    • Yogi »
    • YUI 2
    • YUI Doc »
    • YUI Test
    • YUI Website
    • YUI Compressor »
    • YUI Builder »
    • YUI PHP Loader
    • Grid Builder »
    • Skin Builder »
  • YUI
  • >
  • Community
  • >
  • Gallery

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • Yogi Documentation
  • Shifter Documentation
  • Developer Guide
  • Module Setup

Tag Cloud

Context Navigation

    Build Tag: gallery-2010.08.18-17-12

    Return to AlloyUI Node Html5 Print

    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2010.08.18-17-12',
        modules: {
            'gallery-aui-skin-base': {
                fullpath: 'http://yui.yahooapis.com/gallery-2010.08.18-17-12/build/gallery-aui-skin-base/css/gallery-aui-skin-base-min.css',
                type: 'css'
            },
            'gallery-aui-skin-classic': {
                fullpath: 'http://yui.yahooapis.com/gallery-2010.08.18-17-12/build/gallery-aui-skin-classic/css/gallery-aui-skin-classic-min.css',
                type: 'css',
                requires: ['gallery-aui-skin-base']
            }
        }
    }).use('gallery-aui-node-html5-print', function(Y) {
        // When this module is loaded at least once in a page the HTML5 print is enabled.
    });

    Build Output

    /home/y/libexec/ant/bin/ant all
    Buildfile: build.xml
         [echo] Starting Build For gallery-aui-node-html5-print
         [echo] Ant Properties
         [echo]     Home : /home/y/libexec/ant
         [echo]     Ant Version : Apache Ant version 1.7.1 compiled on June 27 2008
         [echo]     Build File : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build.xml
         [echo] Local Build Properties
         [echo]     version : 3
         [echo]     srcdir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery
         [echo]     builddir : ../../../builder/componentbuild
         [echo]     component : gallery-aui-node-html5-print
         [echo]     component.basefilename : gallery-aui-node-html5-print
         [echo]     component.basedir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print
         [echo]     component.builddir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp
         [echo] Global Build Properties
         [echo]     global.build.base : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build
         [echo]     global.build.component : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-node-html5-print
         [echo]     global.build.component.assets : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-node-html5-print/assets
    
    clean:
    
    init:
        [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp
    
    -concatdebug:
         [echo] Concatenating
         [echo]     Source Files : gallery-aui-node-html5-print.js
         [echo]     In Source Dir : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/js
         [echo]     To : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/gallery-aui-node-html5-print-debug.js
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/ant
    
    -registerdebug:
         [echo] Wrapping /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/gallery-aui-node-html5-print-debug.js in YUI.add module
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp
    
    -prependdebug:
    
    -appenddebug:
    
    builddebug:
    
    -createcore:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp
    
    -loggerregex:
         [echo] Replacing Logger Statements in /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/gallery-aui-node-html5-print.js
    
    buildcore:
    
    -rollupjs:
    
    -concatskins:
    
    -buildskins:
    
    -rollupcss:
    
    buildskins:
    
    -buildlangs:
    
    -rolluplangs:
    
    buildlangs:
    
    build:
    
    minify:
         [echo] Running yuicompressor on /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/gallery-aui-node-html5-print.js
         [java] 
         [java] [WARNING] Using JScript conditional comments is not recommended. Moreover, using JScript conditional comments reduces the level of compression.
         [java] add("gallery-aui-node-html5-print",function(A){ ---> @cc_on@if(@_jscript_version<9)
         [java] (function (window, document) {
         [java] 
         [java] var DOCUMENT_ELEMENT = document.documentElement,
         [java] 	DOCUMENT_FRAGMENT = document.createDocumentFragment(),
         [java] 	HTML5_STYLESHEET = {},
         [java] 	HTML5_ELEMENTS = YUI.AUI.HTML5_ELEMENTS,
         [java] 	HTML5_ELEMENTS_STRING = HTML5_ELEMENTS.join('|'),
         [java] 	ELEMENTS_CACHE = [],
         [java] 	FIRST_CHILD = 'firstChild',
         [java] 	CREATE_ELEMENT = 'createElement',
         [java] 	a = -1;
         [java] 
         [java] function appendStylesheet (media, cssText) {
         [java] 	if (HTML5_STYLESHEET[media]) {
         [java] 		HTML5_STYLESHEET[media].styleSheet.cssText += cssText;
         [java] 	}
         [java] 	else {
         [java] 		var head = DOCUMENT_ELEMENT[FIRST_CHILD],
         [java] 			style = document[CREATE_ELEMENT]('style');
         [java] 
         [java] 		style.media = media;
         [java] 		head.insertBefore(style, head[FIRST_CHILD]);
         [java] 		HTML5_STYLESHEET[media] = style;
         [java] 		appendStylesheet(media, cssText);
         [java] 	}
         [java] }
         [java] 
         [java] function parseStyleSheetList (styleSheetList, media) {
         [java] 	var cssRuleList,
         [java] 		selectorText,
         [java] 		selectorTextMatch = new RegExp('\b(' + HTML5_ELEMENTS_STRING + ')\b(?!.*[;}])', 'gi'),
         [java] 		selectorTextReplace = function (m) {
         [java] 			return '.iepp_' + m;
         [java] 		},
         [java] 		a = -1;
         [java] 
         [java] 	while (++a < styleSheetList.length) {
         [java] 		media = styleSheetList[a].media || media;
         [java] 
         [java] 		parseStyleSheetList(styleSheetList[a].imports, media);
         [java] 
         [java] 		appendStylesheet(media, styleSheetList[a].cssText.replace(selectorTextMatch, selectorTextReplace));
         [java] 	}
         [java] }
         [java] 
         [java] function onBeforePrint () {
         [java] 	var head = DOCUMENT_ELEMENT[FIRST_CHILD],
         [java] 		element,
         [java] 		elements = document.getElementsByTagName('*'),
         [java] 		elementCache,
         [java] 		elementName,
         [java] 		elementMatch = new RegExp('^' + HTML5_ELEMENTS_STRING + '$', 'i'),
         [java] 		elementReplace,
         [java] 		elementReplaced,
         [java] 		a = -1;
         [java] 
         [java] 	while (++a < elements.length) {
         [java] 		if ((element = elements[a]) && (elementName = element.nodeName.match(elementMatch))) {
         [java] 			elementReplace = new RegExp('^\s*<' + elementName + '(.*)\/' + elementName + '>\s*$', 'i');
         [java] 
         [java] 			DOCUMENT_FRAGMENT.innerHTML = element.outerHTML.replace(/r|n/g, ' ').replace(elementReplace, (element.currentStyle.display == 'block') ? '' : '');
         [java] 
         [java] 			elementReplaced = DOCUMENT_FRAGMENT.childNodes[0];
         [java] 			elementReplaced.className += ' iepp_' + elementName;
         [java] 
         [java] 			elementCache = ELEMENTS_CACHE[ELEMENTS_CACHE.length] = [element, elementReplaced];
         [java] 
         [java] 			element.parentNode.replaceChild(elementCache[1], elementCache[0]);
         [java] 		}
         [java] 	}
         [java] 
         [java] 	parseStyleSheetList(document.styleSheets, 'all');
         [java] }
         [java] 
         [java] function onAfterPrint () {
         [java] 	var a = -1,
         [java] 		b;
         [java] 
         [java] 	while (++a < ELEMENTS_CACHE.length) {
         [java] 		ELEMENTS_CACHE[a][1].parentNode.replaceChild(ELEMENTS_CACHE[a][0], ELEMENTS_CACHE[a][1]);
         [java] 	}
         [java] 
         [java] 	for (b in HTML5_STYLESHEET) {
         [java] 		DOCUMENT_ELEMENT[FIRST_CHILD].removeChild(HTML5_STYLESHEET[b]);
         [java] 	}
         [java] 
         [java] 	HTML5_STYLESHEET = {};
         [java] 	ELEMENTS_CACHE = [];
         [java] }
         [java] 
         [java] while (++a < HTML5_ELEMENTS.length) {
         [java] 	document[CREATE_ELEMENT](HTML5_ELEMENTS[a]);
         [java] 	DOCUMENT_FRAGMENT[CREATE_ELEMENT](HTML5_ELEMENTS[a]);
         [java] }
         [java] 
         [java] DOCUMENT_FRAGMENT = DOCUMENT_FRAGMENT.appendChild(document[CREATE_ELEMENT]('div'));
         [java] 
         [java] window.attachEvent('onbeforeprint', onBeforePrint);
         [java] window.attachEvent('onafterprint', onAfterPrint);
         [java] 
         [java] }(A.config.win, A.config.doc));
         [java] @end@ <--- },"@VERSION@",{requires:["gallery-aui-node-html5"]
         [java] 
         [java] [WARNING] Found an undeclared symbol: YUI
         [java]  ---> YUI <--- .add("gallery-aui-node-html5-print",function(A){
    
    lint:
    
    local:
    
    deploybuild:
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-node-html5-print
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/gallery-aui-node-html5-print.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-node-html5-print/gallery-aui-node-html5-print.js
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/gallery-aui-node-html5-print-debug.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-node-html5-print/gallery-aui-node-html5-print-debug.js
         [copy] Copying /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-aui-node-html5-print/build_tmp/gallery-aui-node-html5-print-min.js to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-aui-node-html5-print/gallery-aui-node-html5-print-min.js
    
    deployassets:
    
    deployskins:
    
    deploylang:
    
    deploydocs:
    
    deploy:
    
    all:
    
    BUILD SUCCESSFUL
    Total time: 1 second

    © 2006-2013 Yahoo! Inc. All rights reserved.
    All code on this site is licensed under the BSD License unless stated otherwise.
    About This Site · Security Contact Info