--- name: Javascript YUI scopeName: source.js.yui uuid: 62E7EF93-5574-4063-BF18-AD38620236B9 foldingStartMarker: "(^.*{[^}]*$|^.*\\([^\\)]*$|^.*/\\*(?!.*\\*/).*$)" patterns: - name: support.class.js.yui match: "\\b(YAHOO|YAHOO_config)\\b" - name: support.class.js.yui match: "\\.(util|lang|env|widget|example)\\b" - name: support.class.js.yui match: "\\.(CustomEvent|Subscriber|Event|EventProvider|Dom|Point|Region|Connect|DD|DDProxy|DDTarget|DragDrop|DragDropMgr|DDM|Anim|AnimMgr|Bezier|ColorAnim|Easing|Motion|Scroll|AutoComplete|DataSource|DS_JSArray|DS_JSFunction|DS_XHR|Config|KeyListener|Attribute|AttributeProvider|Element|History)\\b" - name: support.class.js.yui match: "\\.(AutoComplete|DataSource|DS_JSArray|DS_JSFunction|DS_XHR|Calendar|Calendar2up|Calendar_Core|CalendarGroup|DateMath|Module|Overlay|OverlayManager|Tooltip|Panel|Dialog|SimpleDialog|ContainerEffect|Logger|LogMsg|LogReader|LogWriter|Menu|MenuItem|Menubar|MenuBarItem|MenuManager|MenuModule|MenuModuleItem|ContextMenu|ContextMenuItem|Slider|SliderThumb|Tab|TabView|TreeView|Node|HTMLNode|MenuNode|TextNode|RootNode|TVAnim|TVFadeIn|TVFadeOut|Column|ColumnEditor|ColumnSet|DataTable|Record|RecordSet|Sort|WidthResizer|Button|ButtonGroup)\\b" - name: support.function.YAHOO.js.yui match: "\\.(log|namespace|register)\\b(?=\\()" - name: support.function.lang.js.yui match: "\\.(augment|extend|hasOwnProperty|isArray|isBoolean|isFunction|isNull|isNumber|isObject|isString|isUndefined)\\b(?=\\()" - name: support.function.Subscriber.js.yui match: "\\.(getScope)\\b(?=\\()" - name: support.function.CustomEvent.js.yui match: "\\.(fire|subscribe|unsubscribe|unsubscribeAll)\\b(?=\\()" - name: support.function.Event.js.yui match: "\\.(addListener|clearCache|fireLegacyEvent|generateId|getCharCode|getEl|getEvent|getLegacyIndex|getListeners|getPageX|getPageY|getRelatedTarget|getTarget|getTime|getXY|on|onAvailable|onContentReady|preventDefault|purgeElement|removeListener|resolveTextNode|startInterval|stopEvent|stopPropagation|useLegacyEvent)\\b(?=\\()" - name: support.function.EventProvider.js.yui match: "\\.(createEvent|fireEvent|hasEvent|subscribe|unsubscribe)\\b(?=\\()" - name: support.function.Dom.js.yui match: "\\.(addClass|batch|generateId|get|getClientHeight|getClientWidth|getDocumentHeight|getDocumentWidth|getElementsBy|getElementsByClassName|getRegion|getStyle|getViewportHeight|getViewportWidth|getX|getXY|getY|hasClass|inDocument|isAncestor|removeClass|replaceClass|setStyle|setX|setXY|setY)\\b(?=\\()" - name: support.function.Region.js.yui match: "\\.(contains|getArea|intersect|union|getRegion)\\b(?=\\()" - name: support.function.Connect.js.yui match: "\\.(abort|appendPostData|asyncRequest|createExceptionObject|createFrame|createResponseObject|createXhrObject|getConnectionObject|handleReadyState|handleTransactionResponse|initHeader|isCallInProgress|releaseObject|resetFormState|setDefaultPostHeader|setForm|setHeader|setPollingInterval|setProgId|uploadFile)\\b(?=\\()" - name: support.function.Anim.js.yui match: "\\.(animate|doMethod|getAttribute|getDefaultUnit|getEl|getStartTime|init|isAnimated|onTween|setAttribute|setRuntimeAttribute|stop)\\b(?=\\()" - name: support.function.AnimMgr.js.yui match: "\\.(correctFrame|registerElement|run|start|stop|unRegister)\\b(?=\\()" - name: support.function.Bezier.js.yui match: "\\.(getPosition)\\b(?=\\()" - name: support.function.ColorAnim.js.yui match: "\\.(parseColor)\\b(?=\\()" - name: support.function.Easing.js.yui match: "\\.(backBoth|backIn|backOut|bounceBoth|bounceIn|bounceOut|easeBoth|easeBothStrong|easeIn|easeInStrong|easeNone|easeOut|easeOutStrong|elasticBoth|elasticIn|elasticOut)\\b" - name: support.function.Motion.js.yui match: "\\.()\\b(?=\\()" - name: support.function.Scroll.js.yui match: "\\.()\\b(?=\\()" - name: support.function.DragDrop.js.yui match: "\\.(addInvalidHandleClass|addInvalidHandleId|addInvalidHandleType|addToGroup|applyConfig|b4Drag|b4DragDrop|b4DragOut|b4DragOver|b4EndDrag|b4MouseDown|b4StartDrag|clearConstraints|clearTicks|endDrag|getDragEl|getEl|getTick|handleMouseDown|handleOnAvailable|init|initTarget|isLocked|isValidHandleChild|lock|onAvailable|onDrag|onDragDrop|onDragEnter|onDragOut|onDragOver|onInvalidDrop|onMouseDown|onMouseUp|padding|removeFromGroup|removeInvalidHandleClass|removeInvalidHandleId|removeInvalidHandleType|resetContraints|setDragElId|setHandleElId|setInitPosition|setOuterHandleElId|setPadding|setStartPosition|setXConstraint|setXTicks|setYConstraint|setYTicks|startDrag|unlock|unreg)\\b(?=\\()" - name: support.function.DragDropMgr.js.yui match: "\\.(fireEvents|getBestMatch|getClientHeight|getClientWidth|getCss|getDDById|getElement|getElWrapper|getLocation|getPosX|getPosY|getRelated|getScrollLeft|getScrollTop|getStyle|handleMouseDown|handleMouseMove|handleMouseUp|handleWasClicked|init|isDragDrop|isHandle|isLegalTarget|isLocked|isOverTarget|isTypeOfDD|lock|moveToEl|numericSort|refreshCache|regDragDrop|regHandle|removeDDFromGroup|startDrag|stopDrag|stopEvent|swapNode|unlock|unregAll|verifyEl)\\b(?=\\()" - name: support.function.DD.js.yui match: "\\.(alignElWithMouse|applyConfig|autoOffset|autoScroll|cachePosition|getTargetCoord|setDelta|setDragElPos)\\b(?=\\()" - name: support.function.DDProxy.js.yui match: "\\.(createFrame|initFrame|showFrame)\\b(?=\\()" - name: support.function.DDTarget.js.yui match: "\\.()\\b(?=\\()" - name: support.function.History.js.yui match: "\\.(getBookmarkedState|getCurrentState|initialize|navigate|register)\\b(?=\\()" - name: support.function.DataSource.js.yui match: "\\.(addToCache|flushCache|getCachedResponse|handleResponse|isCacheHit|makeConnection|parseArrayData|parseJSONData|parseTextData|parseXMLData|sendRequest)\\b(?=\\()" - name: support.function.AutoComplete.js.yui match: "\\.(doBeforeExpandContainer|formatResult|getListItemData|getListItems|isContainerOpen|sendQuery|setBody|setFooter|setHeader)\\b(?=\\()" - name: support.function.DS_JSArray.js.yui match: "\\.()\\b(?=\\()" - name: support.function.DS_JSFunction.js.yui match: "\\.()\\b(?=\\()" - name: support.function.DS_XHR.js.yui match: "\\.(parseResponse)\\b(?=\\()" - name: support.function.Calendar.js.yui match: "\\.(addMonthRenderer|addMonths|addRenderer|addWeekdayRenderer|addYears|applyListeners|buildDayLabel|buildMonthLabel|buildWeekdays|clear|clearAllBodyCellStyles|clearElement|configClose|configIframe|configLocale|configLocaleValues|configMaxDate|configMinDate|configOptions|configPageDate|configSelected|configTitle|deselect|deselectAll|deselectCell|doCellMouseOut|doCellMouseOver|doSelectCell|getDateByCellId|getDateFieldsByCellId|getSelectedDates|hide|init|initEvents|initStyles|isDateOOM|nextMonth|nextYear|onBeforeDeselect|onBeforeSelect|onChangePage|onClear|onDeselect|onRender|onReset|onSelect|previousMonth|previousYear|refreshLocale|render|renderBody|renderBodyCellRestricted|renderCellDefault|renderCellNotThisMonth|renderCellStyleHighlight1|renderCellStyleHighlight2|renderCellStyleHighlight3|renderCellStyleHighlight4|renderCellStyleSelected|renderCellStyleToday|renderFooter|renderHeader|renderOutOfBoundsDate|renderRowFooter|renderRowHeader|reset|resetRenderers|select|selectCell|setMonth|setYear|show|styleCellDefault|subtractMonths|substractYears|validate)\\b(?=\\()" - name: support.function.CalendarGroup.js.yui match: "\\.(addMonthRenderer|addMonths|addRenderer|addWeekdayRenderer|addYears|callChildFunction|clear|configPageDate|configPages|constructChild|delegateConfig|deselect|deselectAll|deselectCell|getSelectedDates|init|initEvents|nextMonth|nextYear|previousMonth|previousYear|render|renderFooter|renderHeader|reset|select|selectCell|setChildFunction|setMonth|setYear|sub|subtractMonths|subtractYears|unsub)\\b(?=\\()" - name: support.function.DateMath.js.yui match: "\\.(add|after|before|between|clearTime|findMonthEnd|findMonthStart|getDayOffset|getJan1|getWeekNumber|isMonthOverlapWeek|isYearOverlapWeek|subtract)\\b(?=\\()" - name: support.function.Config.js.yui match: "\\.(addProperty|alreadySubscribed|applyConfig|checkBoolean|checkNumber|fireEvent|fireQueue|getConfig|getProperty|init|outputEventQueue|queueProperty|refireEvent|refresh|resetProperty|setProperty|subscribeToConfigEvent|unsubscribeFromConfigEvent)\\b(?=\\()" - name: support.function.KeyListener.js.yui match: "\\.(disable|enable|handleKeyPress)\\b(?=\\()" - name: support.function.Module.js.yui match: "\\.(appendToBody|appendToFooter|appendToHeader|configMonitorResize|configVisible|destroy|hide|init|initDefaultConfig|initEvents|initResizeMonitor|onDomResize|render|setBody|setFooter|setHeader|show)\\b(?=\\()" - name: support.function.Overlay.js.yui match: "\\.(align|center|configConstrainToViewport|configContext|configFixedCenter|configHeight|configIframe|configVisible|configWidth|configX|configXY|configY|configZIndex|destroy|doCenterOnDOMEvent|enforceContraints|hideIframe|hideMacGeckoScrollbars|init|initDefaultConfig|initEvenrts|moveTo|onDomResize|showIframe|showMacGeckoScrollbars|syncPosition|windowResizeHandle|windowScrollHandler)\\b(?=\\()" - name: support.function.OverlayManager.js.yui match: "\\.(blurAll|compareZIndexDesc|find|focus|getActive|hideAll|init|initDefaultConfig|register|remove|showAll)\\b(?=\\()" - name: support.function.Tooltip.js.yui match: "\\.(configContainer|configContext|configText|doHide|doShow|init|initDefaultConfig|onContextMouseMove|onContextMouseOut|onContextMouseOver|preventOverlay)\\b(?=\\()" - name: support.function.Panel.js.yui match: "\\.(buildMask|buildWrapper|configClose|configDraggable|configHeight|configKeyListeners|configModal|configUnderlay|configWidth|configzIndex|hideMask|init|initDefaultConfig|initEvents|onDomResize|registerDragDrop|removeMask|render|showMask|sizeMask|sizeUnderlay)\\b(?=\\()" - name: support.function.Dialog.js.yui match: "\\.(blurButtons|cancel|configButtons|doSubmit|focusDefaultButton|focusFirst|focusFirstButton|focusLast|focusLastButton|getData|init|initDefaultConfig|initEvents|registerForm|submit|validate)\\b(?=\\()" - name: support.function.SimpleDialog.js.yui match: "\\.(configIcon|configText|init|initDefaultConfig|registerForm)\\b(?=\\()" - name: support.function.ContainerEffect.js.yui match: "\\.(animateIn|animateOut|FADE|handleCompleteAnimateIn|handleCompleteAnimateOut|handleStartAnimateIn|handleStartAnimateOut|handleTweenAnimateIn|handleTweenAnimateOut|init|SLIDE)\\b(?=\\()" - name: support.function.Logger.js.yui match: "\\.(disableBrowserConsole|enableBrowserConsole|getStack|getStartTime|log|reset)\\b(?=\\()" - name: support.function.LogMsg.js.yui match: "\\.()\\b(?=\\()" - name: support.function.LogReader.js.yui match: "\\.(formatMsg|getLastTime|hide|html2Text|pause|resume|setTitle|show)\\b(?=\\()" - name: support.function.LogWriter.js.yui match: "\\.(getSource|log|setSource)\\b(?=\\()" - name: support.function.Menu.js.yui match: "\\.(addItem|addItems|clearActiveItem|configContainer|configHideDelay|configIframe|configPosition|configVisible|destroy|disableAutoSubmenuDisplay|enforceConstraints|getItem|getItemGroups|getRoot|init|initDefaultConfig|initEvents|insertItem|onDomResize|removeItem|setInitialFocus|setInitialSelection|setItemGroupTitle)\\b(?=\\()" - name: support.function.MenuItem.js.yui match: "\\.(blur|configChecked|configDisabled|configEmphasis|configHelpText|configSelected|configStrongEmphasis|configSubmenu|configTarget|configText|configUrl|destroy|focus|getFirstItemIndex|getNextArrayItem|getNextEnabledSibling|getPreviousArrayItem|getPreviousEnabledSibling|init|initDefaultConfig|initHelpText|removeHelpText)\\b(?=\\()" - name: support.function.Menubar.js.yui match: "\\.(init|initDefaultConfig)\\b(?=\\()" - name: support.function.MenuBarItem.js.yui match: "\\.(init)\\b(?=\\()" - name: support.function.MenuManager.js.yui match: "\\.(addItem|addMenu|getMenu|getMenuRootElement|getMenus|hideVisible|onDOMEvent|onItemAdded|onItemDestroy|onItemRemoved|onMenuDestroy|onMenuVisibleConfigChange|removeItem|removeMenu)\\b(?=\\()" - name: support.function.MenuModule.js.yui match: "\\.()\\b(?=\\()" - name: support.function.MenuModuleItem.js.yui match: "\\.()\\b(?=\\()" - name: support.function.ContextMenu.js.yui match: "\\.(configTrigger|destroy|init|initDefaultConfig)\\b(?=\\()" - name: support.function.ContextMenuItem.js.yui match: "\\.(init)\\b(?=\\()" - name: support.function.Slider.js.yui match: "\\.(b4MouseDown|endMove|fireEvents|focus|getThumb|getValue|getXValue|getYValue|handleThumbChange|lock|moveOneTick|moveThumb|onChange|onDrag|onMouseDown|onSliderEnd|onSlideStart|setRegionValue|setSliderStartState|setThumbCenterPoint|setValue|thumbMouseUp|unlock|verifyOffset|getHorizSlider|getSliderRegion|getVertSlider)\\b(?=\\()" - name: support.function.SliderThumb.js.yui match: "\\.(clearTicks|getOffsetFromParent|getValue|getXValue|getYValue|initSlider|onChange)\\b(?=\\()" - name: support.function.AttributeProvider.js.yui match: "\\.(configureAttribute|fireBeforeChangeEvent|fireChangeEvent|get|getAttributeConfig|getAttributeKeys|refresh|register|resetAttributeConfig|resetValue|set|setAttributes)\\b(?=\\()" - name: support.function.Attribute.js.yui match: "\\.(configure|getValue|refresh|resetConfig|resetValue|setValue|getValue|refresh|resetConfig|resetValue|setValue)\\b(?=\\()" - name: support.function.Element.js.yui match: "\\.(addClass|addListener|appendChild|appendTo|fireQueue|getElementsByClassName|getElementsByTagName|getStyle|hasChildNodes|hasClass|initAttributes|insertBefore|on|removeChild|removeClass|removeListener|replaceChild|replaceClass|setStyle)\\b(?=\\()" - name: support.function.TabView.js.yui match: "\\.(addTab|contentTransition|createTabs|DOMEventHandler|getTab|getTabIndex|initAttributes|removeTab)\\b(?=\\()" - name: support.function.Tab.js.yui match: "\\.(initAttributes)\\b(?=\\()" - name: support.function.TreeView.js.yui match: "\\.(animateCollapse|animateExpand|collapseAll|collapseComplete|draw|expandAll|expandComplete|generateId|getEl|getNodeByIndex|getNodeByProperty|getNodesByProperty|getRoot|init|onCollapse|onExpand|popNode|regNode|removeChildren|removeNode|setCollapseAnim|setDynamicLoad|setExpandAnim|setUpLabel|addHandler|getNode|getTree|preload|removeHandler)\\b(?=\\()" - name: support.function.Node.js.yui match: "\\.(appendChild|appendTo|applyParent|collapseToggleStyle|collapseAll|completeRender|expand|expandAll|getAncestor|getChildrenEl|getChildrenElId|getChildrenHtml|getDepthStyle|getEl|getElId|getHoverStyle|getHtml|getIconMode|getNodeHtml|getSiblings|getStyle|getToggleEl|getToggleElId|getToggleLink|hasChildren|hideChildren|init|insertAfter|insertBefore|isChildOf|isDynamic|isRoot|loadComplete|refresh|renderChildren|setDynamicLoad|showChildren|toggle)\\b(?=\\()" - name: support.function.HTMLNode.js.yui match: "\\.(getContentEl)\\b(?=\\()" - name: support.function.MenuNode.js.yui match: "\\.()\\b(?=\\()" - name: support.function.TextNode.js.yui match: "\\.(getLabelEl|onLabelClick)\\b(?=\\()" - name: support.function.RootNode.js.yui match: "\\.()\\b(?=\\()" - name: support.function.TVAnim.js.yui match: "\\.(getAnim|isValid)\\b(?=\\()" - name: support.function.TVFadeIn.js.yui match: "\\.(animate|onComplete)\\b(?=\\()" - name: support.function.TVFadeOut.js.yui match: "\\.(animate|onComplete)\\b(?=\\()" - name: support.function.Column.js.yui match: "\\.(format|formatCheckbox|formatCurrency|formatDate|formatEmail|formatLink|formatNumber|formatSelect|getColSpan|getId|getRowSpan|parse|parseCheckbox|parseCurrency|parseDate|parseNumber|parseSelect|showEditor)\\b(?=\\()" - name: support.function.ColumnEditor.js.yui match: "\\.(createTextareaEditor|createTextboxEditor|getTextareaEditorValue|getTextboxEditorValue|getValue|hide|show|showTextareaEditor|showTextboxEditor)\\b(?=\\()" - name: support.function.ColumnSet.js.yui match: "\\.()\\b(?=\\()" - name: support.function.DataTable.js.yui match: "\\.(addRow|appendRow|deleteRow|deleteSelectedRows|doBeforeLoadData|editCell|focusTable|formatCell|getBody|getCell|getColumnSet|getHead|getRecordSet|getRow|getSelectedCells|getSelectedRecordIds|getSelectedRows|getTable|hideTableMessages|highlight|insertRows|isSelected|onDataReturnAppendRows|onDataReturnInsertRows|onDataReturnPaginateRows|onDataReturnReplaceRows|onEventEditCell|onEventFormatCell|onEventHighlightCell|onEventSelectCell|onEventSelectRow|onEventSortColumn|onEventUnhighlightCell|paginateRows|replaceRows|select|showEmptyMessage|showLoadingMessage|showPage|sortColumn|unhighlight|unselect|unselectedAllCells|unselectAllRows|updateRow)\\b(?=\\()" - name: support.function.Record.js.yui match: "\\.()\\b(?=\\()" - name: support.function.RecordSet.js.yui match: "\\.(addRecord|addRecords|append|deleteRecord|getLength|getRecord|getRecordBy|getRecordIndex|getRecords|insert|replace|reset|sort|updateRecord)\\b(?=\\()" - name: support.function.Sort.js.yui match: "\\.(compareAsc|compareDesc)\\b(?=\\()" - name: support.function.WidthResizer.js.yui match: "\\.(onDrag|onMouseDown|onMouseUp)\\b(?=\\()" - name: support.function.Button.js.yui match: "\\.(addHiddenFieldsToForm|blur|createHiddenField|createInputElement|destroy|focus|getFirstElement|getForm|getMenu|hasFocus|init|initAttributes|initConfig|isActive|setAttributeFromDOMAttribute|setAttributesFromSrcElement|setFormElementProperties)\\b(?=\\()" - name: support.function.ButtonGroup.js.yui match: "\\.(addButton|addButtons|check|destroy|focus|getButton|getButtons|getCount|init|initAttributes|removeButton)\\b(?=\\()" - include: source.js foldingStopMarker: "(^\\s*\\}|^\\s*\\)|^(?!.*/\\*).*\\*/)" keyEquivalent: "^~J" comment: Yahoo User Interface Library