Safe.js 1.3 KB

123456789101112131415161718192021222324252627282930
  1. /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
  2. /* vim: set ts=2 et sw=2 tw=80: */
  3. /*************************************************************
  4. *
  5. * MathJax/config/Safe.js
  6. *
  7. * Allows you to load the Safe extension as part of the config list
  8. * when you load MathJax.js, e.g.
  9. *
  10. * <script
  11. * src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,Safe">
  12. * </script>
  13. *
  14. * ---------------------------------------------------------------------
  15. *
  16. * Copyright (c) 2013 The MathJax Consortium
  17. *
  18. * Licensed under the Apache License, Version 2.0 (the "License");
  19. * you may not use this file except in compliance with the License.
  20. * You may obtain a copy of the License at
  21. *
  22. * http://www.apache.org/licenses/LICENSE-2.0
  23. *
  24. * Unless required by applicable law or agreed to in writing, software
  25. * distributed under the License is distributed on an "AS IS" BASIS,
  26. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  27. * See the License for the specific language governing permissions and
  28. * limitations under the License.
  29. */MathJax.Hub.Register.StartupHook("End Config",function(){MathJax.Hub.config.extensions||(MathJax.Hub.config.extensions=[]);MathJax.Hub.config.extensions.push("Safe.js")});MathJax.Ajax.loadComplete("[MathJax]/config/Safe.js");