Mercurial > hg > webaudioevaluationtool
comparison interfaces/blank.js @ 2980:68e5a789702f
JSHinting project
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 12 Jan 2018 15:49:54 +0000 |
parents | 464c6c6692d6 |
children |
comparison
equal
deleted
inserted
replaced
2979:d5432dd0924e | 2980:68e5a789702f |
---|---|
7 loadInterface(); | 7 loadInterface(); |
8 | 8 |
9 function loadInterface() { | 9 function loadInterface() { |
10 // Use this to do any one-time page / element construction. For instance, placing any stationary text objects, | 10 // Use this to do any one-time page / element construction. For instance, placing any stationary text objects, |
11 // holding div's, or setting up any nodes which are present for the entire test sequence | 11 // holding div's, or setting up any nodes which are present for the entire test sequence |
12 }; | 12 } |
13 | 13 |
14 function loadTest(page) { | 14 function loadTest(page) { |
15 // Called each time a new test page is to be build. The page specification node is the only item passed in | 15 // Called each time a new test page is to be build. The page specification node is the only item passed in |
16 } | 16 } |
17 | 17 |
48 // Use storage.document.createElement('value'); to generate the XML node. | 48 // Use storage.document.createElement('value'); to generate the XML node. |
49 | 49 |
50 }; | 50 }; |
51 this.error = function () { | 51 this.error = function () { |
52 // If there is an error with the audioObject, this will be called to indicate a failure | 52 // If there is an error with the audioObject, this will be called to indicate a failure |
53 } | 53 }; |
54 }; | 54 } |
55 | 55 |
56 function resizeWindow(event) { | 56 function resizeWindow(event) { |
57 // Called on every window resize event, use this to scale your page properly | 57 // Called on every window resize event, use this to scale your page properly |
58 } | 58 } |
59 | 59 |