code
stringlengths
2
1.05M
'use strict'; // gulp var gulp = require('gulp'); var paths = gulp.paths; var options = gulp.options; // plugins var $ = require('gulp-load-plugins')(); // modules var wiredep = require('wiredep'); var mainBowerFiles = require('main-bower-files'); // inject app/**/*.js, bower components, css into index.html // inject ...
/* eslint-disable import/no-extraneous-dependencies, global-require */ const express = require('express'); const { each: parallel } = require('async'); const request = require('request-promise'); const fs = require('fs'); const config = require('./utils/Configuration'); const NODE_ENV = config.get('NODE_ENV') || 'deve...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * Used internally by the KeyCombo class. * * @function Phaser.Input.Keyboard.KeyCombo.ResetKeyCombo ...
/* jshint node: true */ 'use strict'; module.exports = { name: 'ember-enterprise-button' };
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'div', 'pt-br', { IdInputLabel: 'Id', advisoryTitleInputLabel: 'Título Consulta', cssClassInputLabel: 'Classes de CSS', edit: 'Editar Div'...
(function () { 'use strict'; angular .module('app') .factory('APIBannerService', APIBannerService); APIBannerService.$inject = ['$http', '$q', '$timeout', 'CacheFactory', 'ENUM']; function APIBannerService($http, $q, $timeout, CacheFactory, ENUM) { var service = new APIEndpoint( $ht...
/* Add js reporter for sauce */ jasmine.getEnv().addReporter(new jasmine.JSReporter2()); /* record log messages for testing */ var logMessages = []; window.less = window.less || {}; less.loggers = [ { info: function (msg) { logMessages.push(msg); }, debug: function (msg) { ...
/*! * Native JavaScript for Bootstrap - ScrollSpy v4.1.0alpha1 (https://thednp.github.io/bootstrap.native/) * Copyright 2015-2022 © dnp_theme * Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE) */ /** * Shortcut for `HTMLElement.getAttribute()` method. * @param {HTMLElement ...
({ //lookup already initialized initStatus: {}, init: function(cmp) { var required = cmp.get('v.required'); if (required) { var cmpTarget = cmp.find('lookup-form-element'); $A.util.addClass(cmpTarget, 'slds-is-required'); } }, /** * Perform the SObject search via an Apex Controlle...
// just a placeholder
test('.times()', 1, function () { var p = new MathLib.Permutation([2, 0, 1]), q = new MathLib.Permutation([0, 2, 1]); deepEqual(p.times(q), new MathLib.Permutation([2, 1, 0]), 'Testing .times()'); });
import $ from "jquery"; import Config from "../config"; export default class Remote { constructor () { console.info("Remote init..."); this.socket = io.connect("http://" + Config.instance.host + ":" + Config.instance.port); this.addEventListeners(); } addEventListeners () { ...
'use strict'; process.env.NODE_ENV = process.env.NODE_ENV || 'development'; var _ = require('lodash'); var async = require('async'); var FeedParser = require('feedparser'); var request = require('request'); var mongoose = require('mongoose'); var config = require('../server/config/environment'); // Connect to data...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { elementTypeAcceptingRef } from '@material-ui/utils'; impor...
// JavaScript Variables and Objects // I paired [by myself, with:] on this challenge. // __________________________________________ // Write your code below. var secretNumber = 7; var password = "just open the door"; var allowedIn = false; var members = ['John', 'Bill', 'Bob', 'Mary']; // ____________________...
search_result['1076']=["topic_0000000000000279.html","tlece_ApplicantCvVideos.OriginalFileSize Property",""];
AutoForm.addHooks(['createGroup'],{ before: { insert: function(doc) { // insert owner (= user id ) and group id doc.owner = Meteor.userId(); return doc; } }, onSuccess: function(formType, result) { Router.go('groups'); } }); // done with ma...
import Vuebbble from './components/Vuebbble.vue'; export default { install(Vue, options) { Vue.component('vuebbble', Vuebbble); }, }; export { Vuebbble };
import React from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import * as CONST from '../../constants/constants'; import SelectDropdown from '../common/Select'; import {bindActionCreators} from 'redux'; import * as EpicActions from '../../actions/EpicActions'; import Moment from 'm...
var Promise = require('promise'); var superagent = require('superagent-promise')(require('superagent'), Promise); var URL = 'https://api.tfl.gov.uk/Place' module.exports = function(appId, appKey) { var auth = { app_id: appId, app_key: appKey }; var place = function place(options) { return superagent.get(UR...
import React, { Component } from 'react'; import styles from './logo.scss'; export default class Logo extends Component { constructor(props) { super(props); } render() { return ( <section className={styles.logo} > <h1>useless app</h1> <h2>some w...
/*!! * @atlassian/aui - Atlassian User Interface Framework * @version v7.9.11-alpha-1 * @link https://docs.atlassian.com/aui/latest/ * @license SEE LICENSE IN LICENSE.md * @author Atlassian Pty Ltd. */ // src/js/aui/internal/deprecation/deprecated-adg2-icons.js (typeof window === 'undefined' ? global : window).__...
export default { component: () => import('./index'), config: () => ({ name: '轮播图', desc: '滑块视图容器', component: 'swiper', content: { component: 'swiperDesign', data: { items: [], interval: '5000' // 自动切换时间间隔 } }, style: [ // 那些样式是可以编辑的 { key: "i...
/* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
define(function(require, exports, module) { var Event = require("event"); var connection = require("connection").getConnection(); var ChatStatus = require("../mods/chatstatus"); var Message = require("../mods/message"); var chatPack = require("./pack"); Event.on({ "connect/message/send": function(event, me...
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['1984',"Tlece.Recruitment.Models.Company Namespace","topic_0000000000000699.html"]];
search_result['54']=["topic_0000000000000014_events--.html","DummyController Events",""];
'use strict'; // Use applicaion configuration module to register a new module ApplicationConfiguration.registerModule('ranks');
define(function(require, exports, module){ /** * 日期格式化工具 * @type {Object} */ module.exports = { //格式化数字 formatPadLeft: function(v){ v = v.toString(); return (v.length >= 2 ? v : '0'+v); }, /** * 将Date转化为分日期和时间的JSON格式 * @param {Date} date eg:Tue Aug 26 2014 11:15:00 GMT+0800 ...
var electronify = require('electronify-server'); electronify({ url: 'https://google.com', noServer: true, debug: true });
var shirts = require('../shared-modules/shirts.js'); exports.list = function (req, res) { var categoryId = req.route.params.categoryId; res.send(shirts.getShirtsByCategory(categoryId)); };
// @flow import moment from 'moment'; const m: moment = moment.utc(); const m1: moment = m.add(2, 'day'); const m2: moment = m.subtract(1, 's'); const m3: moment = moment([123, 123]); const A: Date = m.toDate(); const x: string = m.toISOString(); //$ExpectError moment.unix('1234'); // $ExpectError moment().millisecon...
(function(window) { function assign(source, target) { var keys = Object.keys(target); keys.forEach(function(key) { source[key] = target[key]; }); return source; } function testGlobal(method) { return this[method] === undefined; } function testEs...
'use strict'; /* Copyright 2020, Ably Ably JavaScript Library v1.1.24 https://github.com/ably/ably-js Ably Realtime Messaging https://www.ably.io Released under the Apache Licence v2.0 */ (function(){function ja(f){if("string"!==typeof f)throw new p("host must be a string; was a "+typeof f,4E4,400);if(!f.lengt...
/** * @license Highcharts JS v8.0.2 (2020-03-03) * * Plugin for displaying a message when there is no data visible in chart. * * (c) 2010-2019 Highsoft AS * Author: Oystein Moseng * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.autoComplete = factory()); }(this, (function ()...
(function ($) { // register namespace $.extend(true, window, { "Slick": { "Plugins": { "CellMenu": CellMenu } } }); /*** * A plugin to add Menu on a Cell click (click on the cell that has the cellMenu object defined) * The "cellMenu" is defined in a Column Definition object ...
/* Highcharts Stock JS v9.2.1 (2021-08-19) Indicator series type for Highcharts Stock (c) 2010-2021 Karol Kolodziej License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts...
import * as i0 from '@angular/core'; import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChildren, NgModule } from '@angular/core'; import { trigger, state, style, transition, animate } from '@angular/animations'; import * as i1 from '@angular/common'; import { CommonModu...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Appbase = factory()); }(this, (function () { 'use strict'; function URL(url) { var pattern = RegExp("^...
/*! lightgallery - v1.6.14 - 2020-04-21 * http://sachinchoolur.github.io/lightGallery/ * Copyright (c) 2020 Sachin N; Licensed GPLv3 */ (function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module unless amdModuleId is set define(['jquery'], function (a...
import { _ as _defineProperty, a as _objectSpread2, b as _typeof } from './chunk-2452e3d3.js'; /** * +/- function to native math sign */ function signPoly(value) { if (value < 0) return -1; return value > 0 ? 1 : 0; } var sign = Math.sign || signPoly; /** * Checks if the flag is set * @param val * @para...
'use strict' const cli = require('heroku-cli-util') async function run(context, heroku) { const host = require('../../lib/host') const util = require('../../lib/util') const fetcher = require('../../lib/fetcher')(heroku) const { app, args } = context const db = await fetcher.addon(app, args.database) if...
/** * * send the currently active app to the background. * * @param {Number} seconds number of seconds after the app gets send to background * * @see https://github.com/appium/appium/blob/master/docs/en/appium-bindings.md#background-app * @type appium * */ module.exports = function backgroundApp(seconds) { ...
version https://git-lfs.github.com/spec/v1 oid sha256:a168cb11e33db0bb886d21fee54ed104df0176f7aa2ca2417fe7b1d1c7fcfb6f size 421
var sub = require('./sub'); sub('index');
(function() { 'use strict'; angular .module('app.shared') .factory('DictionaryService', DictionaryService); DictionaryService.$inject = []; /** * 对应后台字典表 * * @returns */ function DictionaryService() { var dictionaries = { //商品类型 ...
export default function(options) { var syncExternalChanges = (options || {}).syncExternalChanges || Ember.K; describe('#persist', function() { it('persists an object', function() { this.store.persist({ key: 'value' }); expect(this.store.restore()).to.eql({ key: 'value' }); }); it('overrid...
/** * */ 'use strict'; module.exports = function (id, option) { };
ModuleUtilisateur.SearchModule = ModuleUtilisateur.SearchModule || (function () { var _args; var self = this; return { init: function (args) { _args = $.extend({ }, args); }, start: function () { //Critères de recherche var...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4 11H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1z" }), 'DoNotDisturbOnRound...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
module.exports = function ({ $incremental, $lookup }) { return { object: function () { return function () { return function ($buffer, $start, $end) { let object = { first: 0, second: 0, se...
/*! * JSHint, by JSHint Community. * * Licensed under the same slightly modified MIT license that JSLint is. * It stops evil-doers everywhere. * * JSHint is a derivative work of JSLint: * * Copyright (c) 2002 Douglas Crockford (www.JSLint.com) * * Permission is hereby granted, free of charge, to any pers...
import { Injectable } from '@angular/core'; var ModalOptions = (function () { function ModalOptions() { } ModalOptions.decorators = [ { type: Injectable }, ]; /** @nocollapse */ ModalOptions.ctorParameters = function () { return []; }; return ModalOptions; }()); export { ModalOptions...
version https://git-lfs.github.com/spec/v1 oid sha256:22320075cbc4322db6712fe9f240a55468ee2a7b857b35298a6c988f3a122ece size 52548
lychee.define('studio.codec.SPRITE').tags({ platform: 'html' }).supports((lychee, global) => { /* * XXX: typeof CanvasRenderingContext2D is: * > function in Chrome, Firefox, IE10 * > object in Safari, Safari Mobile */ if ( typeof global.document !== 'undefined' && typeof global.document.createElement ...
/*! <%= pkg.title %> v<%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd") %>) <%= pkg.homepage %> Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> (<%= pkg.author.url %>). Released under <%= pkg.license %> license. https://raw.github.com/stevenbenner/jquery-powertip/master/<%= files....
Rooms = new Meteor.Collection('rooms');
steal("can/util", function( can ) { // ## view.js // `can.view` // _Templating abstraction._ var isFunction = can.isFunction, makeArray = can.makeArray, // Used for hookup `id`s. hookupId = 1, /** * @add can.view */ $view = can.view = function(view, data, helpers, callback){ // If helpers is a `fun...
(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports", "./nav-util", "../util/util...
/** * @name replace * @category String * @since v0.17.0 * @description * Replaces a matched string/regular expression in a string with another value. * * @example * replace('Scott', 'Schrute', 'Dwight Scott') // => 'Dwight Schrute' * replace(/hi/g, 'hey', 'hi hi hi') // => 'hey hey hey' */ export de...
export function clickOutside(node) { const handleClick = (event) => { if (!node.contains(event.target)) { node.dispatchEvent(new CustomEvent("outclick")); } }; document.addEventListener("click", handleClick, true); return { destroy() { document.removeEventListener("click", handleClick, true); } }; ...
var exec = {} , concurrent = {} , nodemon = {} , startTasks = [] , concurrentTasks = [] , watch = {} , sass={} , jade={} , concat = {} , babel = { options: { sourceMap: true, presets: ['es2015'] } } ; /* for jade to html */ jade.html= { expand: true, src: ['...
{ "name": "backbone.viewstack.js", "url": "https://github.com/Creative-Licence-Digital/backbone.viewstack.git" }
import React, { Component } from "react" import Modal from "react-modal" import { inject, observer } from "mobx-react" import AppStyles from "../Theme/AppStyles" import Colors from "../Theme/Colors" const INPUT_PLACEHOLDER = "smurfs.7.name" const ESCAPE_KEYSTROKE = "Esc" const ESCAPE_HINT = "OMG Cancel" const ENTER_KE...
/*global Code*/ define([ 'joshlib!ui/list', 'vendor/klass', 'vendor/photoswipe', 'joshlib!vendor/underscore' ], function (UIList, Klass, Photoswipe, _) { var UIImageGallery = UIList.extend({ /** * View short name */ name: 'imagegallery', initialize: function(options) { this.phot...
version https://git-lfs.github.com/spec/v1 oid sha256:7739c70cd8ccbf27db7ab2e815103e2935b7a83d6a08634cac98bfb28497b596 size 2308
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("specialchar","sr-latn",{euro:"Znak eura",lsquo:"Levi simpli znak navoda",rsquo:"Desni simpli znak navoda",ldquo:"Levi dupli znak ...
// @flow import type { Global } from 'types'; export default class AbstractAgent { _win: Global; constructor(win: Global) { this._win = win; } }
var mongoose = require('mongoose'); mongoose.Promise = require('bluebird'); var Schema = mongoose.Schema; var sampleSchema = require('./Sample'); var requestSchema = require('./Request'); // validator functions var mesKindValidator = function (val) { return val === 'qualitative' || val === 'list' || val === 'numeri...
/* jshint latedef:false */ /* jshint forin:false */ /* jshint noempty:false */ // // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of th...
import path from 'path'; import {readdirSync, writeFileSync, existsSync, mkdirSync} from 'fs'; const ROOT_DIR = path.resolve(__dirname, '..'); const SRC_DIR = path.resolve(ROOT_DIR, 'src'); const FILENAME = path.relative(ROOT_DIR, __filename); const DISCLAIMER = `AUTOMATICALLY GENERATED BY ${FILENAME}`; const SRC_VISI...
import React from 'react'; import ReactModal from 'react-modal'; const Modal = (props) => { return ( <ReactModal isOpen={props.isOpen} contentLabel={props.contentLabel} className="pes-modal" overlayClassName="pes-modal-overlay" > {props.ch...
if (typeof chai === 'undefined') { console.log('This example requires chai to be installed adjacent to mocha-casperjs') casper.exit(-1) } describe('Google searching', function() { before(function() { casper.start('http://www.google.fr/') }) it('should retrieve 10 or more results', function() { caspe...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (response) { if (response.length) { response.forEach(function (r) { if (response.error) { throw response.error; } }); } if (response.error) { throw response.error; } };
import { toggleOverlay, togglePlaylistManager } from '../../actions/OverlayActionCreators'; import { selectPlaylist } from '../../actions/PlaylistActionCreators'; export function openPlaylist(playlistID) { return (dispatch) => { dispatch(togglePlaylistManager()); dispatch(selectPlaylist(playlistID)); }; } ...
define(function() { /** * Looks up latLon coordinates for named locations * * @class aeris.geocode.GeocodeServiceInterface * @interface * * @constructor */ var GeocodeServiceInterface = function() {}; /** * @param {string} location The location to geocode. * @return {aeris.Promise} A p...
version https://git-lfs.github.com/spec/v1 oid sha256:c2c62e783a72355fdcac3188d92f1d28ce4247cd65df43263e949a357baa9a59 size 1390
'use strict'; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Any commits to this file should be reviewed with security in mind. * * Changes to this file can potentially create security vulnerabilities. * * An approval from 2 Core members with history of modifying ...
/** @license // idle.js (c) Alexios Chouchoulas 2009 http://www.bedroomlan.org/coding/detecting-%E2%80%98idle%E2%80%99-and-%E2%80%98away%E2%80%99-timeouts-javascript // Released under the terms of the GNU Public License version 2.0 (or later). */http://www.bedroomlan.org/coding/detecting-%E2%80%98idle%E2%80%99-and-%E2%...
/** * Module dependencies. */ var jade = require('../') , assert = require('assert') , fs = require('fs'); // Shortcut function getError(str, options){ try { jade.render(str, options); } catch (ex) { return ex; } throw new Error('Input was supposed to result in an error.'); } function getFileE...
"use strict" const mobx = require("../../../src/mobx.ts") const set = mobx.observable.set const autorun = mobx.autorun const iterall = require("iterall") test("set crud", function () { const events = [] const s = set([1]) mobx.observe(s, change => { expect(change.observableKind).toEqual("set") ...
import BaseEndpoint from '../apiBase/BaseEndpoint'; import Report from '../models/report'; export default class ReportsEndpoint extends BaseEndpoint { model = Report; move = this.notImplemented('move'); copy = this.notImplemented('copy'); get = this.notImplemented('get'); put = this.notImplemented('put'); ...
import _ from 'lodash'; import module from '../module'; module.service('UpgradeDataManager', (CurrencyDataManager, $localStorage) => { if(!$localStorage.upgrades) { $localStorage.upgrades = []; } const upgrades = $localStorage.upgrades; const _hasUpgrade = (upgradeName) => _.contains(upgrades, upgradeN...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ ret...
var Vue = require('vue'); var GroupView = function(socket, group){ return new Vue({ el:'#group-info-wrapper', data:{ state:group.state }, methods:{ arrange:function(targetId, groupId){ group.arrangeToGroup(targetId, groupId); }, chat:function(clientId){ group.chatWith(clientId); } } ...
var cocktail = require('cocktail'); //Add Logger annotation. var Logger = require('../annotations/Logger'); cocktail.use(Logger); //Using Behavior class. var Behavior = require('./Behavior'); var Page = require('./Page'); /* * Adding this trait lets the constructor accept an object as parameter. * Automaticaly, i...
/* 基本测试,手动路由 manual routrer 例子 */ var should = require('should'); var request = require('request'); var path = require('path'); module.exports.rrestjsconfig = { listenPort:3000, baseDir: path.join(__dirname) }; module.exports.rrestjsconfig_dev = { listenPort:4000, baseDir: path.join(__dirname) }; ...
const express = require('express'), Count = require('../models/count') module.exports = (() => { 'use strict'; const router = express.Router(); const countProjection = { __v: false, _id: false } router.get('/', (req, res) => { Count.findOne({}, countProjection, (err, coun...
'use strict'; /** * @module gallery-icello-button */ var BASENAME = 'icello-button', getCN = Y.ClassNameManager.getClassName, getCss = function (name) { return getCN(BASENAME, name); }, getIconCss = function (name) { return getCN(BASENAME, 'icon', name); }, css = { DISABLED: getCss('disable...
'use strict'; (function() { // Owners Controller Spec describe('Owners Controller Tests', function() { // Initialize global variables var OwnersController, scope, $httpBackend, $stateParams, $location; // The $resource service augments the response object with methods for updating and deleting the res...
var xmpp = require('node-xmpp'); var ltx = require('ltx'); // http://xmpp.org/extensions/xep-0160.html // TODO // Deal with 5.1.4. Directed Presence. // PROBLEM : HOW DO WE INTERRUPT A STANZA? // IMPLEMENT PRIORITY (IN ROUTER AS WELL!) // function Presence() { client.initial_presence_sent = false; cl...
'use strict'; var assert = assert || require('assert'), jsen = jsen || require('../index.js'); describe('build', function () { it('validator function has a build property', function () { var validate = jsen({}); assert(typeof validate.build === 'function'); assert.strictEqual(validate...
/** * -------------------------------------------------------------------------- * Bootstrap (v4.0.0-alpha.2): util.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ const Util = (($) = > { /** ...
'use strict'; const ejs = require('ejs'); function ejsRenderer(data, locals) { return ejs.render(data.text, Object.assign({filename: data.path}, locals)); } ejsRenderer.compile = function(data) { return ejs.compile(data.text, { filename: data.path }); }; module.exports = ejsRenderer;
'use strict'; var memoize = require('memoizee/plain') , validDbjs = require('dbjs/valid-dbjs'); module.exports = memoize(function (db) { return validDbjs(db).DateTime.extend('Date', { step: { value: 1000 * 60 * 60 * 24 }, _validateCreate_: { value: function (value/*[, mth[, d[, h]]]*/) { var len = argumen...
/** * fis install package.json * fis install package * fis install package@version */ /** * todo : * 1. 对于已存在的缺少版本检测功能 */ var fs = require("fs"), request = require('request'), AdmZip = require('adm-zip'), async = require('async'), exec = require('child_process').exec, debug = require('debu...
var Hadean=window.Hadean||{};"undefined"==typeof Hadean.Admin&&(Hadean.Admin={});var kk=null;"undefined"==typeof Hadean.Admin.properties&&(Hadean.Admin.properties={initialize:function(){jQuery(".chzn-select").data("placeholder","Select Properties...").chosen()}},jQuery(function(){Hadean.Admin.properties.initialize()}))...
version https://git-lfs.github.com/spec/v1 oid sha256:5dfc928bbf13d6be3eecd779b6a141133319a3dcbd0c52ce1b85cee2c885a5e9 size 162300