+
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/app.css

Large diffs are not rendered by default.

3,499 changes: 3,499 additions & 0 deletions dist/events.min.js

Large diffs are not rendered by default.

1,152 changes: 652 additions & 500 deletions dist/main.js

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions dist/main.min.js

Large diffs are not rendered by default.

649 changes: 328 additions & 321 deletions dist/main.source.js

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@


<script type="text/javascript" src="./dist/main.source.js"></script>
<script type="text/javascript" src="./dist/events.min.js"></script>

<script type="text/javascript">
var config = {
Expand Down Expand Up @@ -81,7 +82,7 @@
}
},
resultsPerPage: '5',
endpoint: location.hostname === "localhost" ? "../../mock-json/all-art-board-15-cards-show.json" : "https://www.adobe.com/chimera-api/collection?origin=northstar&size=10",
endpoint: location.hostname === "localhost" ? "../../mock-json/test.json" : "https://www.adobe.com/chimera-api/collection?origin=northstar&size=10",
totalCardsToShow: '55',
cardStyle: "1:2", // available options: "1:2", "3:4", "full-card", "half-height", "custom-card", "product", "double-wide";
showTotalResults: 'true',
Expand All @@ -105,7 +106,7 @@
featuredCards: ['c7d34f39-397c-3727-9dff-5d0d9d8cf731'],
filterPanel: {
enabled: 'true',
type: 'top',
type: 'left',
eventFilter: 'all',
showEmptyFilters: true,
filters: [
Expand Down Expand Up @@ -319,6 +320,15 @@
trackImpressions: 'true',
collectionIdentifier: 'Some Identifier',
},
events: {
enabled: true,
useAltEndpoint: false,
altEndpoint: 'https://example.com/events-api?size=10',
mySessions: {
filterId: 'adobe-com-enterprise:availability',
itemId: 'adobe-com-enterprise:availability/on-demand'
}
},
customCard: ["data", "return `<div class=customCard><div class=backgroundImg></div> <section><label>PHOTO EDITING</label><p><b>Transform a landscape with Sky Replacement.</b></p></div></section> </div>`"],
onCardSaved: function(){},
onCardUnsaved: function(){}
Expand Down Expand Up @@ -364,6 +374,10 @@
border-radius: 6px;
max-height: 439px;
}

.events-my-sessions {
display: block !important;
}
</style>

</html>
48,227 changes: 48,227 additions & 0 deletions mock-json/results.json

Large diffs are not rendered by default.

Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载