diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 09357a7..43042e9 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,11 @@ + - + @@ -30,8 +31,8 @@ - - + + @@ -39,14 +40,36 @@ + + + + + + + + + + + + + + + + + + + + + + - + - - + + @@ -55,8 +78,8 @@ - - + + @@ -75,10 +98,10 @@ - - + + - + @@ -87,8 +110,8 @@ - - + + @@ -104,16 +127,6 @@ - - - - - - - - - - @@ -138,9 +151,10 @@ - @@ -652,33 +562,17 @@ - - - - - - - - - + - - + + - - - - - - - - @@ -695,28 +589,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - - + + diff --git a/GulpFile.js b/GulpFile.js index f027118..306f7f4 100644 --- a/GulpFile.js +++ b/GulpFile.js @@ -42,14 +42,6 @@ var destinations = { doc : "dist/doc/" }; -var imageminJpegoptim = require('imagemin-jpegoptim'); - -gulp.task('imagemin', function () { - return gulp.src('images/*.jpg') - .pipe(imageminJpegoptim({progressive: true})()) - .pipe(gulp.dest('dist/images')); -}); - /** * Run test once and exit */ @@ -108,9 +100,9 @@ gulp.task('watch', function () { gulp.watch('GulpFile.js', ['default']); gulp.watch(sources.tests, ['test']); gulp.watch(sources.sass, ['sass2css']); - gulp.watch('bower.json', ['wiredep']); - gulp.watch(sources.html, ['html_transform']); - gulp.watch(sources.htmls, ['html_transform']); + gulp.watch('bower.json', ['html_transform', "wiredep"]); + gulp.watch(sources.html, ['html_transform', "wiredep"]); + gulp.watch(sources.htmls, ['html_transform', "wiredep"]); // gulp.watch(sources.htmls, ['html','wiredep']); gulp.watch(sources.coffee, ['coffee2js', 'test']); @@ -142,6 +134,6 @@ gulp.task('wiredep', ['html_transform'], function () { .pipe(gulp.dest(destinations.html)) ; }); -gulp.task("default", ['html_transform', "wiredep", "coffee2js", "sass2css", "lint", "browser-sync", "imagemin", "watch"], function () { +gulp.task("default", ['html_transform', "wiredep", "coffee2js", "sass2css", "lint", "browser-sync" , "watch"], function () { console.log("spartiiiii"); }); diff --git a/src/coffee/main.coffee b/src/coffee/main.coffee index 3b7f623..e193cfa 100644 --- a/src/coffee/main.coffee +++ b/src/coffee/main.coffee @@ -10,6 +10,7 @@ angular.module "tkApp", [] $scope.demo = 'WOHOOO angular ça marche' $http.get('json/squares.json').then( (data)-> + console.log('data', data) $scope.config = data.data ) ### diff --git a/src/html/index.html b/src/html/index.html index e1c76b5..35a3173 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -58,22 +58,14 @@ Comment jouer: - +
+ trouvez les argumentations foireuses dans les discours, pas seulement en politique. + Cliquez sur une case correspondant à l'erreur et voyez en combien de temps vous pouvez former une ligne verticale, horizontale, ou diagonale. +
-
-
-
- {{s.text}} -
-
-
       config :
       	{{config|json}}
diff --git a/src/html/tpl/main.html b/src/html/tpl/main.html
index a24daff..ad72ce5 100644
--- a/src/html/tpl/main.html
+++ b/src/html/tpl/main.html
@@ -1,4 +1,14 @@
 
- Board +
+
+
+ {{s.text}} +
+
+