<!-- index.html -->
<html>
  <head>
    <title>Editor</title>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="/js/common.js"></script>
    <script src="/js/libs.js"></script>
    <script src="/js/libs-free.js"></script>
  </head>
  <body>
    <app></app>
    <script src="/js/ace-min.js"></script>
    <script src="/js/index.js"></script>
  </body>
</html>

<!-- index.html -->
<html>
  <head>
    <title>Editor</title>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script type="text/javascript">
        // Zone.js is modifying those, we need to keep them
        // for the map rendering.
        window.unwrapedRequestAnimationFrame = window.requestAnimationFrame;
        window.unwrapedCancelAnimationFrame = window.cancelAnimationFrame;
    </script>
    <script src="/js/common.js"></script>
    <script src="/js/libs.js"></script>
    <script src="/js/libs-free.js"></script>
  </head>
  <body>
    <app></app>
    <script src="/js/ace-min.js"></script>
    <script src="/js/index.js"></script>
  </body>
</html>

Add a way to preserve requestAnimationFrame
Add a way to preserve requestAnimationFrame

Zone.js is overidding this function, causing it to use
to much memory and be very slow. The production build
should use the native version so, this commit introduce
a hack to preserve the native version.
