code stringlengths 2 1.05M |
|---|
/*global define*/
define([
'./BoundingSphere',
'./Cartesian2',
'./Cartesian3',
'./ComponentDatatype',
'./CylinderGeometryLibrary',
'./defaultValue',
'./defined',
'./DeveloperError',
'./Geometry',
'./GeometryAttribute',
'./GeometryAt... |
import _typeof from 'babel-runtime/helpers/typeof';
import * as util from '../util';
import required from './required';
/* eslint max-len:0 */
var pattern = {
// http://emailregex.com/
email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-z... |
/*
* SpiderMonkey wrapper to compress Javascript source files,
* uses Dean Edwards (http://dean.edwards.name/packer/)
*
* Author: Diego Perini <diego.perini@gmail.com>
*
* Usage: fusecomp.js < input > output (uses stdin/stdout)
*
* Depends on correctly installed SpiderMonkey executable (js)
*
* Released under... |
define([
'comindware/core', 'demoPage/views/CanvasView', 'demoPage/views/DemoProfilePanelView'
], function (core, CanvasView, DemoProfilePanelView) {
'use strict';
return function () {
var DemoButtonView = Marionette.ItemView.extend({
template: function () {
return... |
import { get } from 'ember-metal/property_get';
import run from 'ember-metal/run_loop';
import jQuery from 'ember-views/system/jquery';
import EmberView from 'ember-views/views/view';
import ContainerView from 'ember-views/views/container_view';
var View, view;
QUnit.module('EmberView - replaceIn()', {
setup() {
... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsMap = (props) => (
<SvgIcon {...props}>
<path d="M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 ... |
import Vue from 'vue';
import StageList from '~/ide/components/jobs/list.vue';
import { createStore } from '~/ide/stores';
import { createComponentWithStore } from '../../../helpers/vue_mount_component_helper';
import { stages, jobs } from '../../mock_data';
describe('IDE stages list', () => {
const Component = Vue.... |
'use strict';
var React = require('react');
var PureRenderMixin = require('react-addons-pure-render-mixin');
var SvgIcon = require('../../svg-icon');
var DeviceBluetoothDisabled = React.createClass({
displayName: 'DeviceBluetoothDisabled',
mixins: [PureRenderMixin],
render: function render() {
return Reac... |
/*!
* jQuery JavaScript Library v1.9.1 -effects
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-3-15
*/
(function( window, undefined ) {
// ... |
module.exports = sse
var through = require('through')
function sse(at) {
var es = new EventSource(at || '/sse')
, stream = through()
es.onmessage = function(ev) {
if(closed) return
stream.queue(ev.data)
}
es.addEventListener('end', function() {
es.close()
closed = true
stream.queue(... |
/* global describe, it, expect */
/* jshint expr: true */
var jsdom = require('../index')
describe('check useEach false (default)', function () {
var someContent = '<div>hola</div>'
jsdom()
it('check that html body is empty', function () {
expect(document.body.innerHTML).to.be.empty
})
it('accepts an ... |
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_TEST_LOCATION'] = 'East US 2';
process.env['AZURE_TEST_RESOURCE_GROUP'] = 'xplattestadlarg05';
process.env['AZURE_SUBSCRIPTION_ID'] = '53d9063d-87ae-4ea8-be90-3686c3b8669f';
};
exports.scopes = [[function (nock) {
var... |
/*!
* Bootstrap-select v1.13.7 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2019 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
!function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof... |
/* ==========================================================================
Asynchronous Loading Google Maps
============================================================================= */
function loadScript() {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https... |
/*!
* jQuery JavaScript Library v1.10.1 -wrap,-css,-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
*
* Date: 2013-06... |
import run from '../../run_loop';
import get from '../../property_get';
import { Object as EmberObject } from 'ember-runtime';
import Mixin from '../../mixin';
QUnit.module('Ember.Mixin#reopen');
QUnit.test('using reopen() to add more properties to a simple', function() {
let MixinA = Mixin.create({ foo: 'FOO', baz... |
frappe.pages['print-format-builder'].on_page_load = function(wrapper) {
frappe.print_format_builder = new frappe.PrintFormatBuilder(wrapper);
}
frappe.pages['print-format-builder'].on_page_show = function(wrapper) {
if(frappe.route_options) {
if(frappe.route_options.make_new) {
var doctype = frappe.route_option... |
(function(){var n={},j=function(a,b,c){var d=function(a,b){if(h(a)&&!m(a))for(var c=0,e=a.length;c<e;c++)b.apply(a,[c,a[c]]);if(g(a)&&!m(a))for(var d in a)a.hasOwnProperty(d)&&b.apply(a,[d,a[d]])},e=function(a,b,c){var e=[],d=function(a,d){var f=e.length+1;e.push(function(){return b(a,d,function(a){var b=e[f];return!a&... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed... |
export default {
name: 'Validation Test',
custom: 1,
actions: [],
creation: '2019-03-15 06:29:07.215072',
doctype: 'DocType',
editable_grid: 1,
engine: 'InnoDB',
fields: [
{
fieldname: 'email',
fieldtype: 'Data',
label: 'Email',
options: 'Email'
},
{
fieldname: 'URL',
fieldtype: 'Data',
... |
/*
* StreamTable.js
* version: 1.1.1 (17/12/2013)
*
* Licensed under the MIT:
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright 2013 Jiren Patel[ jiren@joshsoftware.com ]
*
* Dependency:
* jQuery(v1.8 >=)
*/
(function(window, $) {
'use strict';
var StreamTable = function(container,... |
import _forceIndex from '../src/forceIndex';
import readCsv from './readcsv.js';
describe('forceIndex', () => {
it('should match the expected output', done => {
Promise.all([
readCsv('./test/data/input.csv'),
readCsv('./test/data/forceIndex.csv')
])
.then(result => {... |
'use strict';
module.exports = {
rules: {
'jsx-uses-react': require('./lib/rules/jsx-uses-react'),
'no-multi-comp': require('./lib/rules/no-multi-comp'),
'prop-types': require('./lib/rules/prop-types'),
'display-name': require('./lib/rules/display-name'),
'wrap-multilines': require('./lib/rules/w... |
/* */
System.register([], function (_export) {
"use strict";
var _prototypeProperties, SetterObserver, OoObjectObserver, OoPropertyObserver, ElementObserver;
return {
setters: [],
execute: function () {
_prototypeProperties = function (child, staticProps, instanceProps) {
if (staticProps) ... |
import Ember from 'ember';
import ghostPaths from 'ghost/utils/ghost-paths';
import {RequestEntityTooLargeError, UnsupportedMediaTypeError} from 'ghost/services/ajax';
const {
Component,
computed,
inject: {service},
isBlank,
run
} = Ember;
export default Component.extend({
tagName: 'section',
... |
// jquery.pjax.js
// copyright chris wanstrath
// https://github.com/defunkt/pjax
// When called on a link, fetches the href with ajax into the
// container specified as the first parameter or with the data-pjax
// attribute on the link itself.
//
// Tries to make sure the back button and ctrl+click work the way
// yo... |
/**
* vee-validate v2.2.3
* (c) 2019 Abdelrahman Awad
* @license MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.VeeValidate = fa... |
/*
* jsMath-loader-omniweb4.js
*
* Part of the jsMath package for mathematics on the web.
*
* This file synchronizes the jsMath-loader.html file with
* the actual loading of the source javascript file.
* OmniWeb 4 has a serious bug where the loader file is run
* several times (and out of sequence), whic... |
/**
* @license
* v1.3.1-2
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2019 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https://github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
/**
* Class used to subscribe ILogListener and log messages throughout an... |
import React, { Component } from 'react';
import { classNames } from 'primereact/core';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for (var i = 0; i < pr... |
/*!
* classie - class helper functions
* from bonzo https://github.com/ded/bonzo
*
* classie.has( elem, 'my-class' ) -> true/false
* classie.add( elem, 'my-new-class' )
* classie.remove( elem, 'my-unwanted-class' )
* classie.toggle( elem, 'my-class' )
*/
/*jshint browser: true, strict: true, undef: true */
/*... |
export function getDecoratedComponent(instanceRef) {
var currentRef = instanceRef.current;
if (currentRef == null) {
return null;
} else if (currentRef.decoratedRef) {
// go through the private field in decorateHandler to avoid the invariant hit
return currentRef.decoratedRef.current;
} else {
... |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
import FlattenedEncrypt from '../flattened/encrypt.js';
class CompactEncrypt {
constructor(plaintext) {
this._flattened = new FlattenedEncrypt(plaintext);
}
setContentEncryptionKey(cek) {
this._flattened.setContentEncryptionKey(cek);
return this;
}
setInitializationVector(iv)... |
'use strict';
var cacheCommon = require('@algolia/cache-common');
var cacheInMemory = require('@algolia/cache-in-memory');
var clientAnalytics = require('@algolia/client-analytics');
var clientCommon = require('@algolia/client-common');
var clientPersonalization = require('@algolia/client-personalization');
var client... |
describe('iD.actionDeleteRelation', function () {
it('removes the relation from the graph', function () {
var relation = iD.osmRelation(),
action = iD.actionDeleteRelation(relation.id),
graph = action(iD.coreGraph([relation]));
expect(graph.hasEntity(relation.id)).to.be.... |
version https://git-lfs.github.com/spec/v1
oid sha256:6a998e572e0fd24ced8b2f11334ad27a4107eb8f7ba4ed0df384b1fd674e0bbf
size 7061
|
import createIsPristine from '../selectors/isPristine';
import immutable from '../structure/immutable';
export default createIsPristine(immutable); |
export default {
name: 'DateTime Test',
custom: 1,
actions: [],
creation: '2019-03-15 06:29:07.215072',
doctype: 'DocType',
editable_grid: 1,
engine: 'InnoDB',
fields: [
{
fieldname: 'date',
fieldtype: 'Date',
label: 'Date'
},
{
fieldname: 'time',
fieldtype: 'Time',
label: 'Time'
},
... |
module.exports={A:{A:{"2":"CB","4":"A B","8":"K C G E"},B:{"1":"M H","4":"D u Y I"},C:{"4":"0 2 3 4 5 6 7 F J K C G E A B D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t y z v","8":"1 VB TB SB"},D:{"1":"HB g DB XB EB FB","4":"0 2 3 4 5 6 7 F J K C G E A B D u Y I M H N O P Q R S T U V W X ... |
/**
* A commit in a repository.
*
* Model Attributes:
* accessible (boolean):
* Whether this commit appears accessible. On some version control
* systems, not all commits may be accessible due to ACLs or other
* policy mechanisms. In these cases, we shouldn't let people try to
* ... |
/*!
* inputmask.js
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2016 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.1
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "inputmask.depen... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
ext... |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Insert and remove numbered and bulleted lists.
*/
( function() {
var listNodeNames = { ol: 1, ul: 1 };
var whitespaces =... |
// Copyright 2012 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unl... |
import { expect } from 'chai';
<% if (testType == 'integration') { %>import { describe, it } from 'mocha';
import { setupRenderingTest } from 'ember-mocha';
import { render } from '@ember/test-helpers';
<%= hbsImportStatement %>
describe('<%= friendlyTestName %>', function() {
setupRenderingTest();
// TODO: Repla... |
angular.module('merchello.salesreports').factory('salesOverTimeResource',
['$http', 'umbRequestHelper',
function($http, umbRequestHelper) {
return {
getDefaultData: function () {
return umbRequestHelper.resourcePromise(
$http({
ur... |
/****************************************************************************
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... |
/**
* @license RequireJS text 2.0.12 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/requirejs/text for details
*/
/*jslint regexp: true */
/*global require, XMLHttpRequest, ActiveXObject,
define, window, process, Packages,
jav... |
[a: string]; |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ProgressSpinner = void 0;
var _react = _interopRequireWildcard(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _classnames = _interopRequireDefault(require("classnames"));
function _interop... |
define(
//begin v1.x content
{
"field-second-relative+0": "sekarang",
"field-quarter-relative+-1": "Kuartal lalu",
"field-weekday": "Hari dalam Seminggu",
"field-mon-narrow-relative+0": "Sen. ini",
"field-mon-narrow-relative+1": "Sen. berikutnya",
"field-wed-relative+0": "Rabu ini",
"dateFormatItem-MMMEd": "E, d... |
'use strict';
var _ = require('../../mindash');
function CompositeDisposable() {
var disposables = _.toArray(arguments);
this.add = add;
this.dispose = dispose;
this.addRange = addRange;
function add(disposable) {
this.disposables.push(disposable);
}
function addRange(disposables) {
this.disp... |
var mongoose = require('mongoose');
module.exports = mongoose.model('User',{
id: String,
username: String,
password: String,
email: String,
firstName: String,
lastName: String
}); |
{
return text.replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
}
|
CKEDITOR.plugins.setLang("colorbutton","ru",{auto:"Автоматически",bgColorTitle:"Цвет фона",colors:{"000":"Чёрный",8E5:"Бордовый","8B4513":"Кожано-коричневый","2F4F4F":"Темный синевато-серый","008080":"Сине-зелёный","000080":"Тёмно-синий","4B0082":"Индиго",696969:"Тёмно-серый",B22222:"Кирпичный",A52A2A:"Коричневый",DAA... |
$(function (){
var notes = notes || {};
/* Display current datetime and hours */
function CurrentDate(container){
var monthNames = [ "January", "February", "March", "April", "May", "June","July", "August", "September", "October", "November", "December" ];
var dayNames= ["Sunday","Monday","... |
/* ========================================================================
* Bootstrap: collapse.js v3.0.3
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
* Copyright 2013 Twitter, Inc.
*
* Licensed under the Apache License, Version ... |
var mongoose = require('mongoose'),
bcrypt = require('bcrypt-nodejs'),
Schema = mongoose.Schema
var userSchema = new Schema(
{
local: {
username : String,
passwordHash : String
},
facebook: {
token : String,
email : String,
name : String
},
reddit: {
... |
import createSnapshot from './createSnapshot'
export { createSnapshot }
|
// "prop" method fix for previous versions of jQuery (1.5 and below)
if( typeof jQuery.fn.prop === 'undefined' ) {
jQuery.fn.prop = jQuery.fn.attr;
}
jQuery(document).ready(function(){
//Formatting free form currency fields to currency
jQuery(document).bind('gform_post_render', gformBindFormatPricingField... |
var searchData=
[
['added',['added',['../struct_jmcpp_1_1_group_admin_changed_event.html#aa9ee7ba1b0f0fa5274acd9b29db592d3',1,'Jmcpp::GroupAdminChangedEvent::added()'],['../struct_jmcpp_1_1_multi_black_list_changed_event.html#a02b495f07568bce55fceae16bc9ea7c7',1,'Jmcpp::MultiBlackListChangedEvent::added()'],['../stru... |
'use strict';
var fs = require('fs');
var ejs = require('ejs');
var template = ejs.compile(fs.readFileSync(__dirname + '/template.html', 'utf-8'));
var chapters = [
{id: 'getting-started', title: 'Getting started'},
{id: 'dialogue', title: 'Dialogue abstraction'},
{id: 'streams', title: 'Streams'},
{id: 'basi... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.2.1_A4_T3;
* @section: 11.2.1;
* @assertion: Check type of various properties;
* @description: Checking properties of the Function object;
*/
//CHECK#1-8
if (typeof Func... |
/*
File: AC_QuickTime.js
Abstract: This file contains functions to generate OBJECT and EMBED tags for QuickTime content.
Version: <1.2>
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Computer, Inc. ("Apple") in consideration of your agreement to the
following terms, and your use, installati... |
var BORSCHIK = require('..'),
FREEZE = require('..').freeze,
FS = BORSCHIK.require('./fs'),
PATH = require('path'),
ASSERT = require('assert'),
testImagePath = 'test.png';
/**
* Mocha BDD interface.
*/
/** @name describe @function */
/** @name it @function */
/** @name before @function */
/** @n... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'smiley', 'uk', {
options: 'Опції смайликів',
title: 'Вставити смайлик',
toolbar: 'Смайлик'
});
|
var path = require('path');
var buster = require("buster");
var configuration = require("../lib/buster-configuration");
var fileLoader = require("../lib/file-loader");
var helper = require("./test-helper");
buster.testCase("File loader", {
setUp: function () {
helper.cdFixtures();
this.loader = fil... |
var struct_jmcpp_1_1_multi_receipt_changed_event =
[
[ "conId", "struct_jmcpp_1_1_multi_receipt_changed_event.html#a94213e7bc69920cb9dc38d8b34ee5698", null ],
[ "msgIds", "struct_jmcpp_1_1_multi_receipt_changed_event.html#a5e6421679f1074443552e9b67ccf7f5a", null ]
]; |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
module.exports = {
insert: require('./insert'),
update: require('./update'),
delete: re... |
App.addChild('MixPanel', {
el: 'body',
activate: function(){
this.user = null;
this.trackUserClickOnProjectsImage();
this.trackUserClickOnProjectsTitle();
this.trackUserClickOnBackButton();
this.trackUserClickOnRecommendedProject();
this.trackUserClickOnReviewAndMakePayment();
this.trac... |
/*!
* bootstrap-fileinput v4.4.9
* http://plugins.krajee.com/file-input
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
*/
(function (factory) {
"use strict";... |
/*!
* ui-grid - v4.6.2 - 2018-07-09
* Copyright (c) 2018 ; License: MIT
*/
(function () {
'use strict';
/**
* @ngdoc overview
* @name ui.grid.grouping
* @description
*
* # ui.grid.grouping
*
* <div class="alert alert-warning" role="alert"><strong>Beta</strong> This feature is ready for te... |
import Ember from 'ember';
let {isBlank} = Ember;
function paginatedResponse(modelName, allModels, request) {
let page = +request.queryParams.page || 1;
let limit = request.queryParams.limit || 15;
let pages, models, next, prev;
allModels = allModels || [];
if (limit === 'all') {
models ... |
/*
* 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.
*/
'... |
import React from 'react'
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample'
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection'
const IconGroupsExamples = () => (
<ExampleSection title='Groups'>
<ComponentExample
title='Icons'
description='Sever... |
version https://git-lfs.github.com/spec/v1
oid sha256:c97b7f5239fb2cf3493fad652879140e68c6921b9f36c36397baacd979cca7d2
size 20169
|
'use strict';
var fs = require('fs');
/**
* @param {string} source
* @param {string} target
* @return {boolean}
*/
function isStale(source, target) {
if (!fs.existsSync(target)) {
return true;
}
var sourceTime = fs.statSync(source).mtime;
var targetTime = fs.statSync(target).mtime;
retu... |
(function(){
angular
.module('flexcalendar', [])
.directive('flexCalendar', flexCalendar);
function flexCalendar() {
var template =
'<div class="flex-calendar">'+
'<div class="month">'+
'<div class="arrow" ng-click="prevMonth()"></div>'+
'<div class="label">{{ se... |
const marked = require('marked');
// add `target='_blank'` to outgoing links
// https://github.com/chjj/marked/pull/451#issuecomment-49976076
var myRenderer = new marked.Renderer();
myRenderer.link = function(href, title, text) {
var external, newWindow, out;
external = /^https?:\/\/.+$/.test(href);
newWindow ... |
/**
* @author mrdoob / http://mrdoob.com/
*/
THREE.SVGObject = function ( node ) {
THREE.Object3D.call( this );
this.node = node;
};
THREE.SVGObject.prototype = Object.create( THREE.Object3D.prototype );
THREE.SVGObject.prototype.constructor = THREE.SVGObject;
THREE.SVGRenderer = function () {
console.log( ... |
/*
* Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
*
* 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 ri... |
// Fine Uploader 5.16.1 - MIT licensed. http://fineuploader.com
(function(global) {
(function($) {
"use strict";
var $el, pluginOptions = [ "uploaderType", "endpointType" ];
function init(options) {
var xformedOpts = transformVariables(options || {}), newUploaderInstance = getNew... |
/*!
* jQuery JavaScript Library v2.0.3 -sizzle,-wrap,-css,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license... |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software an... |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import { unstable_composeClasses as composeClasses } from '@material-ui/unstyled';
import { ... |
/**
* Functions for the ExtendedFileManager, used by manager.php only
* Authors: Wei Zhuo, Afru, Krzysztof Kotowicz, Raimund Meyer
* Version: Updated on 08-01-2005 by Afru
* Version: Updated on 20-06-2006 by Krzysztof Kotowicz
* Version: Updated on 17-11-2006 by Raimund Meyer
* Version: Updated on 20-01-200... |
/*
@说明: jQuery 1.10 开始不支持 $.browser 故而对此进行兼容处理
*/
if( !$.browser ){
$.browser = {};
(function (){
var ua = navigator.userAgent.toLowerCase(),
// Useragent RegExp
rwebkit = /(webkit)[ \/]([\w.]+)/,
ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/,
rmsie = /(msie) ([\w.]+)/,
rmozilla = /(mozilla)(?:.*? r... |
//>>built
define({ root:
//begin v1.x content
({
title_Create: "新增",
title_Update: "编辑"
})
//end v1.x content
,
"zh": true,
"en": true
});
|
const should = require('should');
const supertest = require('supertest');
const sinon = require('sinon');
const testUtils = require('../../../../utils');
const localUtils = require('./utils');
const config = require('../../../../../core/shared/config');
const {events} = require('../../../../../core/server/lib/common');... |
var Faker = require('../index');
var Helpers = require('./helpers');
var definitions = require('../lib/definitions');
var lorem = {
words: function (num) {
if (typeof num == 'undefined') { num = 3; }
return Helpers.shuffle(definitions.lorem).slice(0, num);
},
sentence: function (wordCount,... |
var browserify = require('../');
var vm = require('vm');
var test = require('tap').test;
var through = require('through');
test('function transform', function (t) {
t.plan(7);
var b = browserify(__dirname + '/tr/main.js');
b.transform({ global: true }, function (file) {
return through(function... |
/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
Commercial Usage
Licensees holding valid commercial licenses may use this file in accordance with the Commercial
Software License Agreement provided with the Software or, alternatively, in accordance with th... |
//////////////////////////////////////////////////////////////////////////
// //
// This is a generated file. You can view the original //
// source in your browser if your browser supports source maps. //
// Source maps are s... |
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
'use strict';
angular.module('mgcrea.ngStrap.modal', ['mgcrea.ngStrap.core', 'mgcrea.ngStrap.helpers.dimensions'])
.provider('$modal', function() {
var defaults = this.defaults = {
animation: 'am-fade',
backdropAnimation: 'am-fade',
prefixClass: 'modal',
prefixEvent: 'modal',
plac... |
define(['jquery', 'main/extension', 'main/config', './exportables/Sites/SitesListView'], function ($, ext, cf, slv) {
'use strict';
var identifier;
var config = cf.init();
var init = function (wrapper, util, params, callback) {
identifier = params.identifier;
window.dnn.initSites = fun... |
"use strict";var render=require("./render"),compile=require("./compile"),defaults=require("./defaults"),template=function(e,r){return r instanceof Object?render({filename:e},r):compile({filename:e,source:r})};template.render=render,template.compile=compile,template.defaults=defaults,module.exports=template; |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import clsx from 'clsx';
import PropTypes from 'prop-types';
import { unstable_composeClasses as composeClasses } from '@materia... |
'use strict';
const { kForOnEventAttribute, kListener } = require('./constants');
const kCode = Symbol('kCode');
const kData = Symbol('kData');
const kError = Symbol('kError');
const kMessage = Symbol('kMessage');
const kReason = Symbol('kReason');
const kTarget = Symbol('kTarget');
const kType = Symbol('kType');
con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.