mathjax.js revision 46d4c2bc3267f3f028f39e7e311b0f89aba2e4fd
1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5/**
6 * @fileoverview Testing stub for MathJax.
7 *
8 */
9
10goog.provide('cvox.TestMathJax');
11
12goog.require('cvox.AbstractMathJax');
13goog.require('cvox.HostFactory');
14
15
16/**
17 * @constructor
18 * @extends {cvox.AbstractMathJax}
19 */
20cvox.TestMathJax = function() {
21  goog.base(this);
22};
23goog.inherits(cvox.TestMathJax, cvox.AbstractMathJax);
24
25
26/**
27 * @override
28 */
29cvox.TestMathJax.prototype.isMathjaxActive = function(callback) { };
30
31
32/**
33 * @override
34 */
35cvox.TestMathJax.prototype.getAllJax = function(callback) { };
36
37
38/**
39 * @override
40 */
41cvox.TestMathJax.prototype.registerSignal = function(
42    callback, signal) { };
43
44
45/**
46 * @override
47 */
48cvox.TestMathJax.prototype.injectScripts = function() { };
49
50
51/**
52 * @override
53 */
54cvox.TestMathJax.prototype.configMediaWiki = function() { };
55
56
57/**
58 * @override
59 */
60cvox.TestMathJax.prototype.getTex = function(callback, texNode) { };
61
62
63/**
64 * @override
65 */
66cvox.TestMathJax.prototype.getAsciiMath = function(callback, asciiMathNode) { };
67
68
69/** Export platform constructor. */
70cvox.HostFactory.mathJaxConstructor =
71    cvox.TestMathJax;
72