diff --git a/manifest.php b/manifest.php index 3abe33b..6e68933 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.4.0', + 'version' => '0.4.1', 'author' => 'Open Assessment Technologies, CRP Henri Tudor', 'requires' => [ 'tao' => '*' diff --git a/scripts/update/Updater.php b/scripts/update/Updater.php index 258bedb..38da8da 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.4.0'); + $this->skip('0.1.0', '0.4.1'); } } diff --git a/views/css/foo.css b/views/css/foo.css index 51e3618..01f943d 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;background-color:white;border-radius:3px} +body{background-color:pink}div{border:solid 1px pink}a{color:pink;text-decoration:underline;background-color:white;border-radius:3px}a:hover{cursor:pointer} /*# 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 38f3a10..3822764 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,CACE,KAAK,CAAE,IAAI,CACX,eAAe,CAAE,SAAS,CAC1B,gBAAgB,CAAG,KAAK,CACxB,aAAa,CAAE,GAAG,CACrB" + "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,CACxB,aAAa,CAAE,GAAG,CAKrB,AATD,AAMI,CANH,AAMG,MAAO,AAAC,CACJ,MAAM,CAAE,OAAO,CAClB" } \ No newline at end of file diff --git a/views/js/controller/Foo/index.js b/views/js/controller/Foo/index.js index ed01ae5..0603d3a 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 - window.console.log('foo', arguments, this); + window.console.log('foo', arguments, this, window); } }; }); diff --git a/views/js/controllers.min.js b/views/js/controllers.min.js index 95bc930..2bf39e0 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(){window.console.log("foo",arguments,this)}}}); +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,this,window)}}}); //# 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 d7da034..3239a94 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","window","console","log","arguments","this"],"mappings":"AAqBAA,OAAA,iCAAA,WACA,YAEA,QACAC,KACAC,SACAC,MAAA,4BAMAH,OAAA,oCAAA,WChCA,YAEA,QACAI,MAAA,WAEAC,OAAAC,QAAAC,IAAA,MAAAC,UAAAC","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, this);\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","this"],"mappings":"AAqBAA,OAAA,iCAAA,WACA,YAEA,QACAC,KACAC,SACAC,MAAA,4BAMAH,OAAA,oCAAA,WChCA,YAEA,QACAI,MAAA,WAEAC,OAAAC,QAAAC,IAAA,MAAAC,UAAAC,KAAAJ","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, this, window);\n }\n };\n});\n\n"]} \ No newline at end of file diff --git a/views/scss/foo.scss b/views/scss/foo.scss index c7c62f9..d252d27 100644 --- a/views/scss/foo.scss +++ b/views/scss/foo.scss @@ -9,4 +9,8 @@ a { text-decoration: underline; background-color : white; border-radius: 3px; + + &:hover { + cursor: pointer; + } }