` leading`
`trailing `
leading
trailing
` leading`
`trailing `
\acos | |
\acosec | |
\acosech | |
\acosh | |
\acot | |
\acotan | |
\acotanh | |
\acoth | |
\acsc | |
\acsch |
\acos | |
\acosec | |
\acosech | |
\acosh | |
\acot | |
\acotan | |
\acotanh | |
\acoth | |
\acsc | |
\acsch |
\ | |
\$ | |
\' | |
\MathQuillMathField | |
\Pr | |
\arg | |
\class | |
\exp | |
\hom | |
\injlim |
diff --git a/test/visual.html b/test/visual.html | |
index 1a47eca..e0f86af 100644 | |
--- a/test/visual.html | |
+++ b/test/visual.html | |
@@ -97,7 +97,7 @@ td { | |
// paste some stuff that needs resizing | |
textarea.trigger('paste'); | |
textarea.val('\\pi\\sqrt{\\sqrt{\\frac12}}\\int'); | |
- setTimeout(function() { if (count !== 1) throw 'reflow not called'; }); | |
+ //setTimeout(function() { if (count !== 1) throw 'reflow not called'; }); |
diff --git a/src/commands/math.js b/src/commands/math.js | |
index 197507c..50a768b 100644 | |
--- a/src/commands/math.js | |
+++ b/src/commands/math.js | |
@@ -431,11 +431,10 @@ var MathBlock = P(MathElement, function(_, super_) { | |
API.StaticMath = function(APIClasses) { | |
return P(APIClasses.AbstractMathQuill, function(_, super_) { | |
this.RootBlock = MathBlock; | |
+ this.rootClassNames = 'mq-math-mode'; | |
_.__mathquillify = function() { |
` leading`
`trailing `
leading
trailing
` leading`
`trailing `
\hcf | |
\gcf | |
\lcm | |
\mod | |
\proj | |
\span | |
\arcsinh | |
\asinh | |
\asin | |
\arccosh |
Never break backcompat, keep the API nimble
An extension of SemVer with a stricter (yet more realistic) backcompat guarantee, that provides more flexibility to change the API, for libraries that are packaged and downloaded (not services accessed remotely over the Internet (see Note 4)).
var patterns = []; | |
(function (args) { | |
for (var i = 0; i < args.length; i++) { | |
if (!args[i]) continue; | |
var parts = args[i].source.split('::='); | |
var name = parts[0].trim(); | |
var pattern = RegExp('^(?:' + parts[1].trim() + ')'); | |
patterns.push([name, pattern]); | |
} |
#!/usr/bin/env node | |
if (process.stdin.isTTY) { | |
console.log('Usage: Inside the directory with all the sent text message files:'); | |
console.log(); | |
console.log('ls | path/to/contacts_extractor.js | sort | uniq | ./mkvcards -o /path/to/output_dir/'); | |
process.exit(); | |
} | |
var DEBUG_MODE = '-d --debug'.split(' ').indexOf(process.argv.slice(-1)[0]) > -1; |