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() { | |
var isSet = function(val) { | |
return val !== null && val !== ''; | |
}; | |
var el = {{element}}; | |
var val = ( isSet(el.getAttribute('data-label')) ? el.getAttribute('data-label') : el.text ); | |
while (el && el !== document.body && !isSet(val)) { | |
el = el.parentElement; | |
val = el.getAttribute('data-label'); |
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
<cffunction name="phoneFormat"> | |
<cfargument name="phoneNumber"> | |
<cfset areacode = left(phoneNumber, 3)> | |
<cfset firstthree = mid(phoneNumber, 4, 3)> | |
<cfset lastfour = right(phoneNumber, 4)> | |
<cfreturn "(#areacode#) #firstthree#-#lastFour#"> | |
</cffunction> |
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
<?php | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); | |
$_SERVER['CASCADE_URI'] = ''; | |
$_SERVER['CASCADE_USER'] = ''; | |
$_SERVER['CASCADE_PASS'] = ''; |
OlderNewer