kopia lustrzana https://github.com/c9/core
Revert "Open SVG files in image previewer by default"
rodzic
7923f2eedc
commit
162ff405f4
|
@ -105,7 +105,7 @@ define(function(require, module, exports) {
|
||||||
extensions.forEach(function(ext) {
|
extensions.forEach(function(ext) {
|
||||||
// force lower-case, to account for other LowerCase checks below
|
// force lower-case, to account for other LowerCase checks below
|
||||||
ext = ext.toLowerCase();
|
ext = ext.toLowerCase();
|
||||||
(fileExtensions[ext] || (fileExtensions[ext] = [])).unshift(editor);
|
(fileExtensions[ext] || (fileExtensions[ext] = [])).push(editor);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (editor.type == options.defaultEditor)
|
if (editor.type == options.defaultEditor)
|
||||||
|
|
|
@ -12,7 +12,7 @@ define(function(require, exports, module) {
|
||||||
|
|
||||||
/***** Initialization *****/
|
/***** Initialization *****/
|
||||||
|
|
||||||
var extensions = ["gif", "ico", "svg"];
|
var extensions = ["gif", "ico"];
|
||||||
|
|
||||||
function ImageEditor(){
|
function ImageEditor(){
|
||||||
var plugin = new Editor("Ajax.org", main.consumes, extensions);
|
var plugin = new Editor("Ajax.org", main.consumes, extensions);
|
||||||
|
|
Ładowanie…
Reference in New Issue