<commit_before>/*
 author: montage  date: 2012/08/01
 */
(function (factory) {
  if (typeof define === 'function' && define.amd) {
    define(factory); // AMD support for RequireJS etc.
  } else {
    factory();
  }
}(function () {
  String.prototype.format = function () {
    var args = arguments;
    return this.replace(/\{(\d)\}/g, function () {
      return args[arguments[1]];
    });
  };

  var doc = window.document,
    defaults = {
      //message: 'Loading...',
      zIndex: 100,
      css: {
        position: 'fixed'
      },
      overlayCss: {
        backgroundColor: '#000',
        opacity: 0.4,
        position: 'fixed',
        left: 0,
        top: 0,
        width: '100%',
        height: '100%'
      },
      pos: 'fixed',
      overlayClick: false,
      needOverlay: true,
      onOpen: null,
      onClose: null,
      resetForm: false,
      destroy: false
    },

    maskui = function () {};

  maskui.queue = [];		//存放弹出层

  maskui.queueClear = function () {
    $.each(maskui.queue, function (i, v) {
      v.hide();
    });
    maskui.queue = [];
  };

  maskui.inQueue = function(){
    $.each(maskui.queue, function (i, v) {
      v.hide();
    });
    maskui.queue = [];
  }

  maskui.prototype = {
    open: function (o) {

      var _ui, el = o.elem;

      if (typeof el === 'string' && !o.content) {
        _ui = $('#' + el);<commit_msg>del maskui.inQueue<commit_after>/*
 author: montage  date: 2012/08/01
 */
(function (factory) {
  if (typeof define === 'function' && define.amd) {
    define(factory); // AMD support for RequireJS etc.
  } else {
    factory();
  }
}(function () {
  String.prototype.format = function () {
    var args = arguments;
    return this.replace(/\{(\d)\}/g, function () {
      return args[arguments[1]];
    });
  };

  var doc = window.document,
    defaults = {
      //message: 'Loading...',
      zIndex: 100,
      css: {
        position: 'fixed'
      },
      overlayCss: {
        backgroundColor: '#000',
        opacity: 0.4,
        position: 'fixed',
        left: 0,
        top: 0,
        width: '100%',
        height: '100%'
      },
      pos: 'fixed',
      overlayClick: false,
      needOverlay: true,
      onOpen: null,
      onClose: null,
      resetForm: false,
      destroy: false
    },

    maskui = function () {};

  maskui.queue = [];		//存放弹出层

  maskui.queueClear = function () {
    $.each(maskui.queue, function (i, v) {
      v.hide();
    });
    maskui.queue = [];
  };

//  maskui.inQueue = function(){
//
//  }

  maskui.prototype = {
    open: function (o) {

      var _ui, el = o.elem;

      if (typeof el === 'string' && !o.content) {
        _ui = $('#' + el);
{'fraction_non_alphanumeric': 0.17708333333333334, 'fraction_numerical': 0.018601190476190476, 'mean_word_length': 1.8913978494623656, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4279926', 'n_tokens_mistral': 956, 'n_tokens_neox': 900, 'n_words': 206}