/**
*
* @param group {String} group identifier name
* @param [targetWindow=window.parent]
* @param [origin='*']
* @constructor
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 hook jQuery plugin | |
* version 1.0 | |
* author: Damien Antipa | |
* http://github.com/dantipa/ | |
*/ | |
(function(window, $, undefined){ | |
/** | |
* Hooks into a given method |
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
// The old way (before ES6) | |
var _self = this; | |
this.element.addEventListener('click', function (event) { | |
_self.doSomething(event); | |
}); | |
// The new way (ES6) | |
this.element.addEventListener('click', (event) => { | |
this.doSomething(event); | |
}); |
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
<!--/* More: https://docs.adobe.com/docs/en/htl/docs/block-statements.html#resource */--> | |
<!--/* By default, the AEM decoration tags are disabled, the decorationTagName option allows to bring them back, and the cssClassName to add classes to that element. */--> | |
<div data-sly-resource="${'headline' @ | |
resourceType='about-project/components/content/c34-section-headline', | |
decorationTagName='span', | |
cssClassName='className' | |
}"></div> | |
<!--/* More about the decoration tag: https://docs.adobe.com/docs/en/aem/6-3/develop/components/decoration-tag.html */--> |
- Clientlibs
- Find/see all ClientLibs: http://localhost:4502/libs/granite/ui/content/dumplibs.html
- See the expected HTML output of clientlib includes based on category: http://localhost:4502/libs/granite/ui/content/dumplibs.test.html
- Highlights any dependencies or embedded categories that cannot be found: http://localhost:4502/libs/granite/ui/content/dumplibs.validate.html
- Force AEM to rebuild ClientLibs via this url: http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html
- CRX:
/crx/explorer/index.jsp
- Link Checker – find broken links:
http://localhost:4502/etc/linkchecker.html
- QueryBuilder: https://docs.adobe.com/docs/en/aem/6-3/develop/search/querybuilder-api.html
- Core Components
/apps/core/wcm/components
- Latest Release: https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components
- JSP foundation components
foundation/components
- HTL Foundation components
wcm/foundation/components
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
Find all videos below a specific DAM path | |
----------------------------------------- | |
SELECT * FROM [dam:Asset] AS asset | |
WHERE ISDESCENDANTNODE(asset, '/content/dam') | |
AND asset.[jcr:content/metadata/dc:format] LIKE 'video/%' | |
Find all pages with a specific template and an alias | |
---------------------------------------------------- |
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 ($) { | |
"use strict"; | |
var _ = window._, | |
Class = window.Class, | |
CUI = window.CUI, | |
EAEM_TABLE = null, | |
COLUMN_CONTAINER = ".coral-RichText-dialog-columnContainer", | |
SUMMARY_SEL = ".coral-RichText-dialog--tableprops textarea[data-type=\"summary\"]", | |
SUMMARY_HTML = '<div class="coral-RichText-dialog-columnContainer">' |
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($,sr){ | |
// debouncing function from John Hann | |
// http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ | |
var debounce = function (func, threshold, execAsap) { | |
var timeout; | |
return function debounced () { | |
var obj = this, args = arguments; | |
function delayed () { |