diff --git a/Manifest.json b/Manifest.json index 1899a9f..42e1b4a 100644 --- a/Manifest.json +++ b/Manifest.json @@ -14,13 +14,13 @@ "email": "tobi@itis.ethz.ch" } ], - "version" : "0.0.3", + "version" : "0.0.4", "qooxdoo-range": "6.0.0-alpha-20180529 - 6.x" }, "provides" : { - "namespace" : "iconfont", + "namespace" : "iconfont.fontawesome5", "encoding" : "utf-8", "class" : "source/class", "resource" : "source/resource", diff --git a/README.md b/README.md index d6a76a7..3916e9f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ $ qx contrib install ITISFoundation/qx-iconfont-fontawesome5 To induce the compiler to copy the font file you can either add a 'dummy' call to: -`iconfont.FontAwesome5;` +`iconfont.fontawesome5.Load;` to your appliaction or you can explicitly include the class in the `compile.json` file. diff --git a/compile.json b/compile.json index 29f184e..4c9a996 100644 --- a/compile.json +++ b/compile.json @@ -30,7 +30,7 @@ "name": "iconbrowser", "writeIndexHtmlToRoot": true, "include": [ - "iconfont.FontAwesome5" + "iconfont.fontawesome5.Load" ] } ], diff --git a/source/class/iconbrowser/Application.js b/source/class/iconbrowser/Application.js index 1c61392..a903f44 100644 --- a/source/class/iconbrowser/Application.js +++ b/source/class/iconbrowser/Application.js @@ -18,7 +18,7 @@ qx.Class.define("iconbrowser.Application", { // font files to the output class. // you could also explicitly include the class in the compile.json file - // iconfont.FontAwesome5; + // iconfont.fontawesome5.Load; let copy = document.createElement("input"); document.body.appendChild(copy); diff --git a/source/class/iconfont/FontAwesome5.js b/source/class/iconfont/fontawesome5/Load.js similarity index 69% rename from source/class/iconfont/FontAwesome5.js rename to source/class/iconfont/fontawesome5/Load.js index 0711017..db0aaa1 100644 --- a/source/class/iconfont/FontAwesome5.js +++ b/source/class/iconfont/fontawesome5/Load.js @@ -4,4 +4,4 @@ /** * @asset(iconfont/fontawesome5/*) */ -qx.Class.define("iconfont.FontAwesome5", {}); +qx.Class.define("iconfont.fontawesome5.Load", {});