code stringlengths 2 1.05M |
|---|
'use strict';
var validatorsLibrary = require('./common-validators-library');
var validators = require('validators-constructor')();
validators.util = validatorsLibrary.util;
module.exports = validators.add(validatorsLibrary.validators); |
require.config({
paths: {
CanvasShapes: '../../../build/CanvasShapes'
}
});
require([
'CanvasShapes'
], function (
CanvasShapes
) {
var Showcase = (function () {
Showcase = function (width, height, domId) {
this.width = width;
this.height = height;
... |
'use strict';
var ESCAPE_CODES = {
0: 0,
1: 22,
2: 22,
3: 23,
4: 24,
7: 27,
8: 28,
9: 29,
30: 39,
31: 39,
32: 39,
33: 39,
34: 39,
35: 39,
36: 39,
37: 39,
38: 39,
90: 39,
40: 49,
41: 49,
42: 49,
43: 49,
44: 49,
45: 49,
46: 49,
48: 49,
47: 49
};
function wrapAnsi(pair) {
var result = '';
va... |
/**
* This module allows the addition of an association on embedded entities.
*/
const ChangeLogs = require('@warp-works/warpjs-change-logs');
const Promise = require('bluebird');
// const debug = require('debug')('W2:content:instance/post');
const DocLevel = require('./../../../lib/doc-level');
const { actions } =... |
/*
AngularJS v1.2.28-build.568+sha.14409d7
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(W,X,u){'use strict';function z(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.2.28-build.568+sha.14409d7/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c+... |
/* jslint node: true */
'use strict';
var cfg = require('../../../config.json');
exports.itemType = function() {
var rand = Math.floor(Math.random() * 10);
var type = [0, 0, 0, 1, 1, 1, 2, 3, 4, 4];
return type[rand];
};
exports.pieceScore = function() {
var rand = Math.floor(Math.random() * 10);
var score = [1,... |
import React from 'react';
import {
StyleSheet,
View,
Text,
Dimensions,
TouchableOpacity,
} from 'react-native';
import MapView from 'react-native-maps';
import PriceMarker from './PriceMarker';
const { width, height } = Dimensions.get('window');
const ASPECT_RATIO = width / height;
const LATITUDE = 31.2329... |
'use strict';
describe('Controller: CategoryCtrl', function () {
// load the controller's module
beforeEach(module('ngBrxApp'));
var CategoryCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
CategoryCtrl... |
'use strict';
var koa = require('koa'),
request = require('supertest'),
appFactory = require('./appFactory.js');
require('should');
describe('koa-validate' , function(){
it("bad uri decodeURIComponent should not to be ok" , function(done){
var app = appFactory.create(1);
app.router.post('/decodeURIComponent',f... |
module.exports = function(grunt) {
//Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %>*/'
},
build: {
s... |
/*
* Copyright (c) 2016-present, Parse, LLC
* All rights reserved.
*
* This source code is licensed under the license found in the LICENSE file in
* the root directory of this source tree.
*/
import CSRFInput from 'components/CSRFInput/CSRFInput.react';
import Field from 'components/Field/Field.react';
import For... |
'use strict';
var Emitter = require('component-emitter');
var debounce = require('debounce');
var scrollUtil = module.exports;
scrollUtil.frequency = 1000 / 60;
// Make scroll util an event emitter
Emitter(scrollUtil);
scrollUtil.onGlobalScroll = function() {
this.oldX = this.x;
this.oldY = this.y;
this.x = ... |
window.onload = function() {
// here we define a new 640x480 game, with three core functions:
// onPreload to be executed when the game preloads
// onCreate to be executed once the game is firstly created
// onUpdate to be called every time the game us updated
var game = new Phaser.Game(640, 480, Phaser.CANVA... |
describe('postServices tests', function() {
beforeEach(module('msp.app'));
var element, scope, compile, httpBackend;
var postServices;
var mockList = [
{
"user": {
"username": "superman",
"name": "Superman",
"position": "World Saviour",
"location": "Metropolis",
... |
describe("Elation Engine Assets", function() {
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
elation.config.set('dependencies.path', document.origin);
elation.config.set('dependencies.rootdir', 'base/build/');
elation.config.set('dependencies.main', 'janusweb.js');
elation.engine.assets.loadJSON([
{ "assettyp... |
module.exports = {
dist: {
files: [{
expand: true,
cwd: '<%= yeoman.app %>/images',
src: '**/*',
dest: '<%= yeoman.dist %>/images'
}]
}
};
|
import Q from 'q';
import fs from 'fs';
import path from 'path';
import _ from 'underscore';
import {spawn} from 'child_process';
import shell from 'shelljs';
import logger from './logger';
import FileMatcher from './file_matcher';
import url from 'url';
let guid = function() {
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxx... |
#!/usr/bin/env node
var list = [
"apple",
"banana",
"cherry"
];
// comprehension
for (var i in list) {
var item = list[i];
console.log(i + ' - ' + item);
}
|
Package.describe({
name: "migrations",
summary: "Telescope migrations package",
version: "0.26.5-nova",
git: "https://github.com/TelescopeJS/Telescope.git"
});
Package.onUse(function(api) {
api.versionsFrom("METEOR@1.0");
api.use(['nova:core@0.26.5-nova']);
api.addFiles([
'lib/server/migrations.... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
'use strict'
const config = require('../config.js')
const options = {dsn: config.d2alias}
const Adapter = require('./index')
const initialData = {
groups: [
{name: 'Admins', hide: false},
{name: 'Users', hide: false},
{name: 'Officers', hide: true}
],
users: [
{name: 'John', hide: false, config... |
$(':text').focusin(function(){
$(this).css('background-color' , 'yellow')
});
$(':text').blur(function(){
$(this).css('background-color' , 'black')
});
$(':button').click(function(){
$(this).attr('value' , 'Please wait..');
$(this).attr('disabled' , true);
});
|
/*
* heroku-nodejs
*
* Copyright(c) 2015 André König <andre.koenig@posteo.de>
* MIT Licensed
*
*/
/**
* @author André König <andre.koenig@posteo.de>
*
*/
const express = require('express');
const port = process.env.PORT || 8080;
const app = express();
const greetings = [
'Servus',
'Hello',
'Hal... |
import sqlString from 'sqlstring-sqlite';
/*
* Validate configuration.
*/
export function validateConfigForImport(config) {
if (!config.agencies || config.agencies.length === 0) {
throw new Error('No `agencies` specified in config');
}
for (const [index, agency] of config.agencies.entries()) {
if (!ag... |
import React, { Component, PropTypes } from 'react'
import ReactDOM, { render } from 'react-dom'
import cx from 'classname'
import autobind from 'autobind-decorator'
export default class RevealPhase extends Component {
constructor(props) {
super(props)
this.state = {
showAnswer: {},
revealing: 0
... |
module.exports={A:{A:{"2":"L H G E A B jB"},B:{"2":"8 C D e K I N J"},C:{"2":"0 1 2 3 4 5 7 9 gB BB F L H G E A B C D e K I N J P Q R S T U V W X Y Z a b c d f g h i j k l m n o M q r s t u v w x y z JB IB CB DB EB O GB HB aB ZB"},D:{"1":"0 1 4 5 7 F L H G E A B C D e K I N J P Q R S T U V W X Y Z a b c d f g h i j k l... |
import request from 'supertest';
import { describe, it, before, after, afterEach } from 'mocha';
import app from '~/index';
import testHelpers from '~/test/helpers';
import Category from '~/models/category';
describe('API Categories - Create', function() {
let sessionRequest;
before((done) => {
sessionReques... |
//let arr = [1, 2, 3];
//
//let newArr = arr.map(function (value) {
// return value +1;
//});
//
//console.log(newArr);
let arr = [1, 2, 3];
arr.map(function (value) {
return value +1;
});
// function keyword delete
// param list
// arrow statement function
arr.map( (value) => { return value +1; });
// only on... |
/*! Hammer.JS - v1.0.6dev - 2013-11-09
* http://eightmedia.github.com/hammer.js
*
* Copyright (c) 2013 Jorik Tangelder <j.tangelder@gmail.com>;
* Licensed under the MIT license */
(function(window, undefined) {
'use strict';
/**
* Hammer
* use this to create instances
* @param {HTMLElement} element
* @p... |
import { combineReducers } from 'redux';
import todos from './todos';
// 原始
const rootReducer = combineReducers({
todos
});
console.log("******");
console.log(rootReducer);
export default rootReducer;
// const rootReducer = combineReducers({
// a: todos
// });
// export default rootReducer;
/*
為什麼換成這樣就會出錯勒?
exp... |
/* global utils */
(function () {
var paper = utils.setup(800, 200);
var angle = 0;
var pathString = 'M0 100';
for (var i = 1; i < paper.width; i++) {
angle += 0.02;
pathString += 'L' + i + ' ' + (Math.sin(angle) * 100 + 100);
console.log((Math.sin(angle) * 200 - 100));
}
paper.path(pathString)... |
export const finland = {
name: 'Finland',
codes: ['FI', 'FIN', '246'],
calcFn: (vat) => {
let total = 0;
// Extract the next digit and multiply by the counter.
for (let i = 0; i < 7; i++)
total += Number(vat.charAt(i)) * finland.rules.multipliers.common[i];
// Est... |
'use strict';
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]; } } } return target; };
function _objectWithoutProperties(obj, keys) {... |
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['2267',"Tlece.Recruitment.Models.RecruitmentPlanning Namespace","topic_0000000000000692.html"],['2333',"ApplicationDetailDto Class","topic_00000000000007D9.html"]]; |
pinion.namespace("backend.image");
pinion.backend.image.ImageGrid = (function($) {
var constr;
// public API -- constructor
constr = function() {
this.$element = $("<div class='pinion-backend-image-ImageGrid'></div>");
this.$slider = $("<div class='pinion-slider'></div>").appendT... |
var angularController = require('../app/controllers/angular-controller')
var usersController = require('../app/controllers/users-controller')
module.exports.routes = []
module.exports.routes.push({
method: 'GET',
path: '/',
handler: function(req, res) {
res.redirect('/users_node')
}
})
// Angular
module.... |
import React from 'react';
import PropTypes from 'prop-types';
import EventSponsorCard from './EventSponsorCard';
class Sponsors extends React.Component {
static propTypes = {
sponsors: PropTypes.arrayOf(PropTypes.object).isRequired,
};
constructor(props) {
super(props);
}
render() {
const { sp... |
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
define(["require", "exports", "../display/DisplayObject", "../... |
Resources =
{
// Backgrounds
bg_space : { file : "backgrounds/space.background" },
// Sprites
spr_ship : { file : "sprites/ship.sprite" },
spr_bullet : { file : "sprites/bullet.sprite" },
spr_asteroid : { file : "sprites/asteroid.sprite" },
// Sound effect... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.17/esri/copyright.txt for details.
//>>built
define("esri/nls/jsapi_hu",{"esri/nls/jsapi":{io:{proxyNotSet:"esri.config.defaults.io.proxyUrl is not set. If making a request to a CORS enabled server, please pus... |
import React, { Component } from 'react';
import TopIcon from '../TopIcon';
import { translate } from '../../helpers/translate';
import {
ResultBox,
ContentHolder,
NoScriptLink,
FlagHolder,
ListButton,
ListItem,
List,
QuestionBox,
} from '../../common/styles';
import styled from 'styled-components';
imp... |
'use strict';
exports.test = function (req, res) {
res.json({
hello: 'FROM THE OTHER SIDE!!!'
});
res.end();
};
exports.namespacedGET = function (req, res) {
res.send('Congrats, this is a namespaced actionMethod!');
res.end();
};
|
function getResource(){
var httpObj = new XMLHttpRequest();
httpObj.open("GET", "./resource.json", false);
httpObj.send(null);
return JSON.parse(httpObj.responseText);
}
function hsvtorgb(h, s, v){
var c = v * s;
var x = c * (1 - Math.abs((h * 6) % 2 - 1));
var r = g = b = v - c;
if(h * 6 < 1){
r... |
var Sequelize = require('sequelize');
var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var http = require('http').Server(app);
// var session = require('express-session');
var io = require('socket.io')(http);
var sequelize = new Sequelize('icebreaker', process.env.POSTGR... |
/*
Highstock JS v9.3.1 (2021-11-05)
Indicator series type for Highcharts Stock
(c) 2010-2021 Pawe Fus
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/indicators/st... |
/*
* @name jQuery.bootcomplete
* @projectDescription Lightweight AJAX autocomplete for Bootstrap 3
* @author Rick Somers | http://getwebhelp.com/bootcomplete
* @version 1.0
* @license MIT License
*
*/
(function ( $ ) {
$.fn.bootcomplete = function(options) {
var defaults = {
url : "/search.php... |
import cssesc from "cssesc";
import unesc from "../util/unesc";
import Namespace from './namespace';
import {ATTRIBUTE} from './types';
const deprecate = require("util-deprecate");
const WRAPPED_IN_QUOTES = /^('|")([^]*)\1$/;
const warnOfDeprecatedValueAssignment = deprecate(() => {},
"Assigning an attribute a v... |
jQuery.sap.require("sap.ui.core.mvc.Controller");
jQuery.sap.require("sap.m.MessageBox");
sap.ui.core.mvc.Controller.extend("ZHR_ABSENCE_MANAGEMENT.view.Master", {
_oCatalog: null,
_oResourceBundle: null,
onInit: function() {
this._oView = this.getView();
this._oItemTemplate = this.byId("columnListIte... |
var searchData=
[
['parser',['Parser',['../classpkg__parsing_1_1Parser.html',1,'pkg_parsing']]],
['parser_2ejava',['Parser.java',['../Parser_8java.html',1,'']]],
['pkg_5fcharacters',['pkg_characters',['../namespacepkg__world_1_1pkg__characters.html',1,'pkg_world']]],
['pkg_5fcommands',['pkg_commands',['../names... |
function _ensureArray(x) {
if (x === null || x === undefined || Array.isArray(x)) {
return x
}
return [x]
}
/** An indexed list of objects or classes. */
class EntityList {
/**
* Create a list of objects.
* The objects can be indexed by one or more properties for the later retrieval.
*
* @param... |
/**
* @module sync/adapters/rest
* @requires module:sync/adapter
*/
define(function(require, exports, module) {
"use strict";
var Adapter = require("../adapter");
var Rest = Adapter.extend({
/**
* Map from CRUD to HTTP for our default `Backbone.sync` implementation.
*
* @public
* @mem... |
(function (){
loadOptions()
submitHandler();
})();
function submitHandler(){
var $submitButton = $('#submitButton');
$submitButton.on('click' ,function(){
console.log('Submit');
var return_to = getQueryParam('return_to', 'pebblejs://close#');
document.location =return_to + encodeURIComponent(... |
/* Copyright 2016 Simon `svvac` Wachter (_@svvac.net)
* 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,... |
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
'* C... |
// Generated by CoffeeScript 1.8.0
(function() {
var ANDROID_RELATIONS, BASE_FIELDS, EXTRA_FIELDS, IM_VENDORS, IOS_IM_VENDORS, IOS_SERVICE_LABELS, IOS_SERVICE_TYPES, PHONETIC_FIELDS, SOCIAL_URLS, VCardParser, capitalizeFirstLetter, exportAbout, exportAdr, exportAlerts, exportBaseFields, exportChat, exportDefault, exp... |
import { map } from 'ramda'
import moment from 'moment'
import { queryDesignData, publishDesignData, deleteDesignData } from '@/services/design'
export default {
namespace: 'dashboard',
state: {
data: [],
total: 0
},
effects: {
*removeTemplate({ payload ,callback }, { call }) {
const res = yi... |
/*! pako 2.0.1 https://github.com/nodeca/pako @license (MIT AND Zlib) */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThi... |
/*
* grunt-html2js
* https://github.com/karlgoldstein/grunt-html2js
*
* Copyright (c) 2013 Karl Goldstein
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
options: {
jshintrc: '.jshintrc',
},... |
/**
* Swiper 6.8.3
* Most modern mobile touch slider and framework with hardware accelerated transitions
* https://swiperjs.com
*
* Copyright 2014-2021 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: August 20, 2021
*/
import Swiper from './esm/components/core/core-class';
export { d... |
// # Ghost Configuration
// Setup your Ghost install for various environments
// Documentation can be found at http://docs.ghost.org/usage/configuration/
var path = require('path'),
config;
config = {
// ### Development **(default)**
development: {
// The url to use when providing links to the sit... |
'use strict';
angular.module('pssswApp')
.controller('SignupCtrl', function ($scope, Auth, $location, $window) {
$scope.user = {};
$scope.errors = {};
$scope.register = function(form) {
$scope.submitted = true;
if(form.$valid) {
Auth.createUser({
name: $scope.user.name,
... |
const path = require('path');
/**
* Configuration for redis cluster. Currently only compatible with this
* database
* @type {Object}
*/
exports.redis = {
options: {
// attempt to fix cluster?
keyPrefix: '{ms-users}',
// pass this to constructor
dropBufferSupport: false,
},
luaScripts: [
p... |
var notify = require('gulp-notify');
module.exports = function() {
var args = Array.prototype.slice.call(arguments);
// Send error to notification center with gulp-notify
notify.onError({
title: 'Compile Error',
message: '<%= error.plugin %>: <%= error.message %>'
}).apply(this, args);
// Keep gul... |
/*!
* DevExtreme (dx.messages.fr.js)
* Version: 21.1.7
* Build date: Mon Dec 06 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
! function(root, factory) {
if ("function" === typeof define &... |
search_result['2193']=["topic_0000000000000543_vars--.html","VerifyPhoneNumberModel Fields",""]; |
import { wrap } from 'co';
import { fromCallback } from 'bluebird';
import { RenderError } from '../Error';
import { resolveModule } from '../util/ModuleUtil';
export default wrap(function *(str) {
try {
const less = yield resolveModule('less');
const { css } = yield fromCallback((done) => less.render(str, d... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative ... |
/*!
* DevExtreme (dx.messages.sv.js)
* Version: 20.2.6 (build 21098-1745)
* Build date: Thu Apr 08 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
! function(root, factory) {
if ("function" ... |
angular.module('cms.shared').factory('shared.directiveUtilities', function () {
var service = {};
/* PUBLIC */
/**
* Sets the model name property, parsing it from the cms-model attribute property accessor. E.g. parses the property 'title' out
* of cms-model="vm.command.title" or cms-model="... |
/*!
* DevExpress Gantt (dx-gantt)
* Version: 3.0.18
* Build date: Tue Oct 26 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof ex... |
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children", "text", "header"];
import { createScopedElement } from "../../lib/jsxRuntime";
import * as React from 'react';
import { HoverPopper } from "../HoverP... |
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* Tabulator v4.5.2 (c) Oliver Folkerd */
var Ht... |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ajv7 = f()}})(... |
/*!
* DevExtreme (dx.messages.tr.js)
* Version: 20.2.9 (build 21259-1136)
* Build date: Thu Sep 16 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
! function(root, factory) {
if ("function" ... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
(factory((global.concent = {}),global.React));
}(this, (function (exports,React) { 'use strict';
... |
/**
* jPList - jQuery Data Grid Controls 5.2.0.6 - http://jplist.com
* Copyright 2016 Miriam Zusin
*/
(function(){var d=function(a,b){var c;c=null;c=a.params.defaultView;c=b?a.params.defaultView:a.params.currentView;c=new jQuery.fn.jplist.controls.ViewsDTO(c);return c=new jQuery.fn.jplist.StatusDTO(a.name,a.action,a.t... |
/* Tabulator v4.8.1 (c) Oliver Folkerd */
var ResizeRows = function ResizeRows(table) {
this.table = table; //hold Tabulator object
this.startColumn = false;
this.startY = false;
this.startHeight = false;
this.handle = null;
this.prevHandle = null;
};
ResizeRows.prototype.initializeRow = function (row) {
var s... |
/*!
* bootstrap-fileinput v5.0.9
* http://plugins.krajee.com/file-input
*
* Font Awesome icon theme configuration for bootstrap-fileinput. Requires font awesome assets to be loaded.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2020, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD-3-Clause
* ht... |
/**
* @license Highcharts JS v9.1.1 (2021-06-04)
* @module highcharts/modules/offline-exporting
* @requires highcharts
* @requires highcharts/modules/exporting
*
* Client side exporting module
*
* (c) 2015-2021 Torstein Honsi / Oystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
import '.... |
/**
* @license Highcharts JS v8.0.4 (2020-03-10)
*
* (c) 2009-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = factory;
} else if (typeof def... |
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])... |
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... |
/* SWM module for Express (Node.js) */
var crypto = require('crypto');
var fs = require('fs');
var path = require('path');
var express = require('express');
function isObject(value) {
return typeof value === 'object' && value !== null;
}
function isArray(value) {
return Object.prototype.toString.call(value) ... |
import webpack from 'webpack';
import path from 'path';
import StatsPlugin from 'stats-webpack-plugin';
import HtmlWebpackPlugin from 'html-webpack-plugin';
export default {
entry: [
path.join(__dirname, 'src/index.js')
],
output: {
path: path.join(__dirname, '/bundle/dist'),
filename: 'bundle.js'
... |
'use strict'
const config = require('server/config')
console.log(config.server.port)
|
export default {
to: 'To:',
enterNameOrPhoneNumber: 'Enter Number',
};
|
import * as PIXI from 'pixi.js';
import utils from '../../../utils';
import AnimationManager from './../utils/AnimationManager';
import Entity from './../Entity';
export default class StandardBullet extends Entity {
constructor(game, params) {
super();
this.game = game;
this.lifetime =... |
import { moduleForModel, test } from 'ember-qunit';
moduleForModel('github-blob', 'Unit | Serializer | github blob', {
// Specify the other units that are required for this test.
needs: ['serializer:github-blob']
});
// Replace this with your real tests.
test('it serializes records', function(assert) {
let reco... |
/*
* Copyright (c) 2012-2015 Netforce Co. Ltd.
*
* 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, me... |
var files = {
"webgl": [
"webgl_animation_cloth",
"webgl_animation_scene",
"webgl_animation_skinning_blending",
"webgl_animation_skinning_morph",
"webgl_camera",
"webgl_camera_cinematic",
"webgl_camera_logarithmicdepthbuffer",
"webgl_clipping",
"webgl_clipping_advanced",
"webgl_clipping_intersectio... |
/**
* @author alteredq / http://alteredqualia.com/
*/
THREE.Ribbon = function ( geometry, materials ) {
THREE.Object3D.call( this );
this.geometry = geometry;
this.materials = materials instanceof Array ? materials : [ materials ];
this.flipSided = false;
this.doubleSided = false;
};
THREE.Ribbon.prototype... |
/*globals describe, beforeEach, afterEach, it*/
/*jshint expr:true*/
var moment = require('moment'),
should = require('should'),
sinon = require('sinon'),
Promise = require('bluebird'),
rewire = require('rewire'),
_ = require('lodash'),
// Stuff we are testing
api = requir... |
version https://git-lfs.github.com/spec/v1
oid sha256:491d87d225832e04a81131a0535c7f4639ab93868d941569b9aa03e3bb12949a
size 17476
|
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./navbar.component"));
__export(require("./navbar.module"));
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ... |
/**
* AngularJS module to manage HTTP Digest Authentication
* @version v0.4.3 - 2014-02-02
* @link https://github.com/tafax/angular-digest-auth
* @author Matteo Tafani Alunno <matteo.tafanialunno@gmail.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';
// Source: src/angular-... |
import IconDropDown from '../';
const {renderIntoDocument,findRenderedDOMComponentWithClass} = TestUtils;
const alertSpy = sinon.spy();
const actions = [
{label: "Action_a", msg: "Action a"},
{label: "Action_b", msg: "Action b"},
{label: "Action_c", msg: "Action c"},
{label: "Action_d", msg: "Action d... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M8 9.86v4.28L11.03 12z" opacity=".3" /><path d="M14.5 12L6 6v12l8.5-6zM8 9.86L11.03 12 8 14.14V9.86zM16 6h2v12h-2z" /></React.Fragment>
, 'SkipN... |
'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]; } }... |
(function($) {
var cultures = $.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["zh"] = $.extend(true, {}, en, {
name: "zh",
englishName: "Chinese",
nativeName: "中文",
language: "zh",
numberFormat: {
percent:... |
'use strict';
function decorateWithBranch(Potok){
Potok.prototype.branch = function(next){
this.chain(next);
return this;
};
};
module.exports = decorateWithBranch; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.