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
<html> | |
<head> | |
<meta http-equiv="origin-trial" | |
content="___"/> | |
</head> | |
<body> | |
<audio id="audio"></audio> | |
<button onclick="record()">record</button> | |
<button onclick="play()">play</button> | |
</body> |
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
new Vue(VueInstantiationOptions(el = "#editor", template = "template")) |
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
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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
<!doctype html> | |
<!-- | |
Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | |
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt | |
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt | |
Code distributed by Google as part of the polymer project is also | |
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt | |
--> | |
<html> |
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
// Note: Some Emscripten settings will significantly limit the speed of the generated code. | |
// Note: Some Emscripten settings may limit the speed of the generated code. | |
// The Module object: Our interface to the outside world. We import | |
// and export values on it, and do the work to get that through | |
// closure compiler if necessary. There are various ways Module can be used: | |
// 1. Not defined. We create it here | |
// 2. A function parameter, function(Module) { ..generated code.. } | |
// 3. pre-run appended it, var Module = {}; ..generated code.. | |
// 4. External script tag defines var Module. | |
// We need to do an eval in order to handle the closure compiler |
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
// Note: Some Emscripten settings will significantly limit the speed of the generated code. | |
// Note: Some Emscripten settings may limit the speed of the generated code. | |
// The Module object: Our interface to the outside world. We import | |
// and export values on it, and do the work to get that through | |
// closure compiler if necessary. There are various ways Module can be used: | |
// 1. Not defined. We create it here | |
// 2. A function parameter, function(Module) { ..generated code.. } | |
// 3. pre-run appended it, var Module = {}; ..generated code.. | |
// 4. External script tag defines var Module. | |
// We need to do an eval in order to handle the closure compiler |
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
ScalaJS.c.helloworld\ufe33HelloWorld$.prototype.hoge\ufe34O\ufe34V = (function(arg$num) { | |
var rc6$jsid$17007 = false; | |
var x2$jsid$17002 = null; | |
var x1$jsid$17001 = arg$num; | |
var result$$jslabel$matchEnd7$17008; | |
// Someはそのままの機能、if文を並べつつ代入&ラベルでbreak(このbreakの機能初めて知った) | |
$jslabel$matchEnd7$17008: { | |
if (ScalaJS.is.scala\ufe33Some(x1$jsid$17001)) { | |
rc6$jsid$17007 = true; | |
x2$jsid$17002 = ScalaJS.as.scala\ufe33Some(x1$jsid$17001); |
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
ScalaJS.c.helloworld\ufe33HelloWorld$.prototype.hoge\ufe34I\ufe34O = (function(arg$num) { | |
// 宣言時の場合は評価結果の場で宣言される(Javascriptではifブロック内スコープは無いので) | |
if ((arg$num === 20)) { | |
var value$jsid$11972 = "hello" | |
} else { | |
var value$jsid$11972 = "bye" | |
}; | |
// 再代入の場合は評価結果の場で代入される | |
if ((arg$num === 20)) { | |
value$jsid$11972 = "hello" |
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
// def hoge()の中身のみ貼付ける | |
var array$jsid$11979 = [ScalaJS.modules.scala\ufe33Predef().int2Integer\ufe34I\ufe34Ljava\ufe33lang\ufe33Integer(10), ScalaJS.modules.scala\ufe33Predef().int2Integer\ufe34I\ufe34Ljava\ufe33lang\ufe33Integer(20), ScalaJS.modules.scala\ufe33Predef().int2Integer\ufe34I\ufe34Ljava\ufe33lang\ufe33Integer(30)]; | |
array$jsid$11979[0] = ScalaJS.modules.scala\ufe33Predef().int2Integer\ufe34I\ufe34Ljava\ufe33lang\ufe33Integer(15); | |
var num$jsid$11980 = ScalaJS.as.java\ufe33lang\ufe33Number(array$jsid$11979[0]) |
NewerOlder