@@ -74,7 +74,6 @@ module.exports = function (grunt) {
'src/{%= name %}-Tests.st' // list all tests in dependency order
],
amd_namespace: '{%= namespace %}',
- jsGlobals: ['fetch'], // code calling the backend needs this atm
libraries: ['amber/core/SUnit', 'amber/web/Web', 'silk/Silk']
}
},
@@ -45,7 +45,7 @@ endpoint
!
getApi: path
- ^ fetch value: self endpoint, path
+ ^ Platform fetch: self endpoint, path
! !
!{%= name %} methodsFor: 'starting'!