code stringlengths 2 1.05M |
|---|
import { ZoneScheduler } from 'angularfire2';
import * as utils from './utils';
import 'firebase/database';
import { FirebaseListObservable } from './firebase_list_observable';
import { observeOn } from 'rxjs/operator/observeOn';
import { observeQuery } from './query_observable';
import { switchMap } from 'rxjs/operato... |
'use strict';
var Promise = require('../../lib/ext/promise');
var path = require('path');
var fs = require('fs-extra');
var remove = Promise.denodeify(fs.remove);
var runCommand = require('../helpers/run-command');
var acceptance = require('../helpers/acceptance');
var copyFixtu... |
/**
* @fileoverview Raphael bubble chart renderer.
* @author NHN.
* FE Development Lab <dl_javascript@nhn.com>
*/
import raphaelRenderUtil from './raphaelRenderUtil';
import snippet from 'tui-code-snippet';
import raphael from 'raphael';
const ANIMATION_DURATION = 700;
const CIRCLE_OPACITY = 0.8;
const ST... |
import Typography from 'typography'
import Wordpress2016 from 'typography-theme-wordpress-2016'
Wordpress2016.overrideThemeStyles = () => {
return {
'a.gatsby-resp-image-link': {
boxShadow: `none`,
},
}
}
delete Wordpress2016.googleFonts
const typography = new Typography(Wordpress2016)
// Hot relo... |
var utils = require('../../../utils');
module.exports = function BooleanType(config) {
var self = {
selector: '.field-type-boolean[for="' + config.fieldName + '"]',
elements: {
button: 'button',
label: 'span',
value: 'label input[name="' + config.fieldName + '"]',
},
commands: [{
assertUI: functio... |
var BaseCommand = require('./base_command').BaseCommand,
inherits = require('util').inherits;
/**
Insert Document Command
**/
var DeleteCommand = exports.DeleteCommand = function(db, collectionName, selector, flags) {
BaseCommand.call(this);
// Validate correctness off the selector
var object = selector;
... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
(function(global) {
glo... |
console.log('widget........'); |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("v... |
/*!
* filename: ej.localetexts.ro-RO.js
* Copyright Syncfusion Inc. 2001 - 2016. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicab... |
export function T() {
return true;
}
// Fix IE file.status problem
// via coping a new Object
export function fileToObject(file) {
return {
lastModified: file.lastModified,
lastModifiedDate: file.lastModifiedDate,
name: file.filename || file.name,
size: file.size,
type: f... |
import Ember from 'ember';
export default Ember.Mixin.create({
KEY_CODES: {
BACKSPACE: 8,
DELETE: 46,
DOWN: 40,
ENTER: 13,
LEFT: 37,
RIGHT: 39,
SPACEBAR: 32,
TAB: 9,
UP: 38,
ESCAPE: 27
}
});
|
"use strict";
var neume = require("../../src");
describe("neume.Context", function() {
var audioContext = null;
var context = null;
beforeEach(function() {
audioContext = new global.AudioContext();
context = new neume.Context(audioContext.destination, {
scheduleInterval: 0.05, scheduleAheadTime: ... |
/*!
* jQuery JavaScript Library v1.11.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-css,-css/addGetHookIf,-css/curCSS,-css/defaultDisplay,-css/hiddenVisibleSelectors,-css/support,-css/swap,-css/var/cssExpand,-css/var/isHidd... |
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
(function($) {
if (!$) {
return;
}
$(function() {
if (navigator.registerProtocolHandler) {
$('.package-installer').show();
} else ... |
/*
* Copyright (C) 2009 Apple Inc. All rights reserved.
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain ... |
var response_lib = require('../../lib/response_lib');
var reql = require('../../lib/request_lib');
var base = '/svc/politics/v3/us/legislative/congress';
var keyName = 'congress';
function other (keys) {
this.myKeys = keys;
}
/*Other*/
other.prototype.statePartyCounts = function (args, callback) {
var specific... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><defs><path id="a" d="M24 24H0V0h24v24z" /></defs><path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-... |
// $Id: calendar-fi.js 6573 2007-03-09 08:36:16Z slip $
// ** I18N
// Calendar FI language (Finnish, Suomi)
// Author: Jarno Käyhkö, <gambler@phnet.fi>
// Encoding: UTF-8
// Distributed under the same terms as the calendar itself.
// full day names
Zapatec.Calendar._DN = new Array
("Sunnuntai",
"Maanantai",
"Tiist... |
/////////////////////////////////////////////////////////////
// Autor: Nergal
// Date: 2014-01-08
/////////////////////////////////////////////////////////////
"use strict";
// constants
var WATER = 500000;
var SUICIDE = 500001;
/////////////////////////////////////////////////////////////
// Player base 'class'
///... |
'use strict';
moduloEspecialidad.factory('especialidadService', ['serverService', function (serverService) {
return {
getFields: function () {
return [
{name: "id", shortname: "ID", longname: "Identificador", visible: true, type: "id"},
{name: ... |
'use strict';
var fusebill = require('../testUtils').getSpyableFusebill();
var expect = require('chai').expect;
var Promise = require('bluebird');
var fs = require('fs');
var path = require('path');
var TEST_AUTH_KEY = 'aGN0bIwXnHdw5645VABjPdSn8nWY7G11';
describe('File Uploads Resource', function() {
describe('ret... |
/****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of t... |
import produce from 'immer';
import { R as RandomPlugin } from './plugin-random-087f861e.js';
import isPlainObject from 'lodash.isplainobject';
/*
* Copyright 2017 The boardgame.io Authors
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://o... |
!function(){
var d3 = {version: "3.5.5"}; // semver
d3.ascending = d3_ascending;
function d3_ascending(a, b) {
return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
}
d3.descending = function(a, b) {
return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
};
d3.min = function(array, f) {
var i = -1,
n = array.leng... |
/**
* rcmUserRolesService
*/
'use strict';
/** rcmUser from core js **/
rcmUser.rcmUserRolesService = {};
angular.module('rcmUserRolesService', ['rcmuserCore']);
if (typeof rcm != 'undefined') {
rcm.addAngularModule('rcmUserRolesService');
}
|
'use strict';
var _ = require('lodash');
var util = require('util');
var assert = require('assert');
var knex = require('knex');
var ripple = require('ripple-lib');
var validator = require('./schema-validator');
function noop() {
return;
}
var defaultLogger = {
debug: noop,
info: noop,
warn: noop,
error: no... |
/*!
* ws: a node.js websocket client
* Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com>
* MIT Licensed
*/
'use strict';
const EventEmitter = require('events');
const crypto = require('crypto');
const Ultron = require('ultron');
const https = require('https');
const http = require('http');
const url = req... |
/*! instant.page v1.1.1 - (C) 2019 Alexandre Dieulot - https://instant.page/license */
let urlToPreload
let mouseoverTimer
let lastTouchTimestamp
const prefetcher = document.createElement('link')
const isSupported = prefetcher.relList && prefetcher.relList.supports && prefetcher.relList.supports('prefetch')
const all... |
(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.typescriptDefe... |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Container, Form, Button } from 'semantic-ui-react';
import StarRatingComponent from 'react-star-rating-component';
import { getUserDetails } from '../UserDetails/actions';
import { changeStars, changeForm, submitRatingsForm } from... |
require('../../lib/Object/deepMerge');
const { expect } = require('chai');
describe('Deep Merge', function () {
it('deepMerge should work', () => {
expect(
__jymfony.deepMerge({}, {
foo: 'bar',
bar: {
baz: [ 'foobar', 'foo' ],
... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationSystemUpdate = (props) => (
<SvgIcon {...props}>
<path d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14zm-1-6h-3V8h-2v5H8l4 4 4-4z"/>
</Sv... |
"use strict";
const http = require("http");
const url = require("url");
const blockingproxy_1 = require("./blockingproxy");
class BPClient {
constructor(bpUrlValue) {
let bpUrl = url.parse(bpUrlValue);
this.hostname = bpUrl.hostname;
this.port = parseInt(bpUrl.port);
}
/**
* Tog... |
"use strict";
var fileWrapper = require("../file-wrapper");
function ReplExpression(transform, node) {
return fileWrapper([transform(node.expression)]);
}
module.exports = ReplExpression;
|
Ext.require('Ext.chart.*');
Ext.require(['Ext.layout.container.Fit', 'Ext.window.MessageBox']);
Ext.onReady(function () {
store1.loadData(generateData(6, 20));
var donut = false;
var chart = Ext.create('Ext.chart.Chart', {
xtype: 'chart',
animate: true,
store: store1,
... |
/*
* Copyright (C) 2009 Joel Sutherland
* Licenced under the MIT license
* http://www.newmediacampaigns.com/page/jquery-flickr-plugin
*
* Available tags for templates:
* title, link, date_taken, description, published, author, author_id, tags, image*
*/
(function($) {
$.fn.jflickrfeed = function(settings, callback) {
... |
define([
"./core",
"./var/indexOf",
"./traversing/var/rneedsContext",
"./core/init",
"./traversing/findFilter",
"./selector"
], function( jQuery, indexOf, rneedsContext ) {
var rparentsprev = /^(?:parents|prev(?:Until|All))/,
// Methods guaranteed to produce a unique set when starting from a unique set
guarant... |
#!/usr/bin/env node
// Copyright (c) 2017 Uber Technologies, Inc.
//
// 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,... |
version https://git-lfs.github.com/spec/v1
oid sha256:fe1fa8bbc00af3531a331f1d3a98426f32a1d9985d67618572b1bb7f0cb81b40
size 519
|
(function () {
var $super = Editor.IpcListener;
function IpcForward () {
$super.call(this);
}
Editor.JS.extend(IpcForward,$super);
IpcForward.prototype.on = function (message) {
$super.prototype.on.call( this, message, function () {
var args = [].slice.call( arguments, ... |
/**
* @fileoverview client模式专用,根据map.json和static-conf.js合并资源
* @author liweitao
*/
'use strict';
var fs = require('fs');
var path = require('path');
var _ = require('lodash');
var vinylFs = require('vinyl-fs');
var es = require('event-stream');
var gutil = require('gulp-util');
var Util = require('../../util');
va... |
import { computed, addObserver } from 'ember-metal';
import { testBoth } from 'internal-test-helpers';
import EmberObject from '../../system/object';
QUnit.module('mixins/observable');
QUnit.test('should be able to use getProperties to get a POJO of provided keys', function(assert) {
let obj = EmberObject.create({
... |
function OnLoad() {
var options = {
sourceLanguage:
google.elements.transliteration.LanguageCode.ENGLISH,
destinationLanguage:
[google.elements.transliteration.LanguageCode.TAMIL],
shortcutKey: 'ctrl+g',
transliterationEnabled: true
};
var con... |
/*!
* jQuery JavaScript Library v2.0.1 -sizzle,-css,-event-alias,-effects,-offset,-dimensions,-deprecated
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
*... |
/****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of t... |
(function(win) {
var whiteSpaceRe = /^\s*|\s*$/g,
undefined, isRegExpBroken = 'B'.replace(/A(.)|B/, '$1') === '$1';
var tinymce = {
majorVersion : '3',
minorVersion : '4.2',
releaseDate : '2011-04-07',
_init : function() {
var t = this, d = document, na = navigator, ua = na.userAgent, i, ... |
/*
Highcharts JS v7.0.3 (2019-02-06)
Indicator series type for Highstock
(c) 2010-2019 Wojciech Chmiel
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define(function(){return a}):a("undefined"!... |
/*!
* wavesurfer.js mediasession plugin 2.2.1 (2019-03-18)
* https://github.com/katspaugh/wavesurfer.js
* @license BSD-3-Clause
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'func... |
"use strict";var Hsva=function(){function i(i,t,s,n){this.h=i,this.s=t,this.v=s,this.a=n}return i}();exports.Hsva=Hsva;var Hsla=function(){function i(i,t,s,n){this.h=i,this.s=t,this.l=s,this.a=n}return i}();exports.Hsla=Hsla;var Rgba=function(){function i(i,t,s,n){this.r=i,this.g=t,this.b=s,this.a=n}return i}();exports... |
import { Migrations } from '../../../app/migrations/server';
import { LivechatDepartmentAgents } from '../../../app/models/server';
const removeOrphanDepartmentAgents = async () => {
const orphanAgentIds = (await LivechatDepartmentAgents.model.rawCollection().aggregate([
{
$lookup: {
from: 'rocketchat_livech... |
var gulp = require('gulp');
var gutil = require('gulp-util');
var WebpackDevServer = require('webpack-dev-server');
var webpack = require('webpack');
var path = require('path');
var config = require('../webpack.config');
gulp.task('webpack-dev-server', function(ca... |
/*
* Pokemon Data translations
*TODO: mountaineer, rebound, persistent, paleowave, shadowstrike, magikarpsrevenge, pikachucosplay, pikachurockstar, pikachubelle, pikachupopstar, pikachuphd, pikachulibre, pichuspikyeared, castformsunny, castformrainy, castformsnowy, deoxysattack, deoxysdefense, deoxysspeed, wormadamsan... |
'use strict';
(function() {
// Levels Controller Spec
describe('Levels Controller Tests', function() {
// Initialize global variables
var LevelsController,
scope,
$httpBackend,
$stateParams,
$location;
// The $resource service augments the response object with methods for updating and deleting the res... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The "do" token can not be used as identifier
es5id: 7.6.1.1_A1.7
description: Checking if execution of "do=1" fails
negative: SyntaxError
---*/
do = 1;
|
import {Metadata} from 'aurelia-metadata';
import {ValidationGroupBuilder} from './validation-group-builder';
import {ValidationResult} from './validation-result';
import {ValidationMetadata} from './decorators';
/**
* Encapsulates validation rules and their current validation state for a given subject
* @class Vali... |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// TODO actually recognize syntax of TypeScript constructs
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"))... |
// Ratio of Obese (BMI >= 30) in U.S. Adults, CDC 2008
var data = [
, .187, .198, , .133, .175, .151, , .1, .125, .171, , .172, .133, , .108,
.142, .167, .201, .175, .159, .169, .177, .141, .163, .117, .182, .153, .195,
.189, .134, .163, .133, .151, .145, .13, .139, .169, .164, .175, .135, .152,
.169, , .132, .... |
'use strict';
var RSVP = require('rsvp');
var api = require('../api');
var version = 'v2beta1';
var _listEntries = function(projectId, filter, pageSize, order) {
return api.request('POST', '/' + version + '/entries:list', {
auth: true,
data: {
projectIds: [projectId],
filter: filter,
orde... |
var types = require('../lib/types')
, assert = require('assert')
, inspect = require('util').inspect
test('v@:'
, [ 'v', [ '@', ':' ] ]
, [ 'void', [ 'pointer', 'pointer' ] ]
)
// test types.map()
assert.equal(types.map('r^v'), 'pointer')
assert.equal(types.map('r^^{__CFData}'), 'pointer')
assert.equal(types.... |
/*
* AppDispatcher
*
* A singleton that operates as the central hub for application updates.
*/
var Dispatcher = require('flux').Dispatcher;
module.exports = new Dispatcher(); |
var moment = require("../../index");
exports["Asia/Magadan"] = {
"1924" : function (t) {
t.equal(moment("1924-05-01T13:56:47+00:00").tz("Asia/Magadan").format("HH:mm:ss"), "23:59:59", "1924-05-01T13:56:47+00:00 should be 23:59:59 LMT");
t.equal(moment("1924-05-01T13:56:48+00:00").tz("Asia/Magadan").format("HH:mm... |
'use strict';
/* Directives */
angular.module('hp.directives', []).
directive('appVersion', ['version', function(version) {
return function(scope, elm, attrs) {
elm.text(version);
};
}]);
|
(function () {
'use strict';
var _ = require('lodash');
var assert = require('assert');
var Entity = require('../entity.js');
var World = require('../world.js');
var CollisionSystem = require('../systems/collisionSystem.js');
var Collision= require('../components/collision.js');
var ... |
goog.provide("trapeze.cos.COSNull");
trapeze.cos.COSNull = function() {
};
trapeze.cos.COSNull.NULL = new trapeze.cos.COSNull(); |
var searchData=
[
['send',['send',['../class_email.html#a2639d2478cd4dd7ed3899db9efd36453',1,'Email::send()'],['../class_sms.html#aee594ff63075942d0b2eb6e7b0751348',1,'Sms::send()']]],
['sendflashstringonserial',['sendFlashStringOnSerial',['../class_virtual_shield.html#a5ed897857e83ef4062d81630a198c049',1,'VirtualS... |
'use strict';
var Transform = require('stream').Transform;
var PassThrough = require('stream').PassThrough;
var staticModule = require('static-module');
var resolve = require('resolve');
var path = require('path');
var stringify = require('js-stringify');
var isTemplateLiteral = require('./utils/is-template-literal.js... |
define(['exports', 'module', 'react', '../Grid'], function (exports, module, _react, _Grid) {
'use strict';
function _interopRequire(obj) { return obj && obj.__esModule ? obj['default'] : obj; }
var _React = _interopRequire(_react);
var _Grid2 = _interopRequire(_Grid);
module.exports = _React.createFactor... |
/*jslint node: true */
/*global describe, it, before, beforeEach, after, afterEach */
"use strict";
var assert = require('chai').assert;
var structure = require('../lib/pg-structure.js');
var testDB = require('./util/db.js');
var db;
describe('pg-structure', function () {
afterEach(functi... |
describe('predefine', function () {
'use strict';
var predefine = require('../')
, chai = require('chai')
, expect = chai.expect;
chai.Assertion.includeStack = true;
it('exports as function', function () {
expect(predefine).to.be.a('function');
});
it('correctly assigns the value', function ... |
var Botkit = require(__dirname+'/CoreBot.js');
var request = require('request');
var express = require('express'),
bodyParser = require("body-parser");
function Slackbot(configuration) {
// Create a core botkit bot
var slack_botkit = Botkit(configuration||{});
// customize the bot definition, which will b... |
export default c => ({
self: {
fontSize: '16px',
padding: '10px',
margin: '5px 0',
flexFlow: 'row',
alignItems: 'center',
backgroundColor: c.chatItemBG,
color: c.chatItemColor,
borderRadius: '15px',
maxWidth: '80%',
position: 'relative'
},
inner: {
overflow: 'hidden',
... |
/**
* Module dependencies
*/
var crypto = require('crypto')
/**
* Session State
*/
function sessionState (client, origin, state) {
var salt = crypto.randomBytes(16).toString('hex')
var value = [client._id, client.client_uri, state, salt].join(' ')
var sha256 = crypto.createHash('sha256')
sha256.update(va... |
function foo () {
var a, b, c;
b = 1;
}
foo();
export default 42;
|
/**
* promise validator
*
* @link http://formvalidation.io/validators/promise/
* @author https://twitter.com/formvalidation
* @copyright (c) 2013 - 2015 Nguyen Huu Phuoc
* @license http://formvalidation.io/license/
*/
(function($) {
FormValidation.I18n = $.extend(true, FormValidation.I18n |... |
// Open Source Initiative OSI - The MIT License (MIT):Licensing
//
// The MIT License (MIT)
// Copyright (c) 2012 DotCloud Inc (opensource@dotcloud.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal ... |
import acorn from 'acorn/dist/acorn.js';
import acornJsx from 'acorn-jsx/inject';
import acornObjectSpread from 'acorn-object-spread/inject';
import Program from './program/Program.js';
import { features, matrix } from './support.js';
import getSnippet from './utils/getSnippet.js';
const { parse } = [
acornObjectSpre... |
module.exports=['\uD800\uDFA0','\uD800\uDFA1','\uD800\uDFA2','\uD800\uDFA3','\uD800\uDFA4','\uD800\uDFA5','\uD800\uDFA6','\uD800\uDFA7','\uD800\uDFA8','\uD800\uDFA9','\uD800\uDFAA','\uD800\uDFAB','\uD800\uDFAC','\uD800\uDFAD','\uD800\uDFAE','\uD800\uDFAF','\uD800\uDFB0','\uD800\uDFB1','\uD800\uDFB2','\uD800\uDFB3','\uD... |
/*
*/
var moment = require('moment');
var Parser = require('../parser').Parser;
var ParsedResult = require('../../result').ParsedResult;
var util = require('../../utils/EN');
var DAYS_OFFSET = { 'sunday': 0, 'sun': 0, 'monday': 1, 'mon': 1,'tuesday': 2, 'tue':2, 'wednesday': 3, 'wed': 3,
'thursda... |
module.exports={title:"Komoot",slug:"komoot",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Komoot</title><path d="'+this.path+'"/></svg>'},path:"M9.8 14.829l2.2-3.43 2.2 3.43 5.962 5.962A11.946 11.946 0 0 1 12 24c-3.043 0-5.935-1.14-8.162-3.209zM0 12C0 5.385 5.385 0 12 0... |
/*global module:false*/
module.exports = function (grunt) {
require('load-grunt-config')(grunt);
require('jit-grunt')(grunt);
grunt.registerTask('js', ['jshint','jasmine']);
grunt.registerTask('twig', ['yaml','twigRender']);
grunt.registerTask('scss', ['compass']);
grunt.registerTask('default', ['clean','... |
module.exports = {
description: 'renames function expression IDs correctly'
};
|
/* globals Reflect */
import { DEBUG } from '@glimmer/env';
const setPrototypeOf = Object.setPrototypeOf;
const getPrototypeOf = Object.getPrototypeOf;
const hasReflectConstruct = typeof Reflect === 'object' && typeof Reflect.construct === 'function';
const nativeWrapperCache = new Map();
// Super minimal version ... |
/*!
* jquery.confirm
*
* @version 2.3.1
*
* @author My C-Labs
* @author Matthieu Napoli <matthieu@mnapoli.fr>
* @author Russel Vela
* @author Marcus Schwarz <msspamfang@gmx.de>
*
* @license MIT
* @url https://myclabs.github.io/jquery.confirm/
*/
(function ($) {
/**
* Confirm a link or a button
... |
(function(angular, $) {
'use strict';
angular.module('FileManagerApp').service('apiHandler', ['$http', '$q', '$window', '$translate', 'Upload',
function ($http, $q, $window, $translate, Upload) {
$http.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
var ApiHandler = fun... |
'use strict';
module.exports = {
db: 'mongodb://' + (process.env.DB_PORT_27017_TCP_ADDR || 'localhost') + '/mean-prod',
/**
* Database options that will be passed directly to mongoose.connect
* Below are some examples.
* See http://mongodb.github.io/node-mongodb-native/driver-articles/mongoclient.html#mon... |
// A requireJS plugin that returns an absolute URL given a URL relative to
// the base path
//
// e.g. to use:
//
// require(['src/getUrl!images/elephant.png'], function (elephantUrl) {
// // do something with elephantUrl
// });
define({
load: function (name, req, load, config) {
load(req.t... |
/**
* Image Select (Version 1.8)
*
* Image Select is an extention to the Chosen, a Select Box Enhancer for
* jQuery and Prototype, full source at https://github.com/harvesthq/chosen
*
* This plugin extension was designed as a humanized UI element for social networking
* sites that need to faciliate relations bet... |
/**
* This is the api to be used when handling the integration with the web page instead of using the default integration
* (mermaid.js).
*
* The core of this api is the **render** function that given a graph definitionas text renders the graph/diagram and
* returns a svg element for the graph. It is is then up to... |
'use strict';
var Connection = require('../../fixtures/stub_connection');
var Plugin = require('../../fixtures/stub_plugin');
var config = require('../../../config');
var ResultStore = require("../../../result_store");
var _set_up = function (done) {
this.plugin = new Plugin('relay_acl');
this... |
angular.module('testx', ['firebase']);
describe("AngularFireAuth Test Suite", function() {
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000
//constants
var existingUser = {
email: "user@domain.com",
password: "aaaaaaaa"
}
var newUserInf = {
email: "a" + Math.round(Math.random()*10000000000) + "@email.co... |
'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var ActionDescription = React.createClass({
displayName: 'ActionDescription',
mixins: [PureRenderMixin],
render: function render() {
return React.createElement(
... |
var tmp = require('tmp'),
should = require('should'),
Promise = require('bluebird'),
configUtils = require('../../utils/configUtils'),
extname = require('path').extname,
// Stuff we are testing
UploadAPI = require('../../../server/api/upload'),
uploadimage = {
... |
'use strict';
const Command = require('../models/command');
const Win = require('../utilities/windows-admin');
module.exports = Command.extend({
name: 'build',
description: 'Builds your app and places it into the output path (dist/ by default).',
aliases: ['b'],
availableOptions: [
{
name: 'environ... |
version https://git-lfs.github.com/spec/v1
oid sha256:19255d24c0fcd1baa16cbbec6ea19cc6bbf79847dd630539a754b9ea77a1bc35
size 7194
|
// Generated by CoffeeScript 1.7.1
/*
PDFPage - represents a single page in the PDF document
By Devon Govett
*/
(function() {
var PDFPage;
PDFPage = (function() {
var DEFAULT_MARGINS, SIZES;
function PDFPage(document, options) {
var dimensions;
this.document = document;
if (options ==... |
/*!
* @atlassian/aui - Atlassian User Interface Framework
* @version v7.5.0-alpha-1
* @link https://docs.atlassian.com/aui/latest/
* @license SEE LICENSE IN LICENSE.md
* @author Atlassian Pty Ltd.
*/
// src/js/aui/header-async.js
(typeof window === 'undefined' ? global : window).__2099962405af1a8893c5b00b1120bf59... |
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-conventional-changelog');
// Default task.
grunt.registerTask('default', ['jshint', 'karma']);
var testConfig = function(configFile, customOptions) {
var option... |
/**
* The tty module houses the tty.ReadStream and tty.WriteStream classes. In
* most cases, you will not need to use this module directly.
*/
var tty = {};
/**
* Returns true or false depending on if the fd is associated with a
* terminal.
* @param fd
* @returns true or false depending on if the fd is associat... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v16.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var utils_1 = require("../utils");
function simpleHttpRequest(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.