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
<div splitter="true" region="center" style="overflow: hidden; margin: 0pt; width: 100%; top: 21px; left: 0px; right: 0px; bottom: 0px;" minsize="20" dojotype="mira.AccordionContainer" id="mira_AccordionContainer_0" widgetid="mira_AccordionContainer_0" class="dijitContainer dijitAccordionContainer dijitLayoutContainer dijitBorderContainerNoGutter-child dijitBorderContainerNoGutter-dijitAccordionContainer dijitBorderContainerNoGutterPane" role="tablist"> | |
<div waistate="expanded-false" wairole="tab" class="dijitAccordionTitle miraAccordianTitle" dojoattachevent="onkeypress:_onTitleKeyPress,onfocus:_handleFocus,onblur:_handleFocus,onmouseenter:_onTitleEnter,onmouseleave:_onTitleLeave" dojoattachpoint="titleNode,focusNode" role="tab" aria-expanded="true" id="lhs_list_button" widgetid="lhs_list_button" style="-moz-user-select: none;" aria-selected="true" tabindex="0" aria-labelledby="lhs_list_button_title"><div style="width: 100%;" dojoattachevent="ondijitclick:_onTitleClick"> <span class="dijitTitlePaneTextNod |
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
arrayUtils = { | |
isString:function(val) {//Returns true if the specified value is a string | |
return typeof val == 'string'; | |
}, | |
remove:function(arr, obj) {//Removes the first occurrence of a particular value from an array. | |
var i = this.indexOf(arr, obj); | |
var rv; | |
if ((rv = i >= 0)) { |
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
dojo.NodeList.prototype.highlight = function(){ | |
this.forEach(function(node){ | |
dojo.style(node, “backgroundColor”, “yellow”); | |
}); | |
return this; | |
} | |
dojo.query(“p”).highlight(); | |
dojo.extend(dojo.NodeList, { | |
highlight: function(color){ | |
// You can accept arguments |
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
// | |
// Automatically calls all functions in APP.init | |
// | |
jQuery(document).ready(function() { | |
APP.go(); | |
}); | |
// | |
// Module pattern: | |
// http://yuiblog.com/blog/2007/06/12/module-pattern/ |
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
function formatUSprice(amount) | |
{ | |
var i = parseFloat(amount); | |
if(isNaN(i)) { i = 0.00; } | |
var minus = ''; | |
if(i < 0) { minus = '-'; } | |
i = Math.abs(i); | |
i = parseInt((i + .005) * 100); | |
i = i / 100; | |
s = new String(i); |
NewerOlder