{"size": 861, "ext": "js", "max_stars_repo_path": "public/static/js/html2canvas.js", "max_stars_repo_name": "imkeys/vue-baidumap", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/static/js/html2canvas.js", "max_issues_repo_name": "imkeys/vue-baidumap", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/static/js/html2canvas.js", "max_forks_repo_name": "imkeys/vue-baidumap", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.3235294118, "max_line_length": 60, "alphanum_fraction": 0.6178861789}
(function (window, document) {
  'use strict'
  var _html2canvas = {}
  _html2canvas.utils = {}

  _html2canvas.utils.Log = () => {
    // console.log('log: 触发程序')
  }
  _html2canvas.utils.Extend = function (options, defaults) {
    for (var key in options) {
      if (options.hasOwnProperty(key)) {
        defaults[key] = options[key]
      }
    }
    return defaults
  }
  _html2canvas.utils.Canvas = (opts) => {
    let options = {
      name: 'liqingyun',
      age: 18,
      school: 'qinghua'
    }
    options = _html2canvas.utils.Extend(opts, options)
    console.log('canvas: 触发', options)
  }

  window.html2canvas = (elements, opts) => {
    // console.log('elements: ', elements)
    // console.log('opts: ', opts)
  }
  window.html2canvas.log = _html2canvas.utils.Log
  window.html2canvas.canvas = _html2canvas.utils.Canvas
})(window, document)
