PC | Mobile | |
---|---|---|
IE | 10 (Flash) | ? |
Chrome | 43 (Flash) | 43 |
Safari | 7 | 7 |
Firefox | ? | ? |
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
"use strict"; | |
var app = require("app"); | |
var BrowserWindow = require("browser-window"); | |
process.chdir("test/el"); // 作業ディレクトリ変えて | |
var cwd = process.cwd(); // cwd とっといて | |
require("crash-reporter").start(); |
http://gao-tec.seesaa.net/article/427643074.html の記事を拝見して、
async function Main(){
//実行時即表示
console.log("a");
//このawaitで2秒間待機してくれる(風に見せかけることが出来る)
await new Promise((resolve)=>{
setTimeout(resolve,2000);
WebAudio createMediaElementSource を使用すると、<audio>
を音源として利用することが可能です。Chrome, iOS 7++ で動作します。
<p>createMediaElementSource demo</p>
<audio src="mad.max.m4a"></audio>
<script src="a.js"></script>
Spec.js が太ってきたので、モジュール分割をし、version 2.0.0 に上げました。
WebApp や WebGame の開発用途には、これらを組み合わせた Spec.js を使い、
それ以外の軽めの用途では UserAgent.js をお使いください。