/* * /MathJax/extensions/TeX/cancel.js * * Copyright (c) 2009-2013 The MathJax Consortium * * Part of the MathJax library. * See http://www.mathjax.org for details. * * Licensed under the Apache License, Version 2.0; * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 */MathJax.Extension["TeX/cancel"]={version:"2.2",ALLOWED:{arrow:1,color:1,mathcolor:1,background:1,mathbackground:1,padding:1,thickness:1}};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var h=MathJax.InputJax.TeX,a=MathJax.ElementJax.mml,g=MathJax.Extension["TeX/cancel"];g.setAttributes=function(a,d){if(""!==d){d=d.replace(/ /g,"").split(/,/);for(var b=0,e=d.length;b