diff options
author | Jean Claveau <jean.claveau@c277.fr> | 2014-10-06 23:33:13 +0200 |
---|---|---|
committer | Jean Claveau <jean.claveau@c277.fr> | 2014-10-06 23:33:13 +0200 |
commit | 3a10b16b4f1838a7c51f179d0aeb6d9219b71318 (patch) | |
tree | 0cce363b095ddc139b5a025dd3b4b75ee2d842eb /script | |
parent | 8528104bf5aebbcec3abf59b98f24c0cf29fc87f (diff) |
TODOs ad questions
Diffstat (limited to 'script')
-rw-r--r-- | script/console/__init__.js | 9 | ||||
-rw-r--r-- | script/svg/__init__.js | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/script/console/__init__.js b/script/console/__init__.js index a1d833b9a9..d18a0697f9 100644 --- a/script/console/__init__.js +++ b/script/console/__init__.js @@ -1,4 +1,13 @@ __setupPackage__(__extension__); +/** + * This is a fake Firebug console api. To debug scripts a few more like in + * javascript. + * + * More info : + * http://blog.qt.digia.com/blog/2012/03/01/debugging-qt-quick-2-console-api/ + * + */ + console = { log : function(){ diff --git a/script/svg/__init__.js b/script/svg/__init__.js index f96744baab..3da56904f0 100644 --- a/script/svg/__init__.js +++ b/script/svg/__init__.js @@ -1,5 +1,8 @@ __setupPackage__(__extension__); - +/** + * This extension provides the api to add hooks into attributes in + * the SVG parser. + */ svg.templateHooks = {}; svg.regexpQuote = function (str, delimiter) { @@ -27,9 +30,6 @@ svg.getHooksPattern = function(){ global = this; svg.templateHooks.variable = function( varName ){ - - // console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'); - // console.log(global[varName]); if( varName in global ){ return global[varName]; } |