diff --git a/manifest.php b/manifest.php index dd28381..f06e076 100755 --- a/manifest.php +++ b/manifest.php @@ -26,7 +26,7 @@ 'label' => 'FooBar power extension', 'description' => 'Dummy test extension', 'license' => 'GPL-2.0', - 'version' => '0.3.0', + 'version' => '0.3.1', 'author' => 'Open Assessment Technologies, CRP Henri Tudor', 'requires' => [ 'tao' => '*' diff --git a/scripts/update/Updater.php b/scripts/update/Updater.php index 128abc5..42fa884 100644 --- a/scripts/update/Updater.php +++ b/scripts/update/Updater.php @@ -34,6 +34,6 @@ class Updater extends \common_ext_ExtensionUpdater */ public function update($initialVersion) { - $this->skip('0.1.0', '0.3.0'); + $this->skip('0.1.0', '0.3.1'); } } diff --git a/views/css/foo.css b/views/css/foo.css index 07cbbe1..9513698 100644 --- a/views/css/foo.css +++ b/views/css/foo.css @@ -1,3 +1,3 @@ -body{background-color:pink}div{border:solid 1px pink}a{color:pink;text-decoration:underline} +body{background-color:pink}div{border:solid 1px pink}a{color:pink;text-decoration:underline;background-color:white} /*# sourceMappingURL=foo.css.map */ \ No newline at end of file diff --git a/views/css/foo.css.map b/views/css/foo.css.map index da26d0a..e8a6f86 100644 --- a/views/css/foo.css.map +++ b/views/css/foo.css.map @@ -5,5 +5,5 @@ "../scss/foo.scss" ], "names": [], - "mappings": "AAAA,AAAA,IAAI,AAAC,CACD,gBAAgB,CAAG,IAAI,CAC1B,AACD,AAAA,GAAG,AAAC,CACA,MAAM,CAAE,cAAc,CACzB,AACD,AAAA,CAAC,AAAC,CACD,KAAK,CAAE,IAAI,CACX,eAAe,CAAE,SAAS,CAC1B" + "mappings": "AAAA,AAAA,IAAI,AAAC,CACD,gBAAgB,CAAG,IAAI,CAC1B,AACD,AAAA,GAAG,AAAC,CACA,MAAM,CAAE,cAAc,CACzB,AACD,AAAA,CAAC,AAAC,CACE,KAAK,CAAE,IAAI,CACX,eAAe,CAAE,SAAS,CAC1B,gBAAgB,CAAG,KAAK,CAC3B" } \ No newline at end of file diff --git a/views/js/controller/Foo/index.js b/views/js/controller/Foo/index.js index d98ccf4..e6a0d61 100644 --- a/views/js/controller/Foo/index.js +++ b/views/js/controller/Foo/index.js @@ -4,7 +4,7 @@ define([], function(){ return { start : function start(){ //foo starts - console.log('foo'); + window.console.log('foo', arguments); } }; }); diff --git a/views/js/controllers.min.js b/views/js/controllers.min.js index 6a88cd9..fa5ba89 100644 --- a/views/js/controllers.min.js +++ b/views/js/controllers.min.js @@ -1,2 +1,2 @@ -define("taoFooBar/controller/routes",[],function(){"use strict";return{Foo:{actions:{index:"controller/Foo/index"}}}}),define("taoFooBar/controller/Foo/index",[],function(){"use strict";return{start:function(){console.log("foo")}}}); +define("taoFooBar/controller/routes",[],function(){"use strict";return{Foo:{actions:{index:"controller/Foo/index"}}}}),define("taoFooBar/controller/Foo/index",[],function(){"use strict";return{start:function(){window.console.log("foo",arguments)}}}); //# sourceMappingURL=controllers.min.js.map \ No newline at end of file diff --git a/views/js/controllers.min.js.map b/views/js/controllers.min.js.map index 321c4e4..8551dbc 100644 --- a/views/js/controllers.min.js.map +++ b/views/js/controllers.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["routes.js","Foo/index.js"],"names":["define","Foo","actions","index","start","console","log"],"mappings":"AAqBAA,OAAA,iCAAA,WACA,YAEA,QACAC,KACAC,SACAC,MAAA,4BAMAH,OAAA,oCAAA,WChCA,YAEA,QACAI,MAAA,WAEAC,QAAAC,IAAA","file":"routes.js","sourcesContent":["/**\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; under version 2\n * of the License (non-upgradable).\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n *\n * Copyright (c) 2017 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT);\n *\n *\n */\n\n//@see http://forge.taotesting.com/projects/tao/wiki/Front_js\ndefine('taoFooBar/controller/routes',[],function(){\n 'use strict';\n\n return {\n 'Foo' : {\n 'actions' : {\n 'index' : 'controller/Foo/index'\n }\n }\n };\n});\n\n","define('taoFooBar/controller/Foo/index',[], function(){\n 'use strict';\n\n return {\n start : function start(){\n //foo starts\n console.log('foo');\n }\n };\n});\n\n"]} \ No newline at end of file +{"version":3,"sources":["routes.js","Foo/index.js"],"names":["define","Foo","actions","index","start","window","console","log","arguments"],"mappings":"AAqBAA,OAAA,iCAAA,WACA,YAEA,QACAC,KACAC,SACAC,MAAA,4BAMAH,OAAA,oCAAA,WChCA,YAEA,QACAI,MAAA,WAEAC,OAAAC,QAAAC,IAAA,MAAAC","file":"routes.js","sourcesContent":["/**\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; under version 2\n * of the License (non-upgradable).\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n *\n * Copyright (c) 2017 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT);\n *\n *\n */\n\n//@see http://forge.taotesting.com/projects/tao/wiki/Front_js\ndefine('taoFooBar/controller/routes',[],function(){\n 'use strict';\n\n return {\n 'Foo' : {\n 'actions' : {\n 'index' : 'controller/Foo/index'\n }\n }\n };\n});\n\n","define('taoFooBar/controller/Foo/index',[], function(){\n 'use strict';\n\n return {\n start : function start(){\n //foo starts\n window.console.log('foo', arguments);\n }\n };\n});\n\n"]} \ No newline at end of file diff --git a/views/scss/foo.scss b/views/scss/foo.scss index 03ad784..176a2ae 100644 --- a/views/scss/foo.scss +++ b/views/scss/foo.scss @@ -5,6 +5,7 @@ div { border: solid 1px pink; } a { - color: pink; - text-decoration: underline; + color: pink; + text-decoration: underline; + background-color : white; }