2 Commits e7c2cda1c6 ... 98c25a0ca7

Author SHA1 Message Date
  Herby Vojčík 98c25a0ca7 scaffolding: bump version to 0.23.6 4 years ago
  Herby Vojčík 807de19a00 scaffolding: Use `Platform fetch:`. 4 years ago

+ 1 - 1
grunt-init-project/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@ambers/grunt-init-amber-project",
-  "version": "0.23.5",
+  "version": "0.23.6",
   "description": "grunt-init template for amber project",
   "main": "template.js",
   "scripts": {

+ 0 - 1
grunt-init-project/root/Gruntfile.js

@@ -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']
             }
         },

+ 1 - 1
grunt-init-project/root/src/name.st

@@ -45,7 +45,7 @@ endpoint
 !
 
 getApi: path
-	^ fetch value: self endpoint, path
+	^ Platform fetch: self endpoint, path
 ! !
 
 !{%= name %} methodsFor: 'starting'!