This file contains hidden or 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
/** | |
* Element.prototype.classList for IE8/9, Safari. | |
* @author Kerem Güneş <[email protected]> | |
* @copyright Released under the MIT License <https://opensource.org/licenses/MIT> | |
* @version 1.2 | |
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/classList | |
*/ | |
;(function() { | |
// Helpers. | |
var trim = function(s) { |
This file contains hidden or 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
<cfscript> | |
// The Mura Scope : in order to access site-specific helpers (e.g., $.siteConfig()), we'll initialize it with a siteid. | |
$ = StructKeyExists(session, 'siteid') | |
? application.settingsManager.getBean('$').init(session.siteid) | |
: application.settingsManager.getBean('$').init('default'); | |
// If you're not in the context of a Front-End Request, then there is NO ContentBean! | |
// So, we need to set it if we want to access it | |
// contentBean = $.getBean('content').loadBy(filename='home'); | |
// $.setContentBean(contentBean); |
This file contains hidden or 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
<cfscript> | |
/** | |
* @parentID Category ParentID | |
*/ | |
public any function dspNestedCategories( | |
string siteid='#variables.$.event('siteid')#' | |
, string parentID='' | |
, string keywords='' | |
, boolean activeOnly=false | |
, boolean InterestsOnly=false |