From 3eb662af2fb2aed77ab0b0a6e82bc4c92df948dd Mon Sep 17 00:00:00 2001 From: tykayn Date: Sat, 11 Jun 2016 17:32:06 +0200 Subject: [PATCH] =?UTF-8?q?16=20carr=C3=A9s=20de=20fallacies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .idea/workspace.xml | 266 ++++++++++++++++++++--------------------- src/coffee/main.coffee | 4 +- src/html/index.html | 11 -- src/html/tpl/main.html | 7 +- src/json/squares.json | 40 +++++-- src/sass/_global.scss | 8 ++ 7 files changed, 178 insertions(+), 159 deletions(-) diff --git a/.gitignore b/.gitignore index cb4c8e6..5e6ec47 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ dist .tmp bower_components test/bower_components +.idea diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 43042e9..5d92629 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,11 +2,13 @@ + - + + @@ -28,11 +30,11 @@ - + - - + + @@ -40,56 +42,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + @@ -98,25 +85,15 @@ - - + + - + - - - - - - - - - - @@ -130,8 +107,8 @@ - - + + @@ -150,13 +127,14 @@ @@ -168,9 +146,9 @@ @@ -231,6 +209,24 @@ - - + - + - + @@ -501,7 +497,7 @@ - + @@ -530,14 +526,6 @@ - - - - - - - - @@ -567,34 +555,18 @@ - - + + - - - - - - - - - - - - - - - - - + @@ -607,49 +579,73 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/coffee/main.coffee b/src/coffee/main.coffee index e193cfa..0037649 100644 --- a/src/coffee/main.coffee +++ b/src/coffee/main.coffee @@ -16,7 +16,9 @@ angular.module "tkApp", [] ### # scoped functions ### - $scope.doStuff = -> + $scope.reinitSquares = -> + for square in $scope.config.squares + square.active = 0 console.log('impressig!') $scope.doStuffWithArg = (arg)-> console.log('wow such function!', arg) diff --git a/src/html/index.html b/src/html/index.html index 35a3173..2b40adf 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -43,17 +43,6 @@
-
- -

- - This app includes : -

- Gulp, Angular, coffeescript, jquery, bootstrap, font awesome, commitement to open source. -
- - karma, jasmine, jslint, uglify, coverall and more. -

Comment jouer: diff --git a/src/html/tpl/main.html b/src/html/tpl/main.html index ad72ce5..c450113 100644 --- a/src/html/tpl/main.html +++ b/src/html/tpl/main.html @@ -1,14 +1,13 @@
-
+
-
{{s.text}}
-
+
diff --git a/src/json/squares.json b/src/json/squares.json index a6301d0..619d4c8 100644 --- a/src/json/squares.json +++ b/src/json/squares.json @@ -11,36 +11,60 @@ "details":"" }, { - "text":"pente glissante", + "text":"ad populum", + "details":"s'appuyer sur la popularité d'une chose pour lui associer une valeur" + }, + { + "text":"conclusion hâtive", "details":"" }, { - "text":"pente glissante", + "text":"inversion de la charge de la preuve", "details":"" }, { - "text":"pente glissante", + "text":"ad hominem", "details":"" }, { - "text":"pente glissante", + "text":"le véritable irlandais", "details":"" }, { - "text":"pente glissante", + "text":"homme de paille", "details":"" }, { - "text":"pente glissante", + "text":"confondre causalité et correlation", "details":"" }, { - "text":"pente glissante", + "text":"raisonnement circulaire", "details":"" }, { - "text":"pente glissante", + "text":"faux dilemme", + "details":"limiter les options pour les réduire à seulement deux afin d'orienter le choix de façon malhonnête. Souvent utilisé dans les oppositions nous VS eux, 'si vous n'êtes pas avec nous, vous êtes contre nous' " + }, + { + "text":"argument de l'ignorance", + "details":"on ne sait pas, donc c'est mon explication qui est la bonne" + }, + { + "text":"argument d'autorité", "details":"" + }, + { + "text":"appel à la pitié", + "details":"" + }, + { + "text":"écharppe rouge", + "details":"détourner l'attention vers un autre sujet" + }, + { + "text":"fallacy fallacy", + "details":"invalider un argumentaire dans sa globalité sur la base unique qu'il utilise un ou des biais argumentaires répertoriés ici. on peut avoir raison sans pour autant l'argumenter d'une bonne façon." } ] } diff --git a/src/sass/_global.scss b/src/sass/_global.scss index 1eb1bf3..5687d35 100644 --- a/src/sass/_global.scss +++ b/src/sass/_global.scss @@ -1,8 +1,16 @@ #board{ border: solid 3px $blue; background: $white; + display: block; } .square{ + box-sizing: border-box; + padding: 1em; + width: 150px; + height: 150px; + text-align: center; + float: left; + background: $white; &:hover{ background: $blue; color: $white;