diff --git a/manifest.php b/manifest.php index 706a056..7acaa7f 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.4', + 'version' => '0.5.0', 'author' => 'Open Assessment Technologies, CRP Henri Tudor', 'requires' => [ 'tao' => '*' diff --git a/scripts/update/Updater.php b/scripts/update/Updater.php index e6a853f..90472c9 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.3'); + $this->skip('0.1.0', '0.5.0'); } } diff --git a/views/js/controller/Foo/index.js b/views/js/controller/Foo/index.js index 74ffaae..5c61b66 100644 --- a/views/js/controller/Foo/index.js +++ b/views/js/controller/Foo/index.js @@ -4,7 +4,8 @@ define([], function(){ return { start : function start(){ //foo starts - window.console.log('foobar baz', arguments); + window.console.log('foobar baz noz', arguments); + window.console.warn('Ooops'); } }; }); diff --git a/views/js/controllers.min.js b/views/js/controllers.min.js index 0904928..92f44a5 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("foobar baz",arguments)}}}); +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("foobar baz noz",arguments),window.console.warn("Ooops")}}}); //# 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 5d3fec6..2506bd2 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"],"mappings":"AAqBAA,OAAA,iCAAA,WACA,YAEA,QACAC,KACAC,SACAC,MAAA,4BAMAH,OAAA,oCAAA,WChCA,YAEA,QACAI,MAAA,WAEAC,OAAAC,QAAAC,IAAA,aAAAC","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('foobar baz', arguments);\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","warn"],"mappings":"AAqBAA,OAAA,iCAAA,WACA,YAEA,QACAC,KACAC,SACAC,MAAA,4BAMAH,OAAA,oCAAA,WChCA,YAEA,QACAI,MAAA,WAEAC,OAAAC,QAAAC,IAAA,iBAAAC,WACAH,OAAAC,QAAAG,KAAA","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('foobar baz noz', arguments);\n window.console.warn('Ooops');\n }\n };\n});\n\n"]} \ No newline at end of file