Skip to content

Commit

Permalink
4.1.0.1358
Browse files Browse the repository at this point in the history
 Stable version
  • Loading branch information
mcagigas-at-wiris committed Mar 7, 2017
1 parent 56ebb82 commit dbfcc3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.0.1357
4.1.0.1358
13 changes: 1 addition & 12 deletions core/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1964,19 +1964,8 @@ function wrs_mathmlToImgObject(creator, mathml, wirisProperties, language) {
imgObject.setAttribute('data-custom-editor', mathmlSubstring);
}

// Experimental settings.
// Performance enabled
if (_wrs_conf_wirisPluginPerformance && (_wrs_conf_saveMode == 'xml' || _wrs_conf_saveMode == 'safeXml')) {
// Internet Explorer 6-11
// http://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
var isIE = /*@cc_on!@*/false || !!document.documentMode;
if (isIE) {
data['useragent'] = 'IE';
_wrs_conf_imageFormat = 'png';
}
else {
data['useragent'] = 'other browser';
_wrs_conf_imageFormat = 'svg';
}

var result = JSON.parse(wrs_createShowImageSrc(mathml, data, language));
if (result["status"] == 'warning') {
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2017030100;
$plugin->release = '4.1.0.1357';
$plugin->version = 2017030700;
$plugin->release = '4.1.0.1358';
$plugin->requires = 2014050800;
$plugin->component = 'atto_wiris';
$plugin->dependencies = array ('filter_wiris' => 2017030100);
$plugin->dependencies = array ('filter_wiris' => 2017030700);
$plugin->maturity = MATURITY_STABLE;

0 comments on commit dbfcc3d

Please sign in to comment.