From de25af5467686f9413a8c345e0229a9fdb46fd9a Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 2 Oct 2013 16:18:35 +0200 Subject: [PATCH] exclude svgs from count.min.js --- isso/js/app/text/dummy.js | 3 +++ isso/js/build.count.js | 3 +++ isso/static/post.html | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 isso/js/app/text/dummy.js diff --git a/isso/js/app/text/dummy.js b/isso/js/app/text/dummy.js new file mode 100644 index 0000000..37d0eca --- /dev/null +++ b/isso/js/app/text/dummy.js @@ -0,0 +1,3 @@ +define(function () { + return {}; +}); \ No newline at end of file diff --git a/isso/js/build.count.js b/isso/js/build.count.js index d2da9ed..4ef39c6 100644 --- a/isso/js/build.count.js +++ b/isso/js/build.count.js @@ -1,6 +1,9 @@ ({ baseUrl: ".", mainConfigFile: 'config.js', + paths: { + "app/text/svg": "app/text/dummy" + }, name: "components/almond/almond", include: ['count'], diff --git a/isso/static/post.html b/isso/static/post.html index ebca347..1624329 100644 --- a/isso/static/post.html +++ b/isso/static/post.html @@ -4,8 +4,8 @@ Hello World - - + +