From 1741ea2df9add6e0591ee37a07dbea60cdf969da Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 9 May 2012 17:34:27 +0100 Subject: [PATCH] Added SVG file extension info --- core/boot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/boot.js b/core/boot.js index 1b8252451..44553e2c1 100644 --- a/core/boot.js +++ b/core/boot.js @@ -64,7 +64,8 @@ $tw.config.fileExtensions = { ".jpg": {type: "image/jpeg", encoding: "base64"}, ".jpeg": {type: "image/jpeg", encoding: "base64"}, ".png": {type: "image/png", encoding: "base64"}, - ".gif": {type: "image/gif", encoding: "base64"} + ".gif": {type: "image/gif", encoding: "base64"}, + ".svg": {type: "image/svg+xml", encoding: "utf8"} }; /////////////////////////// Utility functions