This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance.plug(A.Plugin.Aria, { | |
after: { | |
processAttribute: function(event) { | |
var instance = this; | |
var host = instance.get('host'); | |
if (event.aria.attrName == 'collapsed') { | |
var collapsed = host.get('collapsed'); | |
if (host.icons) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../build/aui/aui.js" type="text/javascript"></script> | |
<link rel="stylesheet" href="../../build/aui-skin-classic/css/aui-skin-classic-all-min.css" type="text/css" media="screen" /> | |
<style type="text/css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Lang = A.Lang, | |
isArray = Lang.isArray, | |
isObject = Lang.isObject, | |
isValue = Lang.isValue, | |
Aeach = A.Array.each, | |
getObjectKeys = A.Object.keys, | |
getObjectValues = A.Object.values, | |
selectorTest = A.Selector.test, | |
YgetClassName = A.ClassNameManager.getClassName, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../build/aui/aui.js" type="text/javascript"></script> | |
<script src="../../src/javascript/i18n/calendar-pt-br.js" type="text/javascript" charset="utf-8"></script> | |
<link rel="stylesheet" href="../../build/aui-skin-classic/css/aui-skin-classic-all-min.css" type="text/css" media="screen" /> | |
<link rel="stylesheet" href="../../build/aui-button/assets/aui-button-core.css" type="text/css" media="screen" title="no title" charset="utf-8" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU Lesser General Public License as published by the Free | |
* Software Foundation; either version 2.1 of the License, or (at your option) | |
* any later version. | |
* | |
* This library is distributed in the hope that it will be useful, but WITHOUT | |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUI().use('overlay', function(A) { | |
//var O = A.Base.create('baseCellEditor', A.Overlay, [], {}, { ATTRS: { visible: {value:false} } }); | |
var O = A.Component.create({ | |
NAME: 'baseCellEditor', | |
ATTRS: { | |
visible: { value: false }, | |
bodyContent: { value: 'BODY' }, | |
footerContent: { value: 'FOOTER' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU Lesser General Public License as published by the Free | |
* Software Foundation; either version 2.1 of the License, or (at your option) | |
* any later version. | |
* | |
* This library is distributed in the hope that it will be useful, but WITHOUT | |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Y.Ransac = { | |
findHomography: function(matches, iter) { | |
var instance = this, bestScore = 0, bestHomography = null, i, mLen = matches.length; | |
for (i = 0, iter = ((iter === undefined) ? 100 : iter); i < iter; i++) { | |
var pairs = [], j, H; | |
for (j = 0; j < 4; j++) { | |
pairs.push(matches[YMath.randomInt(mLen)]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Localization = { | |
get: A.cached( | |
function(xmlDoc, nodeName, languageId) { | |
if (isString(xmlDoc)) { | |
xmlDoc = A.DataType.XML.parse(xmlDoc); | |
} | |
languageId = languageId || themeDisplay.getLanguageId(); | |
var label = Liferay.Localization.getByLanguageId(xmlDoc, nodeName, languageId); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var d = [ | |
"workflow-definition", | |
{ | |
"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance", | |
"xmlns":"urn:liferay.com:liferay-workflow_6.1.0", | |
"xsi:schemaLocation":"urn:liferay.com:liferay-workflow_6.1.0 http://www.liferay.com/dtd/liferay-workflow-definition_6_1_0.xsd" | |
}, | |
[ | |
"name", | |
"Single Approver" |
OlderNewer