code
stringlengths
2
1.05M
var gulp = require('gulp'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var connect = require('gulp-connect'); var watch = require('gulp-watch'); var colors = require('colors'); gulp.task('build', function() { gulp.src([ './src/js/delegate-service.js', './src/js/pdf-viewer-deleg...
var EditableTable = function () { return { //main function to initiate the module init: function () { function restoreRow(oTable, nRow) { var aData = oTable.fnGetData(nRow); var jqTds = $('>td', nRow); for (var i = 0, iLen = jqTds.length...
App.SongsIndexRoute = Ember.Route.extend({ model: function() { return this.get('store').findAll('song'); } });
/** * * InlineInputField * */ import React from 'react'; import PropTypes from 'prop-types'; import { MediTheme } from 'utils/theme'; import TextFieldWrapper from './Wrapper'; // input styles const floatingColor = { color: MediTheme.palette.accent1Color, borderColor: MediTheme.palette.accent1Color, }; class I...
import React from 'react' import { connect } from 'react-redux' import Typography from 'material-ui/Typography' import returnWinnerStyle from './returnWinnerStyle' import returnDissentingAdjudicatorStyle from './returnDissentingAdjudicatorStyle' export default connect(mapStateToProps)(({ breakRoom, breakBallotsT...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom')) : typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom'], factory) : (global = global || self, factory(global.ReactBootstrapTypeahead...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
import SliderAutoplay from './slider-autoplay'; import SliderDrag from './slider-drag'; import SliderNav from './slider-nav'; import {$, assign, clamp, fastdom, getIndex, hasClass, isNumber, isRtl, Promise, removeClass, toNodes, trigger} from 'uikit-util'; export default { mixins: [SliderAutoplay, SliderDrag, Sli...
module.exports={A:{A:{"2":"K C G E A B CB"},B:{"1":"D u Y I M H"},C:{"1":"0 2 3 4 5 6 7 j k l m n o p q r s t y z v","2":"1 VB F J K C G E A B D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i TB SB"},D:{"1":"0 2 3 4 5 6 7 k l m n o p q r s t y z v HB g DB XB EB FB","2":"F J K C G E A B D u Y I M H N O P Q R S T ...
var shouldArr = [100, 100, 100, 255, 100, 100, 100, 255, 100, 100, 100, 255, 100, 100, 100, 255]; var tempArr = [50, 100, 150, 255, 50, 100, 150, 255, 50, 100, 150, 255, 50, 100, 150, 255]; describe('ColorChanger', function () { describe('changeColor', function () { it('should equal [100, 100, 100, 255]', fu...
// nothing to see here var chai = require('chai'); var should = chai.should(); var name = 'peter parker'; describe('BDD', function() { describe('Check the type', function() { it('Test for string', function() { name.should.be.a('string'); }); }); }); describe('BDD', function() { describe('Is the nam...
// Rule Test Cases // ----------------------------- // Modules Dependencies: // - Assert (http://nodejs.org/api/assert.html) var assert = require('assert'); // Require basic config files and DB connection require('../../../utils/dbconnect'); // Global Variables for the test case var Rule, rule; // Unit Tests descr...
//在about也页面上显示的幸运话 var fortuneCookies = [ "Conquer your fears or they will conquer you.", "Rivers need springs.", "Do not fear what you don't konow", "You will have a pleasant surprise", "wheneven possible, keep is simple" ]; exports.getFortune = function () { var idx = Math.floor(Math.random() * fortuneCookies....
var expect = require('chai').expect; var _ = require('lodash'); var getReadableStream = require('../../_utilities/getReadableStream.js'); var runBasicStreamTests = require('../../_utilities/runBasicStreamTests.js'); var waitObj = require('../../../').wait.obj; describe('[v2-waitObj]', function () { var data = ['ite...
/** * @license Copyright (c) 2013, Viet Trinh All Rights Reserved. * Available via MIT license. */ /** * A server users users_view_server handler. */ define([ 'framework/request/base_request_handler', '../users_view_server_request', 'framework/core/deferred/deferred', 'framework/core/utils/clazz' ], fun...
/*global moment: false*/ $(function () { var sub = $('#sub').prop('checked'); $('#modify').click(function (e) { if ($('#sub').prop('checked') === sub) { $('#message').append('<div class="alert alert-info"><button class="close" data-dismiss="alert">x</button>The subscription state was not changed.</div>')...
'use strict'; var string = /"([^"]+)?"/; module.exports = [ {type: 'command', regex: /(?:click|close|find|get|include|quit|refresh|set|sleep|submit|type)(?=\s|$)/}, {type: 'in', regex: /(?:in)(?=\s)/}, {type: 'operator', regex: /(?:equal|or|and)(?=\s)/}, {type: 'string', regex: string}, {type: 'number', reg...
/*! * jquery.fancytree.js * Tree view control with support for lazy loading and much more. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2020, Martin Wendt (https://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.37.0 * @date 202...
require('fs').readdirSync(__dirname + '/').forEach(function(file) { if (file.match(/.+\.js/g) !== null && file !== 'index.js') { var name = file.replace(/\.js$/, ''); module.exports[name] = require('./' + file); } })
import React, { Component } from 'react'; import PropTypes from "prop-types"; import {Form ,Button, Message} from "semantic-ui-react"; import Validator from "validator" ; import InlineError from "../message/InlineError"; class SignupForm extends Component { state = { data :{ email : "", ...
/** * @license Highcharts JS v9.0.0 (2021-02-02) * * (c) 2009-2019 Highsoft AS * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports = factory; } else if (typeof define...
describe('PhoneListCtrl', function() { beforeEach(module('phonecatApp')); it('should create "phones" model with 3 phones' , inject(function($controller){ var scope = {}, ctrl = $controller('PhoneListCtrl', {$scope:scope}); expect(scope.phones.length).toBe(3); })); });
/** * Created by jiangli on 15/1/6. */ "use strict"; var request = require('request'); var crypto = require('crypto'); /** * [_parseIqiyi 解析爱奇艺视频] * @param [type] $url [description] * @return [type] [description] */ module.exports = function($url,callback){ $url = $url.replace(/www/,'m'); //这里把地址转换成手...
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['2267',"Tlece.Recruitment.Models.RecruitmentPlanning Namespace","topic_0000000000000692.html"],['2680',"UserDto Class","topic_000000000000090A.html"],['2681',"Properties","topic_000000000000090A_props--.html"],['2685...
/* * Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com) * * openAUSIAS: The stunning micro-library that helps you to develop easily * AJAX web applications by using Java and jQuery * openAUSIAS is distributed under the MIT License (MIT) * Sources at https://github.com/raf...
$(document).ready(function () { //ko.applyBindings($ca.user, $("#divLoginOnPanel-j")[0]); amplify.subscribe($ca.notification.serverUserAuthenticatedEvent, function () { $.post("/account/loginonpanel", function (data) { $('#divMenuLoginOnPanelHolder-j').html(data); $("#layou...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.8.0 (2021-05-06) */ (function () { 'use strict'; ...
// Download the Node helper library from twilio.com/docs/node/install // These consts are your accountSid and authToken from https://www.twilio.com/console // To set up environmental variables, see http://twil.io/secure const accountSid = process.env.TWILIO_ACCOUNT_SID; const authToken = process.env.TWILIO_AUTH_TOKEN; ...
const fs = require('fs'); const path = require('path'); const fetch = require('node-fetch'); const outDir = __dirname; const includeList = [ "cyclosm", "osmbe", "osmbe-fr", "osmbe-nl", "osmfr-basque", "osmfr-breton", "osmfr-occitan", "OpenStreetMap-turistautak", "hu-hillshade", ...
/*! * froala_editor v3.2.3 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) : typeof define === 'function...
import ApiBase from "./apiBase.js"; const urlbase = "api/budget/"; export default class BudgetApi extends ApiBase { static List() { return super.GET(urlbase + "list", result => result.months); } static LoadActive(month) { return super.GETwithParams(urlbase + "active", { month: month }, result => { return { ...
import { applyMiddleware, compose, createStore } from 'redux'; import rootReducer from '../modules'; import initialState from './initialState'; import middleware from '../middleware'; // ====================================================== // Store Enhancers // ====================================================== ...
search_result['4700']=["topic_0000000000000B6B.html","VacancyService.GetStage Method",""];
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(r...
export const ADD_TODO = 'ADD_TODO' export const TOGGLE_TODO = 'TOGGLE_TODO' export const SET_VISIBILITY_FILTER = 'SET_VISIBILITY_FILTER' export const VisibilityFilters = { SHOW_ALL: 'SHOW_ALL', SHOW_COMPLETED: 'SHOW_COMPLETED', SHOW_ACTIVE: 'SHOW_ACTIVE', }
/* * check parsing of a (corrupt?) XML file * */ const fs = require('fs'); const parser = require("xml2json"); var json; let xml = fs.readFileSync("/tmp/test.rss"); try { json = parser.toJson(xml); } catch (error) { console.error(error); process.exit(1); } console.log(json);
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.window = global.window || {})); }(this, (function (exports) { 'use strict'; functi...
/** * auth0-js v9.11.3 * Author: Auth0 * Date: 2019-08-05 * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.CordovaAuth0Pl...
/*! Select2 4.1.0-beta.0 | https://github.com/select2/select2/blob/master/LICENSE.md */ !function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(n){return ...
define(["./PrimitivePipeline-c76ef883","./createTaskProcessorWorker","./Transforms-79117a7b","./Cartesian2-8646c5a1","./Check-24483042","./when-54335d57","./Math-d6182036","./RuntimeError-88a32665","./ComponentDatatype-1a100acd","./WebGLConstants-95ceb4e9","./GeometryAttribute-374f805d","./GeometryAttributes-caa08d6c",...
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; impo...
typeof window !== "undefined" && (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["Hls"] = f...
// GLOBAL VARIABLES var quizQuestions = []; //populated with JSON object that includes the questions and answers for the qset to be quizzed on var quizAllIndex = 0; //counts how many questions have been already quizzed and allows modal to close when you reach end of quizQuestions array function initQsets() { $('#qse...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M19.71 9.71 22 12V6h-6l2.29 2.29-4.17 4.17c-.39.39-1.02.39-1.41 0l-1.17-1.17c-1.17-1.17-3.07-1.17-4.24 0L2 16.59 3.41 18l5.29-5.29c.39-.39 1.02-.39 1.41 0l1...
$(document).ready(function () { // Detect IE (uses jquery.browser plugin), and add a class to the body element so we can write // IE-specific CSS if needed. if ($.browser.msie) { $("body").addClass("ie"); } // Move sidebar content up when header is scrolled out of view var updateSidebar...
if(typeof exports === 'object') { var assert = require("assert"); var alasql = require('..'); } else { __dirname = '.'; }; if(typeof exports == 'object') { describe('Test 262 Leaking of "key" variable to global scope', function() { it('1. Sqllogic', function(done) { mytable = [ { name: 'Hello' }, { name: '...
GS.EntityTools = function(mapManager, actionLog, inCanvas) { GS.LayerObjectTools.call(this, mapManager, actionLog, inCanvas); this.layer = GS.MapLayers.Entity; this.mousePressed = false; this.defaultEntity = Object.keys(GS.MapEntities)[0]; this.entity = this.defaultEntity; }; GS.EntityTools.prototype ...
version https://git-lfs.github.com/spec/v1 oid sha256:6abba8f898329bd32d1741da266f8f6320718dd260dca3a812722c75384d9fdd size 70945
// Generated by CoffeeScript 1.6.2 (function() { $(function() { //$('body').chardinJs(); $('a[data-toggle="chardinjs"]').on('click', function(e) { e.preventDefault(); if ($('.jumbotron img').is(':visible')) { return ($('body').data('chardinJs')).toggle(); } else { return $('....
/* */ exports.name = "tests/home";
var should = require('chai').should(); // eslint-disable-line describe('Excerpt', () => { var Hexo = require('../../../lib/hexo'); var hexo = new Hexo(); var excerpt = require('../../../lib/plugins/filter/after_post_render/excerpt').bind(hexo); it('without <!-- more -->', () => { var content = [ 'fo...
const PlotCard = require('../../plotcard.js'); class Confiscation extends PlotCard { setupCardAbilities() { this.whenRevealed({ target: { activePromptTitle: 'Select an attachment', cardCondition: card => this.cardCondition(card) }, handler...
/** * levels * ====== * * Технология переехала в пакет `enb-bem-techs`. */ var Level = require('../lib/levels/level'); var Levels = require('../lib/levels/levels'); var Vow = require('vow'); var VowFs = require('../lib/fs/async-fs'); var inherit = require('inherit'); var path = require('path'); module.exports = i...
define(['./_baseFindIndex', './_baseIteratee', './toInteger'], function(baseFindIndex, baseIteratee, toInteger) { /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeMax = Math.max; /** * This method is like `_.find` except that it returns the index of the first...
config = require('./lib/config'); var dashboard = require('./lib/dashboard'); var tracker = require('./lib/tracker'); var demo = require('./lib/demo'); // Setup dashboard port listener dashboard.listen(config.dashboard_port, config.dashboard_address); console.log("Dashboard listening on http://" + (config.dashboard_...
// Generated by CoffeeScript 1.6.3 (function() { var attached_live; attached_live = false; window.summarize = function(elements, options) { var handler; options = $.extend({ summary_length: 150, more_text: 'more' }, options); $(elements).each(function() { var $el, text; $...
import combineReducers from 'redux/lib/combineReducers'; import defaultState from './defaultState'; function deviceSpec(oState = defaultState.deviceSpec, action) { switch (action.type) { case 'UPDATE_WINDOW_SIZE': return action.deviceSpec; default: return oState; } } function playerState(oStat...
class C { #x = 1; #p = ({ #x: x }) }
var ProbeManager = require('../server/probe_manager'); var probeManager = new ProbeManager(); var config = { baudRate: 38400, mode: 'mitm', upstream: '/dev/ttyO2', downstream: '/dev/ttyO1' } probeManager.setOptions({ baudRate: config.baudRate, mode: config.mode }) probeManager.openProbe(config.upstream, ...
define(["app/app"], function(App) { "use strict"; App.Attachment = DS.Model.extend({ file: DS.attr('file'), // FormData File object url: DS.attr('string'), thumbnailUrl: DS.attr('string'), fileName: DS.attr('string'), fileSize: DS.attr('number'), mediaType: DS.attr('string'), title: DS...
/** * Created by xmc1993 on 2016/12/11. * * 云服务模块 * */
define([ 'jquery', 'underscore', 'backbone', 'app', 'simplemde', 'text!templates/projects/projectTemplate.html' ], function($, _, Backbone, app, SimpleMDE, projectTemplate) { var ProjectView = Backbone.View.extend({ el: $("#page"), events: { 'click #project-btn'...
(function() { var checkVersion = Dagaz.Model.checkVersion; Dagaz.Model.checkVersion = function(design, name, value) { if (name != "chaturaji-promotion") { checkVersion(design, name, value); } } var getType = function(design, board, player, pos) { var r = null; if (design.inZone(3, player, p...
var loaders = require("./loaders"); var BrowserSyncPlugin = require('browser-sync-webpack-plugin'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var webpack = require('webpack'); module.exports = { entry: ['./src/index.ts'], output: { filename: 'build.js', path: 'dist' }, reso...
var indexOf = require('./indexOf'); /** * Remove all instances of an item from array. */ /** * Description * @method removeAll * @param {} arr * @param {} item * @return */ function removeAll(arr, item){ var idx = indexOf(arr, item); while (idx !== -...
if (true) { console.log('work'); } else { console.log('sleep'); }
import initUserPopovers from '~/user_popovers'; import UsersCache from '~/lib/utils/users_cache'; describe('User Popovers', () => { const fixtureTemplate = 'merge_requests/diff_comment.html'; preloadFixtures(fixtureTemplate); const selector = '.js-user-link'; const dummyUser = { name: 'root' }; const dummy...
// /** // * Created by Ding-YH on 2015/9/29. // */ var main = function() { //$(".log").hide(); $(".shengchan").hide(); $("#tab01").click(function () { $(".shengchan").hide(); $(".caigou").show(); $("#tab02").removeClass(("active")); $("#tab01").addClass("active"); }); ...
const TimeFormats = { 'ms': { stringValue: 'ms', rawValue: 1 }, 's': { stringValue: 's', rawValue: 1000 }, 'm': { stringValue: 'min', rawValue: 1000 * 60 }, 'H': { stringValue: 'h', rawValue: 1000 * Math.pow(60, 2) } } class WatchSet { constructor (props) { this.be...
import requireAll from 'require-all'; import { getDefault } from '../../shared/util/ModuleUtil'; import BaseFeature from './BaseFeature'; const modules = requireAll({ dirname: `${__dirname}/features`, filter: /(.+)\.js$/, recursive: true, }); const featureClasses: BaseFeature[] = Object.keys(modules) .map(fea...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
//>>built define("dojo/on",["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(v,w,e){function x(a,b,c,d,h){if(d=b.match(/(.*):(.*)/))return b=d[2],d=d[1],f.selector(d,b).call(h,a,c);e("touch")&&(y.test(b)&&(c=m(c)),!e("event-orientationchange")&&"orientationchange"==b&&(b="resize",a=window,c=m...
!function(n){n(document).on("ready",function(){n("nav button").click(function(){n("nav ul").slideToggle()})})}(jQuery);
if(!dojo._hasResource["dojox.charting.plot2d.Stacked"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojox.charting.plot2d.Stacked"] = true; dojo.provide("dojox.charting.plot2d.Stacked"); dojo.require("dojox.charting.plot2d.common"); dojo.require("dojox.chart...
var Promise = require('bluebird'); var request = Promise.promisify(require("request")); Promise.promisifyAll(request); var moment = require('moment'); crawlerUtils = {} headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1'} // Request url and use the closure to attempt to...
System.config({ "transpiler": "babel", "babelOptions": { "optional": [ "es7.decorators", "es7.classProperties", "runtime" ] }, "paths": { "*": "dist/*.js", "github:*": "jspm_packages/github/*.js", "npm:*": "jspm_packages/npm/*.js" } }); System.config({ "map": { "au...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
version https://git-lfs.github.com/spec/v1 oid sha256:379f77a3ff980fe8ed659e040809623c59f3bce007edc0dce611a276d03aaf4e size 6535
// this is service script that extracts names from names.txt and places them into list.json /* const fs = require('fs'); function readTxt(fileName) { const text = fs.readFileSync(fileName).toString('utf8'); const lines = text.split('\n'); const langs = lines.shift().split('\t').map(l => l.toLowerCase().tri...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); if (typeof WEBGL_RENDERER) { renderWebGL = r...
(function () { 'use strict'; function responseInterceptor($q, $location, ngToast) { function successHandler(response) { console.log('Response from server', response); // Return a promise return response || $q.when(response); } function errorHandler(...
import React, { PropTypes } from 'react'; import ReactDOM from 'react-dom'; import { createPureComponent } from 'utils/createPureComponent'; import World from 'components/World/World'; import EditorTools from 'components/EditorTools/EditorTools'; import EditorTiler from 'components/EditorTiler/EditorTiler'; import '...
require(['b'], function(){});
/*! * jQuery JavaScript Library v2.1.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-04-28T16:01Z */ (function( global, factory ) { if (...
'use strict'; /* main App */ var app = angular.module('searchVolController', []); app.controller('searchVolCtrl', function($scope){ //Dummy data $scope.categories = ['Aggriculture', 'Animals', 'Arts', 'Communications access', 'Community development', 'conflict resolution']; $scope.skills = ['Answering...
module.exports = function(grunt) { var path = require("path"), time = require('time-grunt')(grunt), pkg = grunt.file.readJSON("package.json"), config = ({ pkg: pkg, sass: { options: { style: 'expanded', ...
{ "name": "countdown.js", "url": "https://github.com/gumroad/countdown.js.git" }
'use strict'; var BootstrapperBase = require('./base/BootstrapperBase'); var ModuleApiProvider = require('./providers/ModuleApiProvider'); var CookieWrapper = require('./CookieWrapper'); var Catbee = require('./Catbee'); class Bootstrapper extends BootstrapperBase { /** * Creates new instance of server Catbee's ...
var _curry3 = require('./internal/_curry3'); /** * Creates a new list out of the two supplied by applying the function to * each equally-positioned pair in the lists. The returned list is * truncated to the length of the shorter of the two input lists. * * @function * @memberOf R * @since v0.1.0 * @category L...
/*! * jQuery QueryBuilder 2.4.5 * Locale: Simplified Chinese (zh_CN) * Author: shadowwind, shatteredwindgo@gmail.com * Licensed under MIT (http://opensource.org/licenses/MIT) */ (function(root, factory) { if (typeof define == 'function' && define.amd) { define(['jquery', 'query-builder'], factory); ...
module.exports = function(req, res, next) { res['error'] = function(msg, data) { return this.send({ success: false, error: msg, data: data }); }; res['success'] = function(msg, data) { return this.send({ success: true, msg: msg, data: data }); }; next()...
const getAuthenticationProcess = async ( driverId, drivers, driverUtils, authenticationSchema, jsonValidator ) => { try { const foundDriver = await driverUtils.doesDriverExist(driverId, drivers); // if found, load it if (foundDriver === false) { const e = new Error(`${driverId} driver not ...
modules.define('jquery', function(provide, $) { $.each({ pointerpress : 'pointerdown', pointerrelease : 'pointerup pointercancel' }, function(fix, origEvent) { function eventHandler(e) { if(e.which === 1) { var fixedEvent = cloneEvent(e); fixedEvent.type = fix; f...
export default [ { 'date': '01/10/2016', 'id_hebergeur': 1, 'tarif': 252, 'dispo': 21 }, { 'date': '02/10/2016', 'id_hebergeur': 1, 'tarif': 150, 'dispo': 21 }, { 'date': '03/10/2016', 'id_hebergeur': 1, 'tarif': 123, 'dispo': 21 }, { 'date': '04/10/2016...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = isString; var _isObjectLike = require('./isObjectLike'); var _isObjectLike2 = _interopRequireDefault(_isObjectLike); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** ...
/* --- name: Picker.Attach description: Adds attach and detach methods to the Picker, to attach it to element events authors: Arian Stolwijk requires: [Picker, Core/Element.Event] provides: Picker.Attach ... */ Picker.Attach = new Class({ Extends: Picker, options: {/* onAttachedEvent: function(event){}, togg...
/* @license dhtmlxGantt v.4.1.0 Stardard This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. (c) Dinamenta, UAB. */ gantt.locale = { date: { month_full: ["...
'use strict'; var path = require('path'); var webpack = require('webpack'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var StatsPlugin = require('stats-webpack-plugin'); module.exports = { entry: [ path.join(__dirname, 'app/main.js') ...
define([ 'aeris/util', 'aeris/api/models/aerisapimodel', 'aeris/errors/apiresponseerror' ], function(_, AerisApiModel, ApiResponseError) { /** * Represents data from multiple Aeris API endpoints * combined into a single model. * * Note that AerisBatchModel does not currently support * per-model a...
fis.config.set('project.include', ['pages/**', 'macros/**', 'static/**']); fis.config.set('project.exclude', ['pages/**.less', 'macros/**.less', 'static/**.less']); fis.config.set('modules.postpackager', 'simple'); fis.config.set('pack', { 'pkg/libs.js': [ 'static/js/libs/jquery.min.js', 'static/js/...