code stringlengths 2 1.05M |
|---|
//@flow
var x = 42;
x()
|
/**
* This file is where you define overrides for the default routing behavior.
**/
// var browserHistory = require('react-router').browserHistory;
module.exports = {
/**
* Whether browser should use pushState or hash to keep track of routes
* See: https://github.com/reactjs/react-router/blob/master/docs/g... |
/*!
* jQuery JavaScript Library v2.0.3 -wrap,-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
*
* Date: 2013-07-07T17:13Z
*/
... |
/* ========================================================================
* imagecrop.js
* Page/renders: forms-imagecrop.html
* Plugins used: jcrop
* ======================================================================== */
'use strict';
(function (factory) {
if (typeof define === 'function' && define.amd... |
/* Tabulator v4.2.5 (c) Oliver Folkerd */
var FrozenRows = function FrozenRows(table) {
this.table = table; //hold Tabulator object
this.topElement = document.createElement("div");
this.rows = [];
this.displayIndex = 0; //index in display pipeline
};
FrozenRows.prototype.initialize = function () {
this.rows = []... |
lychee.define('game.ar.navdata.Socket').tags({
platform: [ 'nodejs' ]
}).requires([
'game.ar.data.NAVDATA'
]).includes([
'lychee.event.Emitter'
]).supports(function(lychee, global) {
if (typeof Buffer !== 'undefined') {
return true;
}
return false;
}).exports(function(lychee, game, global, attachments) {
... |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.0.9 (2019-06-26)
*/
!function(){"use strict";var n=tinym... |
/**
* $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
*
* @author Moxiecode
* @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
*/
/* Import plugin specific language pack */
tinyMCE.importPluginLanguagePack('preview');
var TinyMCE_PreviewPlugin = {
getInfo : fun... |
/* globals module */
module.exports = {
options: {
configFile: 'eslint.json'
},
target: [
'<%= paths.src.js %>**/*.js',
'<%= paths.src.lint %>'
]
};
|
(function(g) {
var __bem_xjst = (function(exports) {
/// -------------------------------------
/// ---------- Bootstrap start ----------
/// -------------------------------------
function run(templates, context, ignore) {
if (!ignore)
ignore = {};
var index = 0;
var currentId = null;
var last = null;... |
/* eslint-disable */
exports.checkbox = {
"description": "",
"props": {
"checked": {
"type": {
"name": "bool"
},
"required": false,
"description": ""
},
"children": {
"type": {
"name": "node"
... |
import { SECTION, SECTION_IF, SECTION_UNLESS, SECTION_WITH, SECTION_IF_WITH, PREFIX_OPERATOR, INFIX_OPERATOR, BRACKETED } from 'config/types';
import { READERS } from '../../_parse';
import readClosing from './section/readClosing';
import readElse from './section/readElse';
import readElseIf from './section/readElseIf'... |
version https://git-lfs.github.com/spec/v1
oid sha256:a74e9c6095c28e355e7c2606b1aab23fc423ad0cfc7f0a943c54f3e5a5d65489
size 1957
|
Clazz.declarePackage ("J.g3d");
Clazz.load (["J.g3d.G3DRenderer", "JU.P3", "$.V3"], "J.g3d.HermiteRenderer", ["JU.Lst", "$.P3i", "JU.Point3fi"], function () {
c$ = Clazz.decorateAsClass (function () {
this.g3d = null;
this.gdata = null;
this.pLeft = null;
this.pRight = null;
this.sLeft = null;
this.sRight = nul... |
/****************************************************************************
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 files (the "Software"), to deal
in th... |
"use strict"
module.exports = createKDTree
module.exports.deserialize = deserializeKDTree
var ndarray = require("ndarray")
var ndselect = require("ndarray-select")
var pack = require("ndarray-pack")
var ops = require("ndarray-ops")
var ndscratch = require("ndarray-scratch")
var pool = require("typedarray-pool")
var i... |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.tcy');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "ಟಿಪ್ಪಣಿ ಸೇರ್ಸಲೆ";
Blockly.Msg.CHANGE_VALUE_TITLE = "ಮೌಲ್ಯೊದ ಬದಲಾವಣೆ";
Blockly.Msg.CLEAN_UP = "ನಿರ್ಬಂದೊಲೆನ್ ಸ್ವೊಚ್ಚೊ ಮಲ್ಪುಲೆ";
Blockly.Msg.COLLAPSE_ALL = "ಕ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
// Copyright (c) 2019, Frappe Technologies and contributors
// For license information, please see license.txt
frappe.ui.form.on('Document Type Mapping', {
local_doctype: function(frm) {
if (frm.doc.local_doctype) {
frappe.model.clear_table(frm.doc, 'field_mapping');
let fields = frm.events.get_fields(frm);
... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... |
define(function(require) {
'use strict';
return {
Component: require('../../../js/app/components/sidebar-recent-emails-component'),
ContentView: require('../../../js/app/views/sidebar-widget/recent-emails/recent-emails-content-view'),
SetupView: require('../../../js/app/views/sidebar-wi... |
'use strict';
var assert = require('assert'),
Gpio = require('../').Gpio;
assert.strictEqual(Gpio.MIN_GPIO, 0, 'expected Gpio.MIN_GPIO to be 0');
assert.strictEqual(Gpio.MAX_GPIO, 53, 'expected Gpio.MAX_GPIO to be 53');
assert.strictEqual(Gpio.MAX_USER_GPIO, 31, 'expected Gpio.MAX_USER_GPIO to be 31');
|
import classNames from 'classnames';
import React from 'react';
import elementType from 'react-prop-types/lib/elementType';
import MediaBody from './MediaBody';
import MediaHeading from './MediaHeading';
import MediaLeft from './MediaLeft';
import MediaList from './MediaList';
import MediaListItem from './MediaListIte... |
'use strict';
var $ = require('jquery');
var Selectivity = require('./selectivity-base');
var KEY_BACKSPACE = 8;
var KEY_DELETE = 46;
var KEY_ENTER = 13;
/**
* MultipleSelectivity Constructor.
*
* @param options Options object. Accepts all options from the Selectivity Base Constructor in
* additi... |
import expect from 'expect'
import React from 'react'
import { createMemoryHistory } from 'history'
import { createRoutes } from '../RouteUtils'
import matchRoutes from '../matchRoutes'
import Route from '../Route'
import IndexRoute from '../IndexRoute'
describe('matchRoutes', function () {
let routes
let
Root... |
const _ = require('lodash');
const moment = require('moment');
const stats = require('../../core/stats');
const util = require('../../core/util');
const ENV = util.gekkoEnv();
const config = util.getConfig();
const perfConfig = config.performanceAnalyzer;
const watchConfig = config.watch;
// Load the proper module t... |
const SESSION = {};
F.onAuthorize = function(req, res, flags, callback) {
// We read the X-Token header from the current request
var token = req.headers['x-token'];
if (!token)
return callback(false);
// We check whether the token exists in the current session
if (SESSION[token]) {
... |
/**
* UndoManager.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* This class handles the undo/redo history levels for the editor. Since the build in undo/redo has major drawbacks a cu... |
version https://git-lfs.github.com/spec/v1
oid sha256:675518ba9dcbb028cf8dd7aa1ab2642689031c5cd6d226f283e597a178e825e5
size 141
|
var Actions = {};
Actions.element = function(using, value, callback) {
var check = /class name|css selector|id|name|link text|partial link text|tag name|xpath/gi;
if (!check.test(using)) {
throw new Error("Please provide any of the following using strings as the first parameter: " +
"class name, css ... |
define({
"sourceSetting": "Konfiguration der Suchquellen",
"instruction": "Fügen Sie Geokodierungsservices oder Feature-Layer als Suchquellen hinzu, und konfigurieren Sie sie. Anhand dieser angegebenen Quellen wird bestimmt, welche Elemente im Suchfeld durchsucht werden können.",
"add": "Suchquelle hinzufügen",
... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
cordova.define("org.apache.cordova.geolocation.GeolocationProxy", function(require, exports, module) { /*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright owner... |
import renderNotebook from './notebook';
document.addEventListener('DOMContentLoaded', renderNotebook);
|
// Setup (and teardown) SVG container template
beforeEach(function() {
var template = document.createElement('script');
template.setAttribute('type', 'text/html');
template.setAttribute('id', 'svg-container-base');
template.innerHTML = [
'<div class="svg"><svg></svg></div>',
'<div class="progress"><div>... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.10.6.3_A1_T12;
* @section: 15.10.6.3;
* @assertion: Equivalent to the expression RegExp.prototype.exec(string) != null;
* @description: RegExp is /\.14/ and tested string... |
'use strict';
var optional = require('optional');
var async = require('async');
var snappy = optional('snappy');
if (snappy == null) {
var unavailableCodec = function unavailableCodec () {
throw new Error('Snappy codec is not installed');
};
module.exports = {
encode: unavailableCodec,
decode: unava... |
/* global google */
import _ from "lodash";
import invariant from "invariant";
import {
default as React,
PropTypes,
Children,
} from "react";
import {
unstable_renderSubtreeIntoContainer,
unmountComponentAtNode,
} from "react-dom";
import {
MAP,
ANCHOR,
INFO_WINDOW,
} from "./constants";
import {
... |
/**
* Callback function for the 'click' event of the 'Set Footer Image'
* anchor in its meta box.
*
* Displays the media uploader for selecting an image.
*
* @param object $ A reference to the jQuery object
* @since 0.1.0
*/
function renderMediaUploader( $ ) {
'use strict';
var file_frame, image... |
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.p... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { unstable_composeClasses as composeClasses } from '@materia... |
var NGI = {
Inspector: require('./Inspector'),
App: require('./App')
};
function bootstrap() {
// Instantiate the inspector
window.ngInspector = new NGI.Inspector();
// True once the wrapBootstrap() method runs for the first time
var didWrapBootstrap = false;
// RequireJS and similar loaders work by injectin... |
/*jshint quotmark: false*/
'use strict';
var Promise = require('../../lib/ext/promise');
var expect = require('chai').expect;
var assertFile = require('../helpers/assert-file');
var conf = require('../helpers/conf');
var ember = require('../helpers/ember');
var fs = require('fs-extra');
var ... |
/**
* @class Ext.layout.component.field.Field
* @extends Ext.layout.component.Component
* Layout class for components with {@link Ext.form.Labelable field labeling}, handling the sizing and alignment of
* the form control, label, and error message treatment.
* @private
*/
Ext.define('Ext.layout.component.field.Fi... |
/**
* 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.
*
* @flow
*/
import React, {useContext} from 'react';
import {SettingsContext} from './SettingsContext';
import {StoreContext} from... |
import React from 'react'
import { Button } from 'semantic-ui-react'
const ButtonExampleGroupLabeledIcon = () => (
<Button.Group labeled>
<Button icon='play' content='Play' />
<Button icon='pause' content='Pause' />
<Button icon='shuffle' content='Shuffle' />
</Button.Group>
)
export default ButtonExa... |
exports.Alert = require('./components/Alert');
exports.BlankState = require('./components/BlankState');
exports.Button = require('./components/Button');
exports.ButtonGroup = require('./components/ButtonGroup');
exports.Checkbox = require('./components/Checkbox');
exports.Card = require('./components/Card');
exports.Co... |
import React from 'react'
import PropTypes from 'prop-types'
import Product from './Product'
const Cart = ({ products, total, onCheckoutClicked }) => {
const hasProducts = products.length > 0
const nodes = hasProducts ? (
products.map(product =>
<Product
title={product.title}
price={prod... |
/*jshint quotmark: false*/
'use strict';
var Promise = require('../../lib/ext/promise');
var expect = require('chai').expect;
var assertFile = require('../helpers/assert-file');
var conf = require('../helpers/conf');
var ember = require('../helpers/ember');
var fs = require('fs-extra');
var ... |
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize underscore exports="amd" -o ./underscore/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud... |
(function() {
this.IssuableContext = (function() {
function IssuableContext(currentUser) {
this.initParticipants();
new UsersSelect(currentUser);
$('select.select2').select2({
width: 'resolve',
dropdownAutoWidth: true
});
$(".issuable-sidebar .inline-update").on("chan... |
// DOM Manipulation Challenge
// I worked on this challenge [by myself, with: ].
// Add your JavaScript calls to this page:
// Release 0:
// Release 1:
// Release 2:
// Release 3:
// Release 4:
// Release 5:
|
/*!
* ui-grid - v4.6.0 - 2018-06-21
* Copyright (c) 2018 ; License: MIT
*/
(function () {
angular.module('ui.grid').config(['$provide', function($provide) {
$provide.decorator('i18nService', ['$delegate', function($delegate) {
$delegate.add('rs-lat', {
headerCell: {
aria: {
... |
/**
* +--------------------------------------------------------------------+
* | This HTML_CodeSniffer file is Copyright (c) |
* | Squiz Pty Ltd (ABN 77 084 670 600) |
* +--------------------------------------------------------------------+
* | IMPORTANT: Your... |
'use strict';
var path = require('path');
var utils = require('../utils');
module.exports = function(app) {
return {
type: ['array', 'boolean', 'string', 'object'],
normalize: function(val, key, config, schema) {
if (typeof val === 'undefined') {
return;
}
schema.update('cwd', conf... |
const visit = require('unist-util-visit-parents');
const is = require('hast-util-is-element');
const textContent = require('hast-util-to-string');
/**
* Automatically add in a link to the relevant document for code blocks.
* E.g. `<code>MyClass</code>` becomes `<code><a href="path/to/myclass">MyClass</a></code>`
*
... |
module.exports={A:{A:{"1":"B","2":"K C G E A YB"},B:{"1":"Z I M H","129":"D w"},C:{"1":"0 1 3 5 6 7 8 t u v z x","2":"WB AB","260":"I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q r s","804":"F J K C G E A B D w Z UB OB"},D:{"260":"0 1 3 5 6 7 8 u v z x BB IB DB FB ZB GB","388":"y a b c d e f L h i j ... |
CKEDITOR.plugins.setLang( 'autocorrect', 'ru', {
toolbar: 'Автозамена',
autocorrect: 'Автозамена',
disable: 'Отключить автозамену',
enable: 'Включить автозамену',
autocorrectNow: 'Произвести автозамену',
options: 'Параметры автозамены',
autoformat: 'Автоформат',
autoformatAsYouType: 'Автоформат при вводе',
rep... |
import DS from 'ember-data';
export default DS.Model.extend({
// Attributes
name: DS.attr('string'),
// Relationships
zones: DS.hasMany('zone'),
shippingCategories: DS.hasMany('shippingCategory')
}); |
/**
Procedural green fungus texture
@author xeolabs / http://xeolabs.com
<p>Usage: </p>
<pre>
var myGreenfungus = myNode.addNode({
type: "texture/procedural/fungus",
nodes:[
{
type: "geometry/box"
}
]
});
*/
SceneJS.Types.addType("texture/procedural/fungus", {
con... |
var expect = require('chai').expect;
var sinon = require('sinon');
var Checker = require('../../../lib/checker');
var unix = require('../../../lib/reporters/unix');
describe('reporters/unix', function() {
var checker;
beforeEach(function() {
checker = new Checker();
checker.registerDefaultRul... |
(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.Hls = f()}})(f... |
var _typeof = require("@babel/runtime/helpers/typeof");
var assertThisInitialized = require("./assertThisInitialized");
function _possibleConstructorReturn(self, call) {
if (call && (_typeof(call) === "object" || typeof call === "function")) {
return call;
}
return assertThisInitialized(self);
}
module.ex... |
var React = require("react");
var update = require("react-addons-update");
// Flux actions
var ChartViewActions = require("../../actions/ChartViewActions");
/**
* ### Functions common to chart editors
* @instance
* @memberof editors
*/
var ChartEditorMixin = {
/**
* _handlePropUpdate
* Initiate a flux actio... |
"use strict";
/* exported Colors */
var Colors = module.exports = {
__proto__ :null,
aliceblue :"#f0f8ff",
antiquewhite :"#faebd7",
aqua :"#00ffff",
aquamarine :"#7fffd4",
azure :"#f0ffff",
beige :"#f5f5dc",
bisque ... |
/*global module:false*/
module.exports = function(grunt) {
var packagejson = grunt.file.readJSON('package.json');
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: packagejson,
banner: '/*\n * <%= pkg.title || pkg.name %> v<%= pkg.version %> | JavaScript Heatmap Library\n *\n * Copyright... |
define("ace/mode/hjson_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var HjsonHighlightRules = function() ... |
/*eslint strict:0*/
casper.test.begin('steps tests', 8, function(test) {
casper.start('tests/site/index.html');
var nsteps = casper.steps.length;
casper.then(function(response) {
test.assertTitle('CasperJS test index',
'Casper.then() added a new step');
});
test.assertEquals(c... |
import path from 'path';
import chromedriver from 'chromedriver';
import webdriver from 'selenium-webdriver';
import { expect } from 'chai';
import electronPath from 'electron-prebuilt';
import homeStyles from '../app/components/Home.module.css';
import counterStyles from '../app/components/Counter.module.css';
chrome... |
CKEDITOR.plugins.setLang("language","nb",{button:"Sett språk",remove:"Fjern språk"}); |
var inBrowser = typeof window !== 'undefined' && this === window;
var parseAndModify = (inBrowser ? window.falafel : require("falafel"));
(inBrowser ? window : exports).blanket = (function(){
var linesToAddTracking = [
"ExpressionStatement",
"BreakStatement" ,
"ContinueStatement" ,
... |
// Copyright (c) 2015 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, copy, modify, merge... |
var app = angular.module('umbraco', [
'umbraco.filters',
'umbraco.directives',
'umbraco.resources',
'umbraco.services',
'umbraco.packages',
'umbraco.mocks',
'umbraco.security',
'ngCookies',
'tmh.dynamicLocale'
]);
var packages = angular.module("umbraco.packages", []); |
/*
* Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com)
*
* openAUSIAS: The stunning micro-library that helps you to develop easily
* AJAX web applications by using Java and jQuery
* openAUSIAS is distributed under the MIT License (MIT)
* Sources at https://github.com/rafaelaznar/ope... |
// @flow
type A = {
kind: 'A',
metadata: {[key: string]: mixed},
};
type B = {
kind: 'B',
metadata: {[key: string]: mixed},
};
type AB = A | B;
const foo: Array<AB> = [];
foo.forEach(ab => {
const local = ab;
});
|
/*!
* Connect - staticProvider
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var fs = require('fs')
, join = require('path').join
, utils = require('../utils')
, Buffer = require('buffer').Buffer
, parse = require('url').parse
, mi... |
/**
* Javascript implementation of X.509 and related components (such as
* Certification Signing Requests) of a Public Key Infrastructure.
*
* @author Dave Longley
*
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
*
* The ASN.1 representation of an X.509v3 certificate is as follows
* (see RFC 2459):
*
* Certi... |
/*! videojs-wavesurfer v1.3.1
* https://github.com/collab-project/videojs-wavesurfer
* Copyright (c) Collab 2014-2017 - Licensed MIT */
(function (root, factory)
{
if (typeof define === 'function' && define.amd)
{
// AMD. Register as an anonymous module.
define(['videojs', 'wavesurfer'], factory... |
/*
* @name Saturation
* @description Saturation is the strength or purity of the color and
* represents the amount of gray in proportion to the hue. A "saturated"
* color is pure and an "unsaturated" color has a large percentage of gray.
* Move the cursor vertically over each bar to alter its saturation.
*/
va... |
(function () {
//check if running on Node.js
if (typeof require !== 'undefined') {
//load underscore if on Node.js
_ = require('../../scripts/underscore.js');
}
var Person = Object.create({
init: function (fname, lname, age) {
this.fname = fname;
this.lname = lname;
this.age = age;
return this;
... |
'use strict';
const RSVP = require('rsvp');
const EventEmitter = require('events').EventEmitter;
const path = require('path');
class MockServerWatcher extends EventEmitter {
then() {
let promise = RSVP.resolve({
directory: path.resolve(__dirname, '../fixtures/express-server'),
});
return promise.t... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'stylescombo', 'zh', {
label: '樣式',
panelTitle: 'Formatting Styles', // MISSING
panelTitle1: '塊級元素樣式',
panelTitle2: '內聯元素樣式',
panelTitle3: '物件元... |
import Mirage/* , {faker} */ from 'ember-cli-mirage';
export default Mirage.Factory.extend({
});
|
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
... |
describe('addCommand', function() {
before(h.setupMultibrowser());
before(function() {
this.matrix.addCommand('getUrlAndTitle', function() {
var result = {};
return this.url().then(function(res) {
result.url = res.value;
}).getTitle().then(functio... |
/****************************************************************************
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... |
'use strict'
/*global console*/
var co = require('co')
module.exports = function (len, syncMode) {
var task
var list = []
var tasks = []
if (syncMode) { // 模拟同步任务
task = function (x) {
return new Promise(function (resolve, reject) {
resolve(x)
})
}
} else { // 模拟异步任务
task = ... |
module.exports = {
NO_CURSOR: 0,
READ_ONLY: 1,
FOR_UPDATE: 2,
SCROLLABLE: 3
};
|
xxx;
({
xxx: 0,
yyy: "hey"
});
xxx => xxx + 1;
xxx, yyy;
|
module.exports={"title":"Upwork","hex":"6FDA44","source":"https://www.upwork.com/press/","svg":"<svg aria-labelledby=\"simpleicons-upwork-icon\" role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title id=\"simpleicons-upwork-icon\">Upwork icon</title><path d=\"M18.561 13.158c-1.102 0-2.135-.467-3... |
"use strict";
describe("BlockPositioner", function(){
var positioner, $el, mediator;
beforeEach(function() {
$el = $("<div>");
mediator = Object.assign({}, SirTrevor.Events);
positioner = new SirTrevor.BlockPositioner($el, mediator);
});
describe("onSelectChange", function() {
beforeEach(fun... |
module.exports={title:"CodeSandbox",slug:"codesandbox",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>CodeSandbox icon</title><path d="M1.5 6l10.455-6L22.41 6l.09 11.95L11.955 24 1.5 18zm2.088 2.481v4.757l3.345 1.86v3.516l3.972 2.296v-8.272zm16.739 0l-7.317 4.157v8.272l3.972-2.296V15... |
/**
* Globalize Runtime v1.3.0-rc.1
*
* http://github.com/jquery/globalize
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2017-06-27T14:01Z
*/
/*!
* Globalize Runtime v1.3.0-rc.1 2017-06-27T14:01Z Released under the MIT license
*... |
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.5.0
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files ... |
/** PURE_IMPORTS_START .._operators_mergeMap PURE_IMPORTS_END */
import { mergeMap as higherOrderMergeMap } from '../operators/mergeMap';
/* tslint:enable:max-line-length */
/**
* Projects each source value to an Observable which is merged in the output
* Observable.
*
* <span class="informal">Maps each value to an... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v9.0.3
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto... |
/**
* L.Control.GeoSearch - search for an address and zoom to it's location
* L.GeoSearch.Provider.Bing uses bing geocoding service
* https://github.com/smeijer/L.GeoSearch
*/
L.GeoSearch.Provider.Bing = L.Class.extend({
options: {
},
initialize: function(options) {
options = L.Util.setOption... |
/**
* @fileOverview Represents subsets of a database.
* @author David Huynh
* @author <a href="mailto:ryanlee@zepheira.com">Ryan Lee</a>
*/
/**
* Creates a new object with an identifier and the database it draws from.
*
* @class
* @constructor
* @param {String} id Collection identifier.
* @param {Exhibit.D... |
/*===
boolean false
boolean false
boolean false
boolean false
boolean false
boolean false
boolean true
boolean false
boolean false
===*/
function basicTest() {
function test(x) {
var t = Array.isArray(x);
print(typeof t, t);
}
test(undefined);
test(null);
test(true);
test(false... |
!(function($, location, document) {
/*
======== A Handy Little QUnit Reference ========
http://api.qunitjs.com/
Test methods:
module(name, {[setup][ ,teardown]})
test(name, callback)
expect(numberOfAssertions)
stop(increment)
start(decrement)
Test assertions:
ok(value, [message])
eq... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.