code stringlengths 2 1.05M |
|---|
// @flow
import * as React from "react";
import Head from "react-helmet";
import Header from "./Header.js";
import Footer from "./Footer.js";
const Layout = (
{
title,
image,
noHero,
children,
} /*: {
title?: React.Node,
image?: string,
noHero?: boolean,
children: React.Node
} *... |
Object.defineProperty(exports, "__esModule", { value: true });
var graphql_1 = require("graphql");
/*
* fn: The function to decorate with the logger
* logger: an object instance of type Logger
* hint: an optional hint to add to the error's message
*/
function decorateWithLogger(fn, logger, hint) {
if (typeof fn... |
Template.browseUsers.events({
'click [data-id=load-more]': (event, template) => {
template.limit.set(template.limit.get() + 20);
},
'keyup [data-id=search-query]': _.debounce((event, template) => {
event.preventDefault();
template.searchQuery.set(template.find('[data-id=search-query]').value);
te... |
'use strict';
describe('Controller: <%= classedName %>MainController', function () {
// load the controller's module
beforeEach(module('<%= scriptAppName %>.<%= _.slugify(name) %>.main'));
var controller;
var scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootSc... |
//>>built
define("dgrid1/extensions/nls/sv/pagination",{status:"${start} - ${end} av ${total} resultat",gotoFirst:"G\u00e5 till f\u00f6rsta sidan",gotoNext:"G\u00e5 till n\u00e4sta sida",gotoPrev:"G\u00e5 till f\u00f6reg\u00e5ende sida",gotoLast:"G\u00e5 till sista sidan",gotoPage:"G\u00e5 till sida",jumpPage:"Hoppa ti... |
/* eslint-disable */
;(function(root, factory) {
if (typeof define === 'function' && define.amd) { // AMD
define(['../core'], factory);
} else if (typeof exports === 'object') { // Node.js
module.exports = factory(require('../core'));
} else { // Browser
root.Blockly.Msg = factory(root.Blockly);
}
}... |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import styled from '@material-ui/styled-engine';
import { propsToClassKey } from '@material-ui/styles';
import { unstable_styleFunctionSx as styleFunctionSx } f... |
/**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v21.1.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.leng... |
import { removeElement } from './helpers.js';
import { c as config } from './chunk-8ed29c41.js';
var NoticeMixin = {
props: {
type: {
type: String,
default: 'is-dark'
},
message: [String, Array],
duration: Number,
queue: {
type: Boolean,
default: undefined
},
indef... |
let a = "outside";
function n(g = (a = a) => {}) {
let z = "inside";
}
|
'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; };
/**
* Prompt for a series of questions
* @pa... |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of so... |
(function () {
if (typeof Prism === 'undefined' || typeof document === 'undefined') {
return;
}
// https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill
if (!Element.prototype.matches) {
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelec... |
/**
* lodash 4.3.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Rep... |
/**
* @generated SignedSource<<7149bdac6fb48595f245ad6e76938e44>>
*
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* !! This file is a check-in of a static_upstream project! !!
* !! !!
* !! You should not modify this file directly... |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function (mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../../addon/mode/simple"));
else if (ty... |
var Graph = function(width, height) {
this.width = width;
this.height = height;
this.cells = [];
this.removedEdges = [];
var self = this;
this.getCellAt = function (x, y) {
if(x >= this.width || y >= this.height || x < 0 || y < 0) {
return null;
}
if(!this.cells[x]) {
return null;
... |
(function($){function copyOptions(options){return $.extend({__copy:true},options);}
function tsvOptions(options){if(options){if(options.__defaults_applied){return options;}
return $.extend(copyOptions($.tsv.options),options);}
return copyOptions($.tsv.options);}
function tsvColumn(options,index){var opts=tsvOptio... |
import {AsModule, Service} from 'a1atscript';
@AsModule('inflector')
@Service('Inflector')
export default class Inflector {
camelize(key) {
if (!angular.isString(key)) {
return key;
}
// should this match more than word and digit characters?
return key.replace(/_[\w\d]/g, function (match, ind... |
'use strict'
var test = require('tape')
var mqtt = require('./')
var Buffer = require('safe-buffer').Buffer
var WS = require('readable-stream').Writable
function testParseGenerate (name, object, buffer, opts) {
test(name + ' parse', function (t) {
t.plan(2)
var parser = mqtt.parser(opts)
var expected =... |
export default function demo () {
const strategies = [];
for (const strategy of strategies) {}
} |
var http = require('http'),
Connect = require('../../lib/connect');
var server = http.createServer(function (req, res) {
res.writeHead(200, {"Content-Type":"text/plain"});
res.end("This is a test of the connect embedding system....");
});
module.exports = Connect.createServer(
Connect.logger(),
Co... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const parseJson = require("json-parse-better-errors");
const Parser = require("../Parser");
const JsonExportsDependency = require("../dependencies/JsonExportsDependency");
const JsonData = require("./Json... |
'use strict';
const SimpleDOM = require('simple-dom');
const buildOwner = require('./build-owner');
const { loadEmber, clearEmber } = require('./load-ember');
module.exports = function (hooks) {
hooks.beforeEach(function () {
let { Ember, compile } = loadEmber();
this.compile = compile;
this.Ember = Em... |
var assert = require('assert');
var flyd = require('../../../lib');
var every = require('../index.js');
describe('every', function() {
var e;
afterEach(function() {
e.end(true);
});
it('invokes callback the correct amount of times', function(done) {
var times = 0;
e = every(50);
flyd.map(functi... |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
/**
* Copyright (c) 2016-2019, The Cytoscape Consortium.
*
* 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, m... |
import { atom, selector } from 'recoil'
export const countState = atom({
key: 'count',
default: 0,
})
export const incrementCount = selector({
key: 'incrementCount',
set: ({ set }) => set(countState, (currCount) => currCount + 1),
})
export const decrementCount = selector({
key: 'decrementCount',
set: ({... |
goog.provide('nullable');
/** @type {?boolean} */
nullable.w = true;
/**
* Explicitly non-nullable.
* @type {!Object}
*/
nullable.x = {};
/**
* Implicitly nullable.
* @type {Object}
*/
nullable.y = {};
/**
* Explicitly nullable.
* @type {?Object}
*/
nullable.z = {};
|
exports.foo = 'foo';
exports.bar = require('./bar');
|
module.exports={"zones":{"Antarctica/Davis":["z",{"wallclock":1329872400000,"format":"DAVT","abbrev":"DAVT","offset":25200000,"posix":1329854400000,"save":0},{"wallclock":1319767200000,"format":"DAVT","abbrev":"DAVT","offset":18000000,"posix":1319742000000,"save":0},{"wallclock":1268269200000,"format":"DAVT","abbrev":"... |
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.wire.TableAdapter"]){dojo._hasResource["dojox.wire.TableAdapter"]=true;dojo.provide("dojox.wir... |
import styled from 'styled-components';
const ShadowWrapper = styled.div`
position: relative;
display: inline-block;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
transition: all 500ms ease;
&::after {
content: "";
border-radius: 5px;
position: absolute;
z-index: -1;
top: 0;
left: 0;
... |
exports.models = {
"HttpStatusCode": {
"id" : "HttpStatusCode"
},"TextEffect": {
"id" : "TextEffect"
},"PageBorderAppliesTo": {
"id" : "PageBorderAppliesTo"
},"BarcodeBuildersList": {
"id" : "BarcodeBuildersList"
},"Orientation": {
"id" : "Orientation"
},"PageVerticalAlignment": {
"id" : "Page... |
'use strict';
var BaseService = require('../service');
var inherits = require('util').inherits;
var async = require('async');
var index = require('../');
var log = index.log;
var levelup = require('levelup');
var errors = index.errors;
var bitcore = require('bitcore');
var $ = bitcore.util.preconditions;
var _ = bitco... |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'zh-cn', {
title: '辅助功能说明',
contents: '帮助内容。要关闭此对话框请按 ESC 键。',
legend: [
{
name: '常规',
items: [
... |
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this fil... |
/*!
* Bootstrap-select v1.13.4 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2018 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
!function(e,n){void 0===e&&void 0!==window&&(e=window),"function"==typeof... |
"use strict";
var _getSert = require("../getsert");
var generateCode = require("../../../src/utils/code-generator");
class StyleDataUtil {
getSert(input) {
var Manager = require("../../../src/managers/garment-master-plan/style-manager");
return _getSert(input, Manager, (data) => {
retur... |
/**
* 从 zTool 中扣出来的方法们
*/
var us = require('underscore');
exports.startsWith = function(str, start){
var index = str.indexOf(start);
return index === 0;
}
exports.endsWith = function(str, end){
var index = str.lastIndexOf(end);
return index !== -1 && index + end.length === str.length;
}
exports.... |
/*!
* # Semantic UI 2.4.2 - Dropdown
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof s... |
/**
* bootstrap-table - An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).
*
* @version v1.13.4
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
... |
/*
YUI 3.8.0pr2 (build 154)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('querystring-stringify', function (Y, NAME) {
/**
* Provides Y.QueryString.stringify method for converting objects to Query Strings.
*
* @module querystring
* @submo... |
/*
Highcharts JS v7.1.1 (2019-04-09)
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("highcharts/indicators/ao",["highcha... |
/*
This software is allowed to use under GPL or you need to obtain Commercial or Enterise License
to use it in non-GPL project. Please contact sales@dhtmlx.com for details
*/
scheduler.attachEvent("onTemplatesReady",function(){var d=!0,e=scheduler.date.str_to_date("%Y-%m-%d"),h=scheduler.date.date_to_str("%Y-%m-%d");s... |
/*
*
* Ajax Autocomplete for Prototype, version 1.0.4
* (c) 2010 Tomas Kirda
*
* Ajax Autocomplete for Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the web site: http://www.devbridge.com/projects/autocomplete/
*
* Adapted by Will 11/4/2011 to take a 'multipl... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
}(this, (function... |
/*eslint-disable no-process-env */
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
eslint: {
options: {
},
files: [
'*.js',
'bench/**/*.js',
'tasks/**/*.js',
'lib/**/!(*.min|parser).js',
'spec/**/!(*.am... |
/****************************************************************************
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 this software and associated documentation... |
import fs from 'fs';
// examples
const E = fs.readdirSync( './examples' )
.filter( s => s.slice( - 5 ) === '.html' )
.map( s => s.slice( 0, s.length - 5 ) )
.filter( f => f !== 'index' );
// screenshots
const S = fs.readdirSync( './examples/screenshots' )
.filter( s => s.slice( - 4 ) === '.jpg' )
.map( s => s.sl... |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
"use strict";
// browser-sync shims
if (typeof Array.prototype.indexOf === "undefined") {
Array.prototype.indexOf = function (searchElement, fromIndex) {
if (!this) {
throw new TypeError();
}
fromIndex = +fromIndex;
if (isNaN(fromIndex)) {
fromIndex = 0;
... |
UE.registerUI('insertlabel', function (editor, uiName) {
var dialog = new UE.ui.Dialog({
iframeUrl: '/libs/ueditor/dialogs/insertlabel/insertlabel.html',
editor: editor,
name: uiName,
title: "标签&徽章"
});
var btn = new UE.ui.Button({
name: 'my_' + uiName,
titl... |
/*
* Copyright (c) 2008-2011 Hasso Plattner Institute
*
*
* 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, m... |
"use strict";
var gl;
var theta = 0.0;
var thetaLoc;
var delay = 100;
var direction = true;
window.onload = function init()
{
var canvas = document.getElementById( "gl-canvas" );
gl = WebGLUtils.setupWebGL( canvas );
if ( !gl ) { alert( "WebGL isn't available" ); }
//
// Configure WebGL
/... |
/*
This file is part of web3.js.
web3.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
web3.js is distribu... |
'use strict';
/**
* Module for all communication with L.FM
*/
define((require) => {
const AudioScrobbler = require('scrobbler/audio-scrobbler');
const ServiceCallResult = require('object/service-call-result');
class LastFmScrobbler extends AudioScrobbler {
/** @override */
getApiUrl() {
return 'https://ws... |
const Promise = require('bluebird');
const _ = require('lodash');
const fixtures = require('../../schema/fixtures');
const logging = require('../../../../shared/logging');
module.exports.config = {
transaction: true
};
module.exports.up = function insertFixtures(options) {
const localOptions = _.merge({
... |
(function ( $ ) {
$.fn.percentext = function( options ) {
// Let's set our default settings
var settings = $.extend({}, $.fn.percentext.defaults, options );
return this.each(function() {
var
$elem = $(this),
user_css = {};
// This next bit deals with PRECEDENCE.
// - U... |
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import browserSync from 'browser-sync';
import webpack ... |
var expect = require('expect.js');
var request = require('request');
var fixtures = require('./fixtures');
describe('DELETE singular', function () {
before(fixtures.vegetable.init);
beforeEach(fixtures.vegetable.create);
after(fixtures.vegetable.deinit);
it('should delete the addressed document', function (d... |
/**
stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills
@version v3.5.7
@link https://github.com/dollarshaveclub/stickybits#readme
@author Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)
@license MIT
**/
(function (global, factory) {
typeof exports === 'object' ... |
import { forEach } from './array-utils';
export const NODE_TYPES = {
ELEMENT: 1,
TEXT: 3,
COMMENT: 8
};
function isTextNode(node) {
return node.nodeType === NODE_TYPES.TEXT;
}
function isCommentNode(node) {
return node.nodeType === NODE_TYPES.COMMENT;
}
function isElementNode(node) {
return node.nodeTyp... |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.zh.hans');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "添加注释";
Blockly.Msg.AUTH = "请授权这个应用程序以保存您的作品并共享。";
Blockly.Msg.CHANGE_VALUE_TITLE = "更改值:";
Blockly.Msg.CHAT = "通过在此框输入与您的合作者沟通!";
Blockly.Msg.COLLAPSE_... |
OC.L10N.register(
"files_trashbin",
{
"Couldn't delete %s permanently" : "Nije moguće trajno izbrisati %s",
"Couldn't restore %s" : "Nije moguće obnoviti %s",
"Deleted files" : "Izbrisane datoteke",
"Restore" : "Obnovite",
"Delete" : "Izbrišite",
"Delete permanently" : "Trajno izbrišite"... |
/*!
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file.
*/
import Socket from './socket-base';
import WS from 'ws';
Socket.getWebSocketConstructor = function getWebSocketConstructor() {
return WS;
};
export default Socket;
|
module.exports = {
public_host_name: process.env.WATCHMEN_BASE_URL, // required for OAuth dance
auth: {
GOOGLE_CLIENT_ID: process.env.WATCHMEN_GOOGLE_CLIENT_ID || '<Create credentials in Google Dev Console>',
GOOGLE_CLIENT_SECRET: process.env.WATCHMEN_GOOGLE_CLIENT_SECRET || '<Create credentia... |
(function () {
'use strict';
angular
.module('users')
.controller('AuthenticationController', AuthenticationController);
AuthenticationController.$inject = ['$scope', '$state', 'UsersService', '$location', '$window', 'Authentication', 'PasswordValidator'];
function AuthenticationController($scope, $s... |
/*! jQuery UI - v1.10.3 - 2013-09-09
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional.hy={closeText:"Փակել",prevText:"<Նախ.",nextText:"Հաջ.>",currentText:"Այսօր",monthNames:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հո... |
module.exports=/\uD83D[\uDE00-\uDE4F]/ |
/**
*
* '||''|. '||
* || || .... .... ... .... || ... ... ... ... ..
* || || .|...|| '|. | .|...|| || .| '|. ||' || ||' ''
* || || || '|.| || || || || || | ||
* .||...|' '|...' '| '|...' .||. '|..|' ||...' .||.
* ... |
const path = require('path');
const fs = require('fs');
const semver = require('semver');
const ProgressBar = require('progress');
const _ = require('underscore');
const git = require('simple-git/promise')(process.cwd());
const octokit = require('@octokit/rest')();
const minTag = '0.55.0-rc.0';
const commitRegexStrin... |
(function(jQuery){
var MESSAGE = "The file sap/ui/thirdparty/jqueryui/jquery-effects-drop.js has been renamed to sap/ui/thirdparty/jqueryui/jquery-ui-effect-drop.js! Please update the dependencies accordingly.";
if ( jQuery && jQuery.sap && jQuery.sap.require ) {
// if jQuery.sap is available, require the new mod... |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/STIX-Web/Size3/Regular/Main.js
*
* Copyright (c) 2013-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... |
var nodemailer = require('../lib/mail');
// Set up SMTP server settings
nodemailer.SMTP = {
host: 'smtp.gmail.com',
port: 465,
use_authentication: true,
ssl: true,
user: undefined,
pass: undefined,
debug: true
}
console.log('SMTP Configured')
// unique cid value for the embedded image
var c... |
'use strict';
Connector.playerSelector = '.radioco-player';
Connector.trackSelector = '.track-name';
Connector.artistSelector = '.track-artist';
Connector.trackArtSelector = '.current-artwork';
Connector.isPlaying = () => {
return $('.radioco-player').hasClass('playing');
};
|
/**
* @fileoverview Rule to flag non-matching identifiers
* @author Matthieu Larcher
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = {
meta: {
... |
import { Accounts } from 'meteor/accounts-base';
import './imports/accounts_ui.js';
import './imports/components.js';
import './imports/login_session.js';
import { redirect, STATES } from './imports/helpers.js';
import './imports/api/server/servicesListPublication.js';
import './imports/ui/components/LoginForm.jsx';
... |
module.exports={title:"HubSpot",slug:"hubspot",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>HubSpot</title><path d="'+this.path+'"/></svg>'},path:"M18.164 7.93V5.084a2.198 2.198 0 001.267-1.978v-.067A2.2 2.2 0 0017.238.845h-.067a2.2 2.2 0 00-2.193 2.193v.067a2.196 2.196... |
describe('iD.behavior.Hash', function () {
mocha.globals('__onhashchange.hash');
var hash, context;
beforeEach(function () {
context = iD().imagery(iD.data.imagery);
context.container(d3.select(document.createElement('div')));
// Neuter connection
context.connection().load... |
function MacroPickerController($scope, entityResource, macroResource, umbPropEditorHelper, macroService, formHelper, localizationService) {
if(!$scope.model.title) {
$scope.model.title = localizationService.localize("defaultdialogs_selectMacro");
}
$scope.macros = [];
$scope.model.selectedMac... |
/**
* @author mrdoob / http://mrdoob.com/
*/
Menubar.Edit = function ( editor ) {
var container = new UI.Panel();
container.setClass( 'menu' );
var title = new UI.Panel();
title.setClass( 'title' );
title.setTextContent( 'Edit' );
container.add( title );
var options = new UI.Panel();
options.setClass( 'op... |
describe('<md-tooltip> directive', function() {
beforeEach(module('material.components.tooltip'));
function findTooltip() {
return angular.element(document.body).find('md-tooltip');
}
it('should show and hide when visible is set', inject(function($compile, $rootScope, $timeout) {
var element = $compi... |
define({
"instruction": "Başlangıçta Öznitelik Tablosunda gösterilecek katmanları seçin ve yapılandırın.",
"label": "Katman",
"show": "Göster",
"actions": "Katman Alanlarını Yapılandır",
"field": "Alan",
"alias": "Takma Ad",
"visible": "Görünür",
"linkField": "Bağlantı Alanı",
"noLayers": "Detay katma... |
var db = require('../config');
var Invite = require('../models/invite');
var Invites = new db.Collection();
Invites.model = Invite;
module.exports = Invites;
|
import { j as _inherits, k as _createSuper, c as _classCallCheck, T as Type, b as _createClass, R as Range, N as Node, g as YAMLSemanticError, l as _get, m as _getPrototypeOf, Y as YAMLSyntaxError, C as Char, e as _defineProperty, P as PlainValue } from './PlainValue-ff5147c6.js';
var BlankLine = /*#__PURE__*/function... |
/**
* $RCSfile: editor_plugin_src.js,v $
* $Revision: 1.37 $
* $Date: 2006/03/27 10:07:08 $
*
* @author Moxiecode
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
*/
/* Import plugin specific language pack */
tinyMCE.importPluginLanguagePack('paste', 'en,tr,sv,cs,zh_cn,fr_ca,da,he... |
/*!
Scaffold2D 1.0.57
The MIT License (MIT)
Copyright (c) 2014 Bradford Kelly
brad@bradfordkelly.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
in the Software without restriction, including without limit... |
/*
* jQuery File Upload Image Preview & Resize Plugin 1.7.2
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2013, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/* jshint nomen:false */
/* global define, window, Blob */
(fu... |
/** @license React v16.9.0
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';var h=require("object-assign"),n="function"===typeof Symbol&&Sym... |
/**
* UrlPatterns.js
*
* Released under LGPL License.
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
define(
'tinymce.plugins.media.core.UrlPatterns',
[
],
function () {
var urlPatterns = [... |
window.grunticon=function(e){if(e&&3===e.length){var t=window,n=!!t.document.createElementNS&&!!t.document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect&&!!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),A=function(A){var o=t.document.createElement("link"),r=t.do... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'format', 'eo', {
label: 'Formato',
panelTitle: 'ParagrafFormato',
tag_address: 'Adreso',
tag_div: 'Normala (DIV)',
tag_h1: 'Titolo 1'... |
import Ember from 'ember-metal/core';
import isEnabled from 'ember-metal/features';
import run from 'ember-metal/run_loop';
import Application from 'ember-application/system/application';
import ApplicationInstance from 'ember-application/system/application-instance';
import jQuery from 'ember-views/system/jquery';
va... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _inte... |
(function( window, undefined ) {
kendo.cultures["he-IL"] = {
name: "he-IL",
numberFormat: {
pattern: ["-n"],
decimals: 2,
",": ",",
".": ".",
groupSize: [3],
percent: {
pattern: ["-n%","n%"],
dec... |
'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var ImageGradient = React.createClass({
displayName: 'ImageGradient',
mixins: [PureRenderMixin],
render: function render() {
return React.createElement(
Svg... |
describe('Webhooks API', function () {
describe('JSON Route', function () {
it('delegates event handling to the buy service and responds with 200 on success', function () {
// - - SETUP
spyOn(Letterpress.Services.Buy, 'handleEvent');
spyOn(JsonRoutes, 'sendResult');
var handler = JsonR... |
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('../index.html', {
id: 'noflo-ui',
bounds: {
width: Math.round(window.screen.availWidth * 0.8),
height: Math.round(window.screen.availHeight * 0.8)
}
});
});
|
var scraper = function() {
return $('h1').first().text();
};
pjs.addSuite({
url: 'http://localhost:8888/test_site/loop1.html',
moreUrls: function() {
return _pjs.getAnchorUrls('li a');
},
maxDepth: 4,
scraper: scraper
}); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.