code
stringlengths
2
1.05M
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.1.2 * @link http://www.ag-grid.com/ * @license MIT */ var Constants = (function () { function Constants() { } Constants.STEP_EVERYTHING = 0; Constants.STEP_FILTER = 1; Consta...
/* ============================================================= * bootstrap-combobox.js v1.0.2 * ============================================================= * Copyright 2012 Daniel Farrell * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
(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.L || (g.L = {...
/* * grunt-contrib-jshint * http://gruntjs.com/ * * Copyright (c) 2013 "Cowboy" Ben Alman, contributors * Licensed under the MIT license. */ 'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ jshint: { allFiles: [ 'Gruntfile.js', 'tasks/*...
๏ปฟ/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'templates', 'he', { button: 'ืชื‘ื ื™ื•ืช', emptyListMsg: '(ืœื ื”ื•ื’ื“ืจื• ืชื‘ื ื™ื•ืช)', insertOption: 'ื”ื—ืœืคืช ืชื•ื›ืŸ ืžืžืฉื™', options: 'ืืคืฉืจื•ื™ื•ืช ื”ืชื‘ื ื™ื•ืช', selectPr...
/** * @author mrdoob / http://mrdoob.com/ */ THREE.SpriteCanvasMaterial = function ( parameters ) { THREE.Material.call( this ); this.type = 'SpriteCanvasMaterial'; this.color = new THREE.Color( 0xffffff ); this.program = function ( context, color ) {}; this.setValues( parameters ); }; THREE.SpriteCanvasM...
angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": { "0": "m.", "1": "p." }, "DAY": { "0": "domenica",...
/*! * Object.observe polyfill - v0.2.4 * by Massimo Artizzu (MaxArt2501) * * https://github.com/MaxArt2501/object-observe * * Licensed under the MIT License * See LICENSE for details */ // Some type definitions /** * This represents the data relative to an observed object * @typedef {Object} ...
CKEDITOR.plugins.setLang("flash","hr",{access:"Script Access",accessAlways:"Uvijek",accessNever:"Nikad",accessSameDomain:"Ista domena",alignAbsBottom:"Abs dolje",alignAbsMiddle:"Abs sredina",alignBaseline:"Bazno",alignTextTop:"Vrh teksta",bgcolor:"Boja pozadine",chkFull:"Omoguฤ‡i Fullscreen",chkLoop:"Ponavljaj",chkMenu:...
/* Support for flat 1D data series. A 1D flat data series is a data series in the form of a regular 1D array. The main reason for using a flat data series is that it performs better, consumes less memory and generates less garbage collection than the regular flot format. Example: plot.setData([[[0,0], [1,1], [2,...
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExports ...
import deviation from "../deviation"; export default function(values, min, max) { return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(values.length, -1 / 3))); }
// Usage: node findbooleantrap.js /path/to/some/directory // For more details, please read http://esprima.org/doc/#booleantrap. /*jslint node:true sloppy:true plusplus:true */ var fs = require('fs'), esprima = require('../esprima'), dirname = process.argv[2], doubleNegativeList = []; // Black...
describe('typeahead tests', function() { var $scope, $compile, $document, $templateCache, $timeout, $window; var changeInputValueTo; beforeEach(module('ui.bootstrap.typeahead')); beforeEach(module('ngSanitize')); beforeEach(module('uib/template/typeahead/typeahead-popup.html')); beforeEach(module('uib/temp...
"use strict"; module.exports = function(grunt) { var pkg = grunt.file.readJSON("package.json"); // Project configuration. grunt.initConfig({ // Metadata. pkg: pkg, banner: grunt.file.read("dev/copy.js").replace(/@VERSION/, pkg.version), // Task configuration. uglif...
exports.maptest = 'maptestsub';
!function(e){e.datepick.regionalOptions.es={monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miรฉrcoles","Jueves","V...
/*! * sly 1.2.0 - 31st Oct 2013 * https://github.com/Darsain/sly * * Licensed under the MIT license. * http://opensource.org/licenses/MIT */ ;(function ($, w, undefined) { 'use strict'; var pluginName = 'sly'; var className = 'Sly'; var namespace = pluginName; // Local WindowAnimationTiming interface va...
/** * angular-strap * @version v2.0.0-beta.4 - 2014-01-20 * @link http://mgcrea.github.io/angular-strap * @author Olivier Louvignes <olivier@mg-crea.com> * @license MIT License, http://www.opensource.org/licenses/MIT */ 'use strict'; angular.module('mgcrea.ngStrap.aside', ['mgcrea.ngStrap.modal']).run([ '$templ...
require('../modules/core.dict'); module.exports = require('../modules/$.core').Dict;
/*! UIkit 2.6.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ /* * Based on Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/ */ (function(addon) { if (typeof define == "function" && define.amd) { // AMD define("uikit-sortable", ["uikit"], function(){ ...
require('./angular-locale_ff'); module.exports = 'ngLocale';
#!/usr/bin/env node var util = require('util'); var argv = require('optimist').argv; if (argv.s) { util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); } console.log( (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') );
import { default as createStore } from 'store/createStore' describe('(Store) createStore', () => { let store before(() => { store = createStore() }) it('should have an empty asyncReducers object', () => { expect(store.asyncReducers).to.be.an('object') expect(store.asyncReducers).to.be.empty }...
/*! localForage -- Offline Storage, Improved Version 0.3.1 http://mozilla.github.io/localForage (c) 2013-2014 Mozilla, Apache License 2.0 */ (function() { var define, requireModule, require, requirejs; (function() { var registry = {}, seen = {}; define = function(name, deps, callback) { regist...
/*! Swig v1.3.1 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */ /*! DateZ (c) 2011 Tomo Universalis | @license https://github.com/TomoUniversalis/DateZ/blob/master/LISENCE */ ;(function(e,t,n){function i(n,s){if(!t[n]){if(!e[n]){var o=typeof require=="func...
/*! * Qoopido.js library v3.6.5, 2015-7-1 * https://github.com/dlueth/qoopido.js * (c) 2015 Dirk Lueth * Dual licensed under MIT and GPL */ !function(e){window.qoopido.register("support/element/canvas/todataurl/jpeg",e,["../../../../support","../todataurl"])}(function(e,t,a,o,n,r){"use strict";var s=e.support;return s....
// Validate.js 0.7.0 // (c) 2013-2015 Nicklas Ansman, 2013 Wrapp // Validate.js may be freely distributed under the MIT license. // For all details and documentation: // http://validatejs.org/ (function(exports, module, define) { "use strict"; // The main function that calls the validators sp...
Proj4js.defs["EPSG:102757"]="+title=NAD 1983 StatePlane Wyoming West Central FIPS 4903 Feet +proj=tmerc +lat_0=40.5 +lon_0=-108.75 +x_0=600000.0 +y_0=0 +k=0.999938 +a=6378137.0 +b=6356752.3141403 +to_meter=0.3048006096012192";
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
/** * Module * * Description */ var app = angular.module( 'myapp', ['ngRoute'], function () { // config function does currently nothing } );
'use strict' let fs = require('fs'); let readFile = function (fileName) { return new Promise(function (resolve, reject) { fs.readFile(fileName, function (error, data) { if (error) reject(error); resolve(data); }); }); }; function* gen() { let f1 = yield readFile('/U...
const Driver = require('../../driver'); const DirectPin = module.exports = class DirectPin extends Driver { /** * A Direct Pin driver * * @constructor DirectPin * * @param {Object} opts options object * @param {String|Number} opts.pin the pin to connect to */ constructor(opts) { super(opts...
class Model_Character_Item extends Model_Abstract_Derivative { } ObjectHelper.extend(Model_Character_Item.prototype, { url: '/characters/:character_id/items', name: 'character_item', Archetype: Model_Item, fields: { id: { type: Enum_FieldTypes.KEY }, character_id: { type: Enum_FieldTypes.ID }, it...
"use strict"; var reload = require("../../index.js")(module); reload.require(exports, "hello", "./hello.js", function (curr, prev) { console.log("old module:", prev); console.log("new module:", curr); }); // Force-reload hello.js console.log("hello.js will be reloaded in 1s"); setTimeout(function () { reload(...
///** // * Offworld Heapdumper // * @module offworld-heapdumper // * @type {exports} // */ var tmp = require("tmp"), heapdump = require("heapdump"), moment = require("moment"), util = require("util"), _ = require("underscore"), fs = ...
var test = require('tape'); test('fibwibblers and xyrscawlers', function (t) { t.plan(1); t.equal(5,5); })
/** * Created by KennethBovbjerg on 05-11-2015. */ var Content = require('../datasets/content'); var fs = require('fs-extra'); var path = require('path'); //Upload Photo: module.exports.uploadPhoto = function(req, res) { var file = req.files.file; var userId = req.body.userId; console.log("User: " + use...
import { BufferGeometry, Color, FileLoader, Float32BufferAttribute, Group, Loader, LoaderUtils, Mesh, MeshPhongMaterial } from 'three'; import * as fflate from '../libs/fflate.module.js'; /** * Description: Early release of an AMF Loader following the pattern of the * example loaders in the three.js project...
/** * maryamyriameliamurphies.js * A library of Haskell-style morphisms ported to ES2015 JavaScript. * * test/monad-test.js * * @file Tests for Monad type class. * @license ISC */ /* global describe, it */ import { print, inject, flatMap, chain, flatMapFlip, join, liftM, Do, Nothing, just,...
var extend = require('../../utility/extend'), Message_Reply = require('../../message/reply'), Enum_Replies = require('../../enum/replies'); class Message_Reply_ISupport extends Message_Reply { setTags(tags) { this.tags = tags; return this; } setWords(words) { return this.setTags(words); } get...
'use strict'; const pingFunctions = require('../src/aws/pingFunctions'); describe('pingFunctions', function() { let session, listFunctionsFn, invokeFn; beforeEach(function() { listFunctionsFn = spyWithPromise(function(resolve, reject) { // eslint-disable-line no-unused-vars resolve({ ...
var gulp = require( 'gulp' ), browserify = require( 'browserify' ), reactify = require( 'reactify' ), babelify = require( 'babelify' ), source = require( 'vinyl-source-stream' ); gulp.task( 'react', function() { return gulp.src( 'components/Index.jsx' ) .on('error', ErrorHandler) .pipe( react() ) .pipe...
const { test } = require('tap') const outside = require('../../lib/ranges/outside') const versionGtr = require('../fixtures/version-gt-range') const versionNotGtr = require('../fixtures/version-not-gt-range') const versionLtr = require('../fixtures/version-lt-range') const versionNotLtr = require('../fixtures/version-n...
import Project from './project.js'; import _ from 'lodash'; export default class ProjectRepository { constructor({trackerApiClient, chromeWrapper}) { this._trackerApiClient = trackerApiClient; this._chromeWrapper = chromeWrapper; this.update = this.update.bind(this); } findById(projectId) { ret...
"use strict"; const sand = require('sand'); const memcache = require('..'); const memcached = require('memcached'); const co = require('co'); const servers = '<yourserver>:11211'; let c = new memcached(servers); c.set('mykey', 'myvalue', 10, function() { console.log(arguments); c.get('mykey', function() { ...
import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import Header from '../components/Header'; import Body from '../components/Body'; import Footer from '../components/Footer'; import withData from '../lib/withData'; import withIntl from '../lib/withIntl'; import withLoggedInUser from '../lib...
import assert from "assert"; import * as babel from "../lib/index"; import path from "path"; describe("addon resolution", function() { const base = path.join(__dirname, "fixtures", "resolution"); let cwd; beforeEach(function() { cwd = process.cwd(); process.chdir(base); }); afterEach(function() { ...
import React from 'react'; import { parse } from 'react-docgen'; import CodeExample from '../../../components/CodeExample'; import ComponentHeader from '../../../components/ComponentHeader'; import PropTypeDescription from '../../../components/PropTypeDescription'; import Demo from './Demo'; // eslint-disable-next-lin...
var test = require('tape'); var HmacRng = require('./../lib/index'); HmacRng.defaultAlgorithm = 'sha512'; test('generating an integer with different algorithms', function (t) { var rng1 = new HmacRng('test'); var rng2 = new HmacRng('test', 'sha256'); t.equal(rng1.nextInt(0, 100000), 99441); t.equal(rng2.next...
// ==UserScript== // @name Monster Minigame AutoScript // @author /u/mouseasw for creating and maintaining the script, /u/WinneonSword for the Greasemonkey support, and every contributor on the GitHub repo for constant enhancements. // @version 2.4.3 // @namespace https://github.com/mouseas/steamSummerMinigame // @des...
var assert = require('chai').assert; var fixBase64 = require('../lib/fix-base64'); describe('fixBase64', function() { it('+-a+b/c=', function() { assert.equal(fixBase64('+-a+b/c='), 'a-b_c'); }); });
'use strict'; describe('devunion.version module', function() { beforeEach(module('devunion.version')); describe('interpolate filter', function() { beforeEach(module(function($provide) { $provide.value('version', 'TEST_VER'); })); it('should replace VERSION', inject(function(interpolateFilter) {...
import { MODE_3D_VIEW, MODE_3D_FIRST_PERSON, SELECT_TOOL_3D_VIEW, SELECT_TOOL_3D_FIRST_PERSON } from '../constants'; import { Project } from '../class/export'; import { history } from '../utils/export'; export default function (state, action) { state = state.merge({ sceneHistory: history.historyPush(state.sceneHist...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zM4 7c-.55 ...
/** * Gets the current page position. * * @see https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY * @param {String} direction - The direction that should be retrieved. This * should be either 'x' or 'y'. * @return {number} the position of the direction on the page. */ export default function getP...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
System.import('some_module') .then(some_module => { // Use some_module }) .catch(error => { // Handle the error });
module.exports = function(grunt) {"use strict"; var pkg = grunt.file.readJSON("package.json"), COPYRIGHT = '/*!\r\n' + pkg.name + ' v' + pkg.version + '\r\n' + pkg.homepage + '\r\n' + pkg.description + '\r\n(c) 2015 ' + pkg.author.name + '( ' + pkg.author.email + ' | ' + pkg.author.url + ' | QQ: ' + pkg...
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, TouchableOpacity, TextInput, Image, Platform, ScrollView } from 'react-native'; var Dimensions = require('...
'use strict'; /** * Module dependencies. */ var passport = require('passport'), url = require('url'), GoogleStrategy = require('passport-google-oauth').OAuth2Strategy, users = require('../../app/controllers/users'); module.exports = function(config) { // Use google strategy passport.use(new GoogleStrategy...
'use strict'; var express = require('express'); var path = require('path'); var winston = require('winston'); var eWinston = require('express-winston'); var bodyParser = require('body-parser'); var Queue = require('./lib/queue'); var conf = require('./lib/config'); var ledstrip = require('./lib/ledstrip'); // routes ...
define(function() { 'use strict'; function BootSectorDisambiguatorView(buffer, byteOffset, byteLength) { this.dv = new DataView(buffer, byteOffset, byteLength); this.bytes = new Uint8Array(buffer, byteOffset, byteLength); } BootSectorDisambiguatorView.prototype = { get hasValidSignature() { ...
import withRedux from 'next-redux-wrapper'; import configureStore from '../store/createStore'; import withLayout from '../hocs/withLayout'; import Statistic from '../routes/Statistic'; const Page = withLayout(Statistic); export default withRedux(configureStore)(Page);
'use strict'; /** * Manages position and facing state. */ const matrix = require('./matrix.js'); class Camera { constructor(x, y, z, radiansRight, radiansUp, fovRadians, aspectRatio) { this.model = matrix.createIdentityMat4(); this.projection = matrix.createPerspective(fovRadians, aspectRatio, 1, 100); ...
/*/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ |---searpagort--By Bunnyfrag-(Blame the trainee)---| |--------------------------------------------------| \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Special thanks to Steve for the help */ class SPO { constructor(ListId,Lpp,PageNbId) ...
function AuthController($scope, $state, Auth, Flash) { $scope.login = function () { Auth.login($scope.user).then(function (res) { $state.go('home'); }, function (error) { $scope.errorAlert(error); }); }; $scope.register = function () { Auth.register($scope.user).then(function successC...
/** * $Id$ * * Inuktitut IME implementation * * This software is protected by patent No.2009611147 issued on 20.02.2009 by Russian Federal Service for Intellectual Property Patents and Trademarks. * * @author Konstantin Wiolowan * @copyright 2008-2009 Konstantin Wiolowan <wiolowan@mail.ru> * @version ...
import DomStorage from './domStorage'; let singleton = null; if (singleton === null) { singleton = new DomStorage(global.sessionStorage); } module.exports = singleton;
define(['external'], function (a) { 'use strict'; /* this is an intro */ // intro 1 // intro 2 var a__default = 'default' in a ? a['default'] : a; console.log( a__default ); console.log( a.b ); var main = 42; return main; /* this is an outro */ // outro 1 // outro 2 });
var https = require('q-io/http'), querystring = require('querystring'), processByMimeType = require("./lib/mimeProcessor"), extend = require('underscore').extend, httpAgent = require('https'); /** * module: ApiResource * exports: boilerplate for dealing with resources * usage: * * var resource = requ...
import Ember from 'ember'; import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('svg-pie', 'Integration | Component | svg pie', { integration: true }); test('it renders', function(assert) { this.set('data', [ {value: 10}, Ember.Object.cr...
module.exports = Talent; function Talent (angel) { this.angel = angel; } Talent.prototype.startups = function (callback) { return this.angel.request('/talent/startups', callback); }; Talent.prototype.candidates = function (startupId, callback) { return this.angel.request('/talent/candidates', {qs: {startup_id:...
/** * Created by cool.blue@y7mail.com on 22/08/2015. * Returns an afine transform that maps from top left to bottom left origin * the transform is wrapped in an object that will be accepted by .attr() in d3 * @param height * - height of the plot area in pixels * @returns * - attr object */ function transplo...
var fs = require('fs') var Pbf = require('pbf') var path = require('path') var gdal = require('gdal') var Tile = require('./vector_tile_protobuf.js').tile const EXTENT = 4096 // these command values are defined in vector_tile.proto const MOVE_TO = 1 const LINE_TO = 2 const CLOSE_PATH = 7 function zigzagEncode(n) {...
import React from 'react'; import ReactDOM from 'react-dom'; import { AUlabel, AUhintText, AUerrorText, AUformGroup, AUfieldset, AUForm, AUlegend } from './form.js'; import AUtextInput from '../../../text-inputs/src/js/react'; import AUheading from '../../../headings/src/js/react'; import AUselect from '../../../selec...
/** * Created by chkui on 2017/6/21. */ require('babel-polyfill') // Node babel source map support require('source-map-support').install() // Javascript require hook require('babel-register')({ presets: ['es2015', 'react', 'stage-0'], plugins: ['add-module-exports'] }) // Css require hook require('css-modu...
game.module( 'plugins.sequencer' ) .body(function () { 'use strict'; game.Sequencer = game.PIXI.MovieClip.extend({ settings: {}, sequence: 'default', sequences: [], init: function(pattern, sequence, loop, animationSpeed) { var match; if (match = pattern.match(/([a-z-...
import template from './resetPassword.html'; import controller from './resetPassword.controller'; import './resetPassword.scss'; let resetPasswordComponent = { restrict: 'E', bindings: {}, template, controller, controllerAs: 'vm' }; export default resetPasswordComponent;
require("./IDrawable.js"); require("./Vector.js"); /** * Creates a new Rectangle object. * @constructor * @struct * @implements IDrawable * @param {!number} width * @param {!number} height * @param {Vector=} position * @returns {Rectangle} */ function Rectangle(width, height, position) { /** * Specifies th...
/// <binding /> module.exports = function (grunt) { "use strict"; var srcRoot = "src/i18n/", srcRootEn = "src/en-master/", distRoot = "dist/", tmpRoot = "tmp/", tmpAnalytics = "tmp/analyt/", analysisRoot = "analysis/", typePath = "content-types/", packs = ...
app.controller('PrescriptionController', function ($scope, $http, $cookies, $routeParams, $location, $mdDialog) { var config = { headers: { 'x-access-token': $cookies.get('token') } }; $http.get(API_URL + 'patients/' + $cookies.get('user') + '/prescriptions', config).then(function (data) { $scope.prescrip...
var Variable, bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; Variable = (function() { function Variable() { this.quotient = bind(this.quotient, this); this.prod = bind(this.prod, this); this.diff = bind(this.diff, this); this.sum = bind(this.sum, this); this.c...
/** * Created by Dennis on 20/06/17. */ import store from '../../stores/index'; import ResultSetMusicbrainz from "./implemented/musicbrainz2"; import ResultSetFreebase from "./implemented/freebase2"; import ResultSetOpenStreetMap from "./implemented/openstreetmap2"; import ResultSetWikidata from "./implemented/wikid...
const maxColumnWidth = (rows, columnIndex) => Math.max(...rows.map(row => row[columnIndex].length)); export default class PasteMarkdownTable { constructor(clipboardData) { this.data = clipboardData; this.columnWidths = []; this.rows = []; this.tableFound = this.parseTable(); } isTable() { re...
core.require('/shape/shadedRectangle.js','/container/textAndImage.js',function (borderPP,contentsPP) { let item = svg.Element.mk('<g/>'); /* adjustable parameters */ item.width = 50; item.height = 35; item.cornerRadiusFraction = 0.3; item.stroke = 'black'; item['stroke-width'] = .1; item.outerFill = 'rgb(100,100,240...
define([ 'jquery', 'underscore', 'backbone', 'text!templates/adminTemplate.html', 'jquerycookie', 'authentication', 'models/User', 'models/Beach', ], function ($, _, Backbone, adminTemplate, jQueryCookie, authentication, UserModel, BeachModel) { var AdminTemplateView = Backbone....
const fp = require("lodash/fp"); const fs = require("fs"); const Module = require("module"); const updatePaths = fp.update( "paths", // eslint-disable-next-line no-underscore-dangle () => Module._nodeModulePaths(process.cwd()) ); const listRequiredModules = packageName => { try { const module = updatePath...
import app from "../../src/app"; import request from "supertest"; import expect from "expect.js"; import db from "../../db/models"; let user = { id: 10, firstName: "john", lastName: "Doe", email: "john.doe@gmail.com", password: "john", createdAt: new Date(), updatedAt: new Date() }; /** *...
define(['./alasqlavanza', './alasqlnordnet', './monthstaticvalues'], function(alasqlavanza, alasqlnordnet, monthstaticvalues) { var chartData; var chartId; var chartYearValues = []; var total = []; function resetArrayValues() { chartYearValues = []; } function setChartId(fieldId) ...
git://github.com/robdel12/DropKick.git
var searchData= [ ['commandmap',['CommandMap',['../classcrap_1_1_network_command_queue.html#a95baa8d1062378159d610e09d8eb8d09',1,'crap::NetworkCommandQueue']]], ['connectionmap',['ConnectionMap',['../classcrap_1_1_udp_connection.html#a2182c50061f2f64c874b4e74a4de64e9',1,'crap::UdpConnection']]], ['controllerbindi...
module.exports = { up(queryInterface, Sequelize) { return queryInterface.createTable('Users', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER }, username: { unique: true, type: Sequelize.STRING }, ...
/** * Module dependencies. */ var util = require('util') , OAuth2Strategy = require('passport-oauth').OAuth2Strategy , InternalOAuthError = require('passport-oauth').InternalOAuthError; /** * `Strategy` constructor. * * The SoundCloud authentication strategy authenticates requests by delegating * to SoundCl...
import React, { Component } from 'react' import { connect } from 'react-redux' import styled from 'styled-components' import { getQuestion } from '../../selectors' import Vector from '../Vector' import Haystack from '../Haystack' import { P } from '../../components/Text' import { Circle } from '../../components/Summa...
/** * util-lang.js - The minimal language enhancement */ function isType(type) { return function(obj) { return Object.prototype.toString.call(obj) === "[object " + type + "]" } } var isObject = isType("Object") var isString = isType("String") var isArray = Array.isArray || isType("Array") var isFunction = i...
let Colors = require('material-ui/lib/styles/colors'); let ColorManipulator = require('material-ui/lib/utils/color-manipulator'); let Spacing = require('material-ui/lib/styles/spacing'); module.exports = { spacing: Spacing, fontFamily: 'Roboto, sans-serif', palette: { primary1Color: Colors.white, primary...
var Handlebars = require('hbsfy/runtime'); var template = require('./../../../views/desktop/experience-enter.hbs'); module.exports = app.Extensions.View.extend({ className: 'experience-enter', render: function () { document.title = 'Dรฉcouvrer la maladie d\'Alzheimer โ€ข Remind Me'; this.$el.h...
/* Written and Design by C.Perrenoud License: Free to use, replicate, and modify as long as the original and contributing authros names remains and credit provided.. Description: Simple algoritm use to generate prime, even, and odd numbers that outputs on the webpages. The input will take only numbers parse at the ne...
import patch from './patch'; import Logger from './Logger'; import Comparator from './Comparator'; export default (...args) => { if (args.length > 2) { console.error('[clear-render] Error: Too many arguments'); return null; } if (args.length === 0) { console.error('[clear-render] Error: extended Re...