Fixed tutorial view and reimplemented API for new frontend
diff --git a/Gruntfile.js b/Gruntfile.js
index 3cf82bb..d949a90 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -90,6 +90,15 @@
dest: 'public/',
nonull:true,
timestamp:true
+ },
+ // Needs to overwrite the prepared svg as it corrupts the embedded js
+ {
+ expand: true,
+ cwd: 'dev/img/',
+ src: 'korap-overview.svg',
+ dest: 'public/img/',
+ nonull:true,
+ timestamp:true
}
]
}
@@ -123,6 +132,6 @@
grunt.registerTask('css', ['sass']);
grunt.registerTask(
'default',
- ['copy', 'requirejs', 'imagemin', 'sass']
+ ['requirejs', 'imagemin', 'copy', 'sass']
);
};