[dev] [dexonline/dexonline] 5721fa: Code cleanup and refactoring.

GitHub noreply at github.com
Mon Mar 27 22:28:34 EEST 2017


  Branch: refs/heads/typewriter
  Home:   https://github.com/dexonline/dexonline
  Commit: 5721fa05514bb094aa6c5562ae09999d692b8b4d
      https://github.com/dexonline/dexonline/commit/5721fa05514bb094aa6c5562ae09999d692b8b4d
  Author: David Batranu <david.batranu at eaudeweb.ro>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M templates/base.tpl
    M templates/search/definitionList.tpl
    R wwwbase/js/aprilFools.js
    R wwwbase/js/third-party/typewriter.js
    R wwwbase/js/typewriter.js
    A wwwbase/typewriter/run.css
    A wwwbase/typewriter/run.js
    A wwwbase/typewriter/typewriter.js

  Log Message:
  -----------
  Code cleanup and refactoring.

Restructured everything to ``wwwbase/typewriter``.

``run.js`` now holds the code for both definitions and overlay and
exposes several functions in the ``window.typewriter`` namespace.

Using separate cookies for the overlay and the definitions so the
definitions will still run if the first encounter was the overlay on a
different page.




More information about the Dev mailing list