acte.callbacks

by toubia95

HTML

<div id="text">

</div>

JavaScript

/**
 * acte - Une librairie JavaScript qui simplifie la recherche généalogique.
 * @copyright 2015-Present, Gilles Toubiana
 * @namespace acte
 * @version 0.0.17
 * @see {@link https://github.com/gtoubiana/acte|Projet sur GitHub}
 * @license MIT
 */

Array.prototype.reduce || (Array.prototype.reduce = function(r) {
    "use strict";
    if (null == this) throw new TypeError("Array.prototype.reduce appelé sur null ou undefined");
    if ("function" != typeof r) throw new TypeError(r + " n'est pas une fonction");
    var e, t = Object(this),
      n = t.length >>> 0,
      i = 0;
    if (2 == arguments.length) e = arguments[1];
    else {
      for (; i < n && !(i in t);) i++;
      if (i >= n) throw new TypeError("Réduction de tableau vide sans valeur initiale");
      e = t[i++]
    }
    for (; i < n; i++) i in t && (e = r(e, t[i], i, t));
    return e
  }),
  function() {
    function r(r, e) {
      var t = r;
      "object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.acte = e() : t.acte = e()
    }
    return r
  }()(this, function() {
    function r() {
      "use strict";

      function r(r, e) {
        if (!(r instanceof e)) throw new TypeError("Cannot call a class as a function")
      }
      var e = e || {},
        t = [
          [2451623.80984, 365242.37404, .05169, -.00411, -57e-5],
          [2451716.56767, 365241.62603, .00325, .00888, -3e-4],
          [2451810.21715, 365242.01767, -.11575, .00337, 78e-5],
          [2451900.05952, 365242.74049, -.06223, -.00823, 32e-5]
        ],
        n = 8e3,
        i = 365.24219878,
        a = [-171996, -1742, 92095, 89, -13187, -16, 5736, -31, -2274, -2, 977, -5, 2062, 2, -895, 5, 1426, -34, 54, -1, 712, 1, -7, 0, -517, 12, 224, -6, -386, -4, 200, 0, -301, 0, 129, -1, 217, -5, -95, 3, -158, 0, 0, 0, 129, 1, -70, 0, 123, 0, -53, 0, 63, 0, 0, 0, 63, 1, -33, 0, -59, 0, 26, 0, -58,...