Mercurial > hg > webaudioevaluationtool
changeset 2885:98209bb0fe87
Small bugfix
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Mon, 26 Jun 2017 12:52:42 +0100 |
parents | 596e83ffc73a |
children | c70036f28226 |
files | test_create/test_core.js |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test_create/test_core.js Mon Jun 26 12:47:57 2017 +0100 +++ b/test_create/test_core.js Mon Jun 26 12:52:42 2017 +0100 @@ -1,4 +1,4 @@ -/* globals document, angular, window, Promise, XMLHttpRequest, Specification, XMLSerializer, Blob, DOMParser, FileReader*/ +/* globals document, angular, window, Promise, XMLHttpRequest, Specification, XMLSerializer, Blob, DOMParser, FileReader, $*/ function get(url) { // Return a new promise. return new Promise(function (resolve, reject) { @@ -129,7 +129,7 @@ } }; $s.initialise = function (name) { - var obj = $s.interfaces.find(function (i) { + var obj = $s.testSpecifications.interfaces.find(function (i) { return i.name == name; }); specification.interface = obj.interface; @@ -305,7 +305,7 @@ scale.scales.forEach(function (s) { $s.interface.scales.push(s); }); - $s.selectedScale = "Scale: " + scale.name + $s.selectedScale = "Scale: " + scale.name; }; $s.selectedScale = "Scale: Custom"; }]);