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
GetFakeAuthen=()-> | |
r = new XMLHttpRequest | |
r.open 'GET', 'https://crossorigin.me/https://www.catchplay.com/oauth?_t=15000121238Test' | |
# r.responseType = 'json' | |
# r.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); | |
r.onreadystatechange = -> | |
if(r.status >= 400) | |
ErrorText.text=responseMsg+"Error #{r.status}" | |
ErrorText.states.switch("Error") | |
#return "Error #{r.status}" |
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
{"code":"0","message":"OK.","query":{"articleType":null,"territory":"TW","language":"zh-TW","count":18,"offset":127,"limit":18},"data":[{"articleId":"article-724-csphjuko","externalUrl":"http://www.catchplay.com/ed-says-article-724-csphjuko-%E7%95%B6%E9%87%91%E7%90%83%E7%8D%8E%E6%8E%8C%E8%81%B2%E9%9F%BF%E8%B5%B7%EF%BC%9A%E9%82%A3%E4%BA%9B%E6%A2%85%E8%8E%89%E5%8F%B2%E7%BF%A0%E6%99%AE%E6%95%99%E6%88%91%E5%80%91%E7%9A%84%E4%BA%8B","editorName":"Variety Fair","editorPhoto":"https://d2eib6r9tuf5y8.cloudfront.net/l/assets/img/editor/14.jpg","title":"當金球獎掌聲響起:那些梅莉史翠普教我們的事","type":"column","typeLabel":"名家觀影","language":"zh-TW","countries":["TW"],"template":"default","articleDate":"Thu 26 Jan 2017 02:17:00 AM CST","publishDate":"Thu 26 Jan 2017 02:17:00 AM CST","assets":{"keyVisualUrl":"https://d2eib6r9tuf5y8.cloudfront.net/l/assets/img/article/article-724-csphjuko/keyvisual.jpg"},"related":{"inlineImage":[{"path":"assets/img/article/article-724-csphjuko/article-724-t4yecj4f.jpg"},{"path":"assets/img/article/article-7 |
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
uberEats_Gray=new SVGLayer | |
strokeWidth:2 | |
visible:true | |
stroke:"GREY" | |
path: '<path fill="none" d="M76.9472994,117.832715 C78.279447,121.241053 78.6921515,135.774045 78.6921515,135.774045 L81.6289709,140 L96.3026195,135.788006 L117.663997,122.693915 C117.663997,122.693915 128.846654,112.646695 133.726243,100.123493 C138.605832,87.6002919 140,86.2030722 140,72.2308746 C140,58.2586771 136.514579,50.5739685 136.514579,50.5739685 C136.514579,50.5739685 135.317247,44.6805223 130.039909,36.6338192 C124.76257,28.5871161 117.600437,21.7343389 117.600437,21.7343389 L105.145793,12.1504253 C105.145793,12.1504253 102.297163,9.51687877 91.5678363,6.2903622 C90.7768849,6.05250777 85.6106118,4.4657167 77.8536822,4.4657167 C70.0967525,4.4657167 65.8348053,2.61563425 53.4692876,6.2903622 C41.1037698,9.96509016 41.0633785,9.3192116 30.0713787,18.215182 C19.0793788,27.1111524 16.8626928,30.9779083 11.4448217,40.3013165 C6.02695063,49.6247246 6.14645217,52.6796728 4.66044682,61.0531166 C3.17444147,69.4265604 4.66044682,78.53037 |
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 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
#上方海報本身還是會有一個按鈕 | |
TheBtnB=BTN.copy() | |
#動漫館首頁Barker提示之按鈕B動畫,從2倍大變成1倍,從透明度10%變成不透明,在0.4秒完成。動畫完成後變成透明。 | |
TheBtnBAni=new Animation | |
layer: TheBtnB | |
properties: | |
scale:1 | |
opacity:1 | |
time:0.4 |
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
<document> | |
<productTemplate> | |
<background> | |
</background> | |
<banner> | |
<infoList> | |
<info> | |
<header> | |
<title>Director</title> | |
</header> |
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
load: function(event) { | |
//1 | |
var self = this, | |
ele = event.target, | |
videoURL = ele.getAttribute("videoURL") | |
if(videoURL) { | |
//2 | |
var player = new Player(); | |
var playlist = new Playlist(); | |
var mediaItem = new MediaItem("video", videoURL); |
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
// 1 | |
var resourceLoader; | |
App.onLaunch = function(options) { | |
// 2 | |
var javascriptFiles = [ | |
`${options.BASEURL}js/ResourceLoader.js`, | |
`${options.BASEURL}js/Presenter.js` | |
]; | |
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
App.onLaunch = function(options) { | |
// 1 | |
var javascriptFiles = [ | |
`${options.BASEURL}js/Presenter.js` | |
]; | |
// 2 | |
evaluateScripts(javascriptFiles, function(success) { | |
if(success) { | |
var alert = createAlert("Hello World!", "Sherlock"); | |
Presenter.modalDialogPresenter(alert); |
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
var Presenter = { | |
modalDialogPresenter: function(xml) { | |
navigationDocument.presentModal(xml); | |
}, | |
} |