-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #331 from DistributedCollective/development
Release
- Loading branch information
Showing
47 changed files
with
5,567 additions
and
192 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ REACT_APP_SENTRY_DSN=https://[email protected] | |
|
||
REACT_APP_PORTIS_ID=469a25c8-1101-4c57-823d-c47cb328f788 | ||
|
||
REACT_APP_WHITELIST=false | ||
REACT_APP_WHITELIST_TOKEN=0x576aE218aeCfD4CbD2DBe07250b47e26060932B1 | ||
REACT_APP_WHITELIST=true | ||
REACT_APP_WHITELIST_TOKEN=0x857a62c9c0b6f1211e04275a1f0c5f26fce2021f | ||
|
||
REACT_APP_YBUG_ID=3f1jrxvzrhkn1b975t8b | ||
|
||
|
||
REACT_APP_MAILCHIMP=https://gmail.us17.list-manage.com/subscribe/post?u=e66850f0b51ebbdbe1f2c3e36&id=ef5d452839 | ||
|
||
REACT_APP_DISABLE_NEW_TRADES=true | ||
REACT_APP_DISABLE_NEW_TRADES=false |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<!DOCTYPE html> | ||
<!-- | ||
NOTES: | ||
1. All tokens are represented by '$' sign in the template. | ||
2. You can write your code only wherever mentioned. | ||
3. All occurrences of existing tokens will be replaced by their appropriate values. | ||
4. Blank lines will be removed automatically. | ||
5. Remove unnecessary comments before creating your template. | ||
--> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="authoring-tool" content="Adobe_Animate_CC"> | ||
<title>index1140x90</title> | ||
<!-- write your code here --> | ||
<script src="https://code.createjs.com/1.0.0/createjs.min.js"></script> | ||
<script src="index1140x90.js"></script> | ||
<script> | ||
var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation; | ||
function init() { | ||
canvas = document.getElementById("canvas"); | ||
anim_container = document.getElementById("animation_container"); | ||
dom_overlay_container = document.getElementById("dom_overlay_container"); | ||
var comp=AdobeAn.getComposition("6C2532F589104630A12141E57F9B7546"); | ||
var lib=comp.getLibrary(); | ||
var loader = new createjs.LoadQueue(false); | ||
loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)}); | ||
loader.addEventListener("complete", function(evt){handleComplete(evt,comp)}); | ||
var lib=comp.getLibrary(); | ||
loader.loadManifest(lib.properties.manifest); | ||
} | ||
function handleFileLoad(evt, comp) { | ||
var images=comp.getImages(); | ||
if (evt && (evt.item.type == "image")) { images[evt.item.id] = evt.result; } | ||
} | ||
function handleComplete(evt,comp) { | ||
//This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage. | ||
var lib=comp.getLibrary(); | ||
var ss=comp.getSpriteSheet(); | ||
var queue = evt.target; | ||
var ssMetadata = lib.ssMetadata; | ||
for(i=0; i<ssMetadata.length; i++) { | ||
ss[ssMetadata[i].name] = new createjs.SpriteSheet( {"images": [queue.getResult(ssMetadata[i].name)], "frames": ssMetadata[i].frames} ) | ||
} | ||
exportRoot = new lib._1140x90(); | ||
stage = new lib.Stage(canvas); | ||
//Registers the "tick" event listener. | ||
fnStartAnimation = function() { | ||
stage.addChild(exportRoot); | ||
createjs.Ticker.framerate = lib.properties.fps; | ||
createjs.Ticker.addEventListener("tick", stage); | ||
} | ||
//Code to support hidpi screens and responsive scaling. | ||
AdobeAn.makeResponsive(false,'both',false,1,[canvas,anim_container,dom_overlay_container]); | ||
AdobeAn.compositionLoaded(lib.properties.id); | ||
fnStartAnimation(); | ||
} | ||
</script> | ||
<!-- write your code here --> | ||
</head> | ||
<body onload="init();" style="margin:0px;"> | ||
<div id="animation_container" style="background-color:rgba(255, 255, 255, 1.00); width:1140px; height:90px"> | ||
<canvas id="canvas" width="1140" height="90" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 1.00);"></canvas> | ||
<div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:1140px; height:90px; position: absolute; left: 0px; top: 0px; display: block;"> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.
3356d56
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: