File tree Expand file tree Collapse file tree 6 files changed +107
-0
lines changed
Expand file tree Collapse file tree 6 files changed +107
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html manifest ="manifest.appcache ">
3+
4+ < head >
5+ < meta charset ="utf-8 ">
6+ < meta http-equiv ="pragma " content ="no-cache ">
7+ < title > Whip</ title >
8+ < link rel ="stylesheet " type ="text/css " href ="style/base.css ">
9+ < script type ="text/javascript " src ="js/whip.js "> </ script >
10+
11+ </ head >
12+
13+ < body >
14+ < audio id ="sound ">
15+ < source src ="media/sound.ogg " type ="audio/ogg "/>
16+ </ audio >
17+
18+ < img src ="media/indi.jpg " alt ="whip " id ="button " >
19+
20+ </ body >
21+
22+ </ html >
Original file line number Diff line number Diff line change 1+
2+ function playWhip ( ) {
3+ document . getElementById ( "sound" ) . play ( ) ;
4+ }
5+
6+ function addClick ( ) {
7+ document . getElementById ( "button" ) . addEventListener ( "click" , playWhip ) ;
8+ }
9+
10+ document . addEventListener ( "DOMContentLoaded" , addClick )
Original file line number Diff line number Diff line change 1+ CACHE MANIFEST
2+ # Version 7ee69291b14f219a8a50a9993f4999cd
3+ Blank.png
4+ index.html
5+
6+ manifest.webapp
7+ style/icons/Blank.png
8+ test/unit/_proxy.html
9+ test/unit/_sandbox.html
10+ http://gaiamobile.org:8080/webapi.js
11+ NETWORK:
12+ http://*
13+ https://*
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Template" ,
3+ "description" : " Web app template" ,
4+ "launch_path" : " /" ,
5+ "developer" : {
6+ "name" : " The Gaia Team" ,
7+ "url" : " https://github.com/mozilla-b2g/gaia"
8+ },
9+ "permissions" : [
10+
11+ ],
12+ "locales" : {
13+ "ar" : {
14+ "name" : " Template" ,
15+ "description" : " Web app template"
16+ },
17+ "de" : {
18+ "name" : " Template" ,
19+ "description" : " Web app template"
20+ },
21+ "el" : {
22+ "name" : " Template" ,
23+ "description" : " Web app template"
24+ },
25+ "en-US" : {
26+ "name" : " Template" ,
27+ "description" : " Web app template"
28+ },
29+ "es" : {
30+ "name" : " Template" ,
31+ "description" : " Web app template"
32+ },
33+ "fr" : {
34+ "name" : " Template" ,
35+ "description" : " Web app template"
36+ },
37+ "it" : {
38+ "name" : " Template" ,
39+ "description" : " Web app template"
40+ },
41+ "pt-BR" : {
42+ "name" : " Template" ,
43+ "description" : " Web app template"
44+ },
45+ "ru" : {
46+ "name" : " Template" ,
47+ "description" : " Web app template"
48+ },
49+ "tr" : {
50+ "name" : " Template" ,
51+ "description" : " Web app template"
52+ },
53+ "zh-TW" : {
54+ "name" : " Template" ,
55+ "description" : " Web app template"
56+ }
57+ },
58+ "default_locale" : " en-US" ,
59+ "icons" : {
60+ "128" : " /style/icons/Blank.png"
61+ }
62+ }
You can’t perform that action at this time.
0 commit comments