Fix isSpacelike for maction elements

This commit is contained in:
Davide P. Cervone 2011-02-16 13:36:54 -05:00
parent 4cbc74e418
commit 48ee5d3f55
2 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
* *
* --------------------------------------------------------------------- * ---------------------------------------------------------------------
* *
* Copyright (c) 2009 Design Science, Inc. * Copyright (c) 2009-2011 Design Science, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -27,7 +27,7 @@ MathJax.ElementJax.mml = MathJax.ElementJax({
mimeType: "jax/mml" mimeType: "jax/mml"
},{ },{
id: "mml", id: "mml",
version: "1.0.2", version: "1.0.3",
directory: MathJax.ElementJax.directory + "/mml", directory: MathJax.ElementJax.directory + "/mml",
extensionDir: MathJax.ElementJax.extensionDir + "/mml", extensionDir: MathJax.ElementJax.extensionDir + "/mml",
optableDir: MathJax.ElementJax.directory + "/mml/optable" optableDir: MathJax.ElementJax.directory + "/mml/optable"
@ -1079,6 +1079,7 @@ MathJax.ElementJax.mml.Augment({
}, },
selected: function () {return this.data[this.Get("selection")-1] || MML.NULL}, selected: function () {return this.data[this.Get("selection")-1] || MML.NULL},
isEmbellished: function () {return this.selected().isEmbellished()}, isEmbellished: function () {return this.selected().isEmbellished()},
isSpacelike: function () {return this.selected().isSpacelike()},
Core: function () {return this.selected().Core()}, Core: function () {return this.selected().Core()},
CoreMO: function () {return this.selected().CoreMO()}, CoreMO: function () {return this.selected().CoreMO()},
setTeXclass: function (prev) {return this.selected().setTeXclass(prev)} setTeXclass: function (prev) {return this.selected().setTeXclass(prev)}