@nteract/mathjax
Advanced tools
Comparing version 1.0.0 to 2.0.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.load = load; | ||
// Extracted from https://github.com/eldargab/load-script | ||
@@ -78,2 +84,2 @@ | ||
module.exports = load; | ||
exports.default = load; |
@@ -6,3 +6,2 @@ "use strict"; | ||
}); | ||
var _jsxFileName = "src/text.js"; | ||
@@ -70,6 +69,2 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
_this2.el = el; | ||
}, | ||
__source: { | ||
fileName: _jsxFileName, | ||
lineNumber: 30 | ||
} | ||
@@ -76,0 +71,0 @@ }, |
{ | ||
"name": "@nteract/mathjax", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "React components for MathJax", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -23,3 +23,3 @@ // @flow | ||
function load(src: string, opts: ?Options | ?Callback, cb: ?Callback) { | ||
export function load(src: string, opts: ?Options | ?Callback, cb: ?Callback) { | ||
var head = document.head || document.getElementsByTagName("head")[0]; | ||
@@ -89,2 +89,2 @@ var script = document.createElement("script"); | ||
module.exports = load; | ||
export default load; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36654
749