code stringlengths 2 1.05M |
|---|
/**
@license
* @pnp/sp v1.0.5-0 - pnp - provides a fluent api for working with SharePoint REST
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2018 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https:github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
(function... |
CKEDITOR.plugins.setLang("easyimage","tt",{commands:{fullImage:"Full Size Image",sideImage:"Side Image",altText:"Change image alternative text",upload:"Рәсем йөкләргә"},uploadFailed:"Your image could not be uploaded due to a network error."}); |
define(['../../extends', './abstract-simple-constraint'], function(__extends, AbstractSimpleConstraint) {
'use strict';
__extends(EmptyConstraint, AbstractSimpleConstraint);
function EmptyConstraint() {
AbstractSimpleConstraint.apply(this, arguments);
}
Object.defineProperty(EmptyConstraint.... |
(function (global) {
var closeToc = function() {
$(".tocify-wrapper").removeClass('open');
$("#nav-button").removeClass('open');
};
var makeToc = function() {
global.toc = $("#toc").tocify({
selectors: 'h1, h2',
extendPage: false,
theme: 'none',
smoothScroll: false,
sho... |
import path from 'path';
import resolve from '@rollup/plugin-node-resolve';
import filesize from 'rollup-plugin-filesize';
import { terser } from 'rollup-plugin-terser';
import { visualizer } from 'rollup-plugin-visualizer';
import { glconstants, glsl } from '../utils/build/rollup.config';
import chalk from 'chalk';
c... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v17.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __prot... |
import {inject} from 'aurelia-dependency-injection';
import {BoundViewFactory, ViewSlot, customAttribute, templateController} from 'aurelia-templating';
@customAttribute('with')
@templateController
@inject(BoundViewFactory, ViewSlot)
export class With {
constructor(viewFactory, viewSlot){
this.viewFactory = view... |
/*
* /MathJax/jax/output/PlainSource/config.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* 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/... |
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
options: {
separator: ';'
},
dist: {
src: ['lib/**/*.js'],
dest: 'dist/<%= pkg.name %>.js'
}
},
uglify: {
options: {
banner: '/* <%= ... |
/**
* @license Angulartics v0.17.0
* (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics
* Google Tag Manager Plugin Contributed by http://github.com/danrowe49
* License: MIT
*/
(function(angular){
'use strict';
/**
* @ngdoc overview
* @name angulartics.google.analytics
* Enables analytics support... |
var React = require('react/addons');
var Lab = require('lab');
var Code = require('code');
var ControlGroup = require('../../../../client/components/form/ControlGroup');
var lab = exports.lab = Lab.script();
var TestUtils = React.addons.TestUtils;
lab.experiment('ControlGroup', function () {
lab.test('it rende... |
'use strict';
var document = require('global/document');
var hg = require('../index.js');
var h = require('../index.js').h;
var SafeHook = require('./lib/safe-hook.js');
function App() {
return hg.state({
height: hg.value(180),
weight: hg.value(80),
bmi: hg.value(calcBmi(180, 80)),
... |
/**
* +--------------------------------------------------------------------+
* | This HTML_CodeSniffer file is Copyright (c) |
* | Squiz Pty Ltd (ABN 77 084 670 600) |
* +--------------------------------------------------------------------+
* | IMPORTANT: Your... |
/*
Copyright ©2014 Esri. All rights reserved.
TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
Unpublished material - all rights reserved under the
Copyright Laws of the United States and applicable international
laws, treaties, and conventions.
For additional information, contact:
Attn: Contracts and Legal Departmen... |
/*
* Sphinx builder specific JS code.
*/
var rtddata = require('./rtd-data'),
sphinx_theme = require('sphinx-rtd-theme');
function init() {
var rtd = rtddata.get();
/// Click tracking on flyout
$(document).on('click', "[data-toggle='rst-current-version']", function() {
var flyout_state = $(... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define === 'function' && define.amd ? define(factory) :
(factory());
}(this, (function () { 'use strict';
function reframe(target, cName) {
var frames = typeof target === 'string' ? document.quer... |
/* line 1 "ragel/i18n/pa.js.rl" */
;(function() {
/* line 126 "ragel/i18n/pa.js.rl" */
/* line 11 "js/lib/gherkin/lexer/pa.js" */
var _lexer_actions = [
0, 1, 0, 1, 1, 1, 2, 1,
3, 1, 4, 1, 5, 1, 6, 1,
7, 1, 8, 1, 9, 1, 10, 1,
11, 1, 12, 1, 13, 1, 16, 1,
17, 1, 18, 1, 19, 1, 20, 1,
21, 1, 22, 1, 23, 2, ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Circle = void 0;
const Range_1 = require("./Range");
class Circle extends Range_1.Range {
constructor(x, y, radius) {
super(x, y);
this.radius = radius;
}
contains(point) {
const d = Math.pow(point.x... |
'use strict';
var Tokenizer = require('../tokenization/tokenizer'),
TokenizerProxy = require('./tokenizer_proxy');
//Skipping handler
function skip() {
//NOTE: do nothing =)
}
//SimpleApiParser
var SimpleApiParser = module.exports = function (handlers) {
this.handlers = {
doctype: handlers.doctyp... |
'use strict';
module.exports = function (t, a, d) {
var x = {}, y = {}, z = {}, p, r;
t.call(function (arg1, arg2) {
return [this, arg1, arg2];
}, 100).call(x, y, z)(function (arg) {
p = y;
r = arg;
}).end();
a.not(p, y, "Not yet");
setTimeout(function () {
a.not(p, y, "After a while");
setTimeout(func... |
'use strict';
var React = require('react');
var classNames = require('classnames');
var ClassNameMixin = require('./mixins/ClassNameMixin');
var PanelGroup = React.createClass({
mixins: [ClassNameMixin],
propTypes: {
amStyle: React.PropTypes.string,
activeKey: React.PropTypes.any,
defaultActiveKey: R... |
describe('taExecCommand', function(){
'use strict';
var $element;
beforeEach(module('textAngular'));
//mock for easier testing
describe('handles formatBlock BLOCKQUOTE correctly', function(){
beforeEach(function(){
module(function($provide){
$provide.value('taSelection', {
element: undefined,
ge... |
(function(global) {
'use strict';
var fabric = global.fabric || (global.fabric = { }),
extend = fabric.util.object.extend,
min = fabric.util.array.min,
max = fabric.util.array.max,
invoke = fabric.util.array.invoke;
if (fabric.Group) {
return;
}
// lock-related properties, for ... |
/**
* @license
* Copyright 2015 Palantir Technologies, Inc.
*
* 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... |
module.exports={A:{A:{"16":"WB","644":"C B A","2308":"H E G"},B:{"1":"u g I J","16":"D"},C:{"1":"0 1 2 3 4 5 6 C B A D u g I J Y O e P Q R S T U V W X v Z a b c d N f M h i j k l m n o p q r s t y K","2":"UB x F L H E G SB RB"},D:{"1":"0 1 2 3 4 5 6 V W X v Z a b c d N f M h i j k l m n o p q r s t y K GB AB CB VB DB E... |
var _ = require("lodash");
module.exports = function(network, chan, cmd, args) {
if (cmd !== "say" && cmd !== "msg") {
return;
}
if (args.length === 0 || args[0] === "") {
return;
}
var irc = network.irc;
var target = "";
if (cmd === "msg") {
target = args.shift();
if (args.length === 0) {
return;
... |
module.exports={A:{A:{"2":"I C G E A B SB"},B:{"2":"D g q K"},C:{"2":"0 1 2 3 QB F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W OB NB"},D:{"2":"F H I C","33":"0 1 2 6 9 g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W CB RB AB","36":"... |
/**
* @ngdoc model
* @name DeleteCustomerDialogData
* @function
*
* @description
* A dialog data object for deleting CustomerDisplay objects
*/
var DeleteCustomerDialogData = function() {
var self = this;
self.customer = {};
self.name = '';
};
... |
// 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... |
///<reference path='../typings/tsd.d.ts'/>
var path = require('path');
var tsApi = require('./tsapi');
var utils = require('./utils');
(function (FileChangeState) {
FileChangeState[FileChangeState["New"] = 0] = "New";
FileChangeState[FileChangeState["Equal"] = 1] = "Equal";
FileChangeState[FileChangeState["... |
CKEDITOR.plugins.setLang("devtools","es",{title:"Información del Elemento",dialogName:"Nombre de la ventana de diálogo",tabName:"Nombre de la pestaña",elementId:"ID del Elemento",elementType:"Tipo del elemento"}); |
export function LoadingBarConfig (cfpLoadingBarProvider) {
'ngInject'
cfpLoadingBarProvider.includeSpinner = true
}
|
// Expression parser security
//
// Executing arbitrary expressions like enabled by the expression parser of
// mathjs involves a risk in general. When you're using mathjs to let users
// execute arbitrary expressions, it's good to take a moment to think about
// possible security and stability implications, especially... |
/**
* Bind the file upload when editing content, so it works and stuff
*
* @param {string} key
*/
function bindFileUpload(key) {
// Since jQuery File Upload's 'paramName' option seems to be ignored,
// it requires the name of the upload input to be "images[]". Which clashes
// with the non-fancy fallbac... |
// Generated by CoffeeScript 1.12.5
(function() {
var CoffeeScript, Module, binary, child_process, ext, findExtension, fork, helpers, i, len, loadFile, path, ref;
CoffeeScript = require('./coffee-script');
child_process = require('child_process');
helpers = require('./helpers');
path = require('path');
... |
(function() {
/**
*
* Backbone Game Engine - An elementary HTML5 canvas game engine using Backbone.
*
* Copyright (c) 2014 Martin Drapeau
* https://github.com/martindrapeau/backbone-game-engine
*
*/
var sequenceDelay = 300,
animations;
// Mushroom is the base enemie class.
Backb... |
window.gLobal = 42 |
angular.module('app1', ['oc.lazyLoad'])
.config(['$ocLazyLoadProvider', function($ocLazyLoadProvider) {
$ocLazyLoadProvider.config({
modules: [{
name: 'test',
files: []
}]
});
}]);
|
/*! JointJS v2.0.0 (2017-10-23) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
joint.shapes.basic.Generic.define('pn.Place', {
size:... |
/* ***** 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... |
// @flow strict
import React from 'react';
import { Link } from 'gatsby';
import styles from './Tags.module.scss';
type Props = {
tags: string[],
tagSlugs: string[]
};
const Tags = ({ tags, tagSlugs }: Props) => (
<div className={styles['tags']}>
<ul className={styles['tags__list']}>
{tagSlugs && tagS... |
/**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v21.2.2
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.leng... |
/* http://keith-wood.name/calendars.html
Czech localisation for calendars datepicker for jQuery.
Written by Tomas Muller (tomas@tomas-muller.net). */
(function($) {
'use strict';
$.calendarsPicker.regionalOptions.cs = {
renderer: $.calendarsPicker.defaultRenderer,
prevText: '<Dříve',
prevStat... |
/* http://keith-wood.name/calendars.html
Romansh localisation for Gregorian/Julian calendars for jQuery.
Yvonne Gienal (yvonne.gienal@educa.ch). */
(function($) {
'use strict';
$.calendars.calendars.gregorian.prototype.regionalOptions.rm = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: [... |
/*globals describe, beforeEach, afterEach, it*/
/*jshint expr:true*/
var path = require('path'),
EventEmitter = require('events').EventEmitter,
should = require('should'),
sinon = require('sinon'),
_ = require('lodash'),
when = require('when'),
helpers ... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'showblocks', 'th', {
toolbar: 'แสดงบล็อคข้อมูล'
} );
|
var x = React.DOM.div({
foo: "bar"
}, React.DOM["font-face"](null));
|
/*!
Shoelace.css dropdowns 1.0.0-beta21
(c) A Beautiful Site, LLC
Released under the MIT license
Source: https://github.com/claviska/shoelace-css
*/
!function(){"use strict";if("undefined"==typeof jQuery&&"undefined"==typeof Zepto)throw new Error("Shoelace dropdowns require either jQuery or Zepto.");("function... |
'use strict';
!function($) {
/**
* Equalizer module.
* @module foundation.equalizer
* @requires foundation.util.mediaQuery
* @requires foundation.util.timerAndImageLoader if equalizer contains images
*/
class Equalizer {
/**
* Creates a new instance of Equalizer.
* @class
* @fires Equalizer#init
*... |
/**
* @overview datejs
* @version 1.0.0-rc3
* @author Gregory Wild-Smith <gregory@wild-smith.com>
* @copyright 2014 Gregory Wild-Smith
* @license MIT
* @homepage https://github.com/abritinthebay/datejs
*/
/*
2014 Gregory Wild-Smith
@license MIT
@homepage https://github.com/abritinthebay/datejs
2014 Gregory ... |
var EXIF = (function() {
var debug = false;
var ExifTags = {
// version tags
0x9000 : "ExifVersion", // EXIF version
0xA000 : "FlashpixVersion", // Flashpix format version
// colorspace tags
0xA001 : "ColorSpace", // Color space information tag
// image... |
/*!
* OOjs UI v0.22.3
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2017 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2017-07-11T22:12:33Z
*/
( function ( OO ) {
'use strict';
/**
* An ActionWidget is a {@link OO.ui.ButtonWidget ... |
// Load modules
var Hoek = require('hoek');
var Language = require('./language');
// Declare internals
var internals = {};
internals.stringify = function (value, wrapArrays) {
var type = typeof value;
if (value === null) {
return 'null';
}
if (type === 'string') {
return value;
... |
var tedious = require("../../lib/tedious");
var Request = tedious.Request;
var TYPES = tedious.TYPES;
var common = require("../common");
var connection;
common.createBenchmark({
name: "inserting varbinary(max) with 4 bytes",
setup: function(cb) {
common.createConnection(function(_connection) {
connecti... |
import Ember from 'ember';
const {Controller, compare, computed} = Ember;
const {equal} = computed;
// a custom sort function is needed in order to sort the posts list the same way the server would:
// status: ASC
// published_at: DESC
// updated_at: DESC
// id: DESC
function comparator(item1, item2) ... |
describe('Core_getCellMeta', function () {
var id = 'testContainer';
beforeEach(function () {
this.$container = $('<div id="' + id + '"></div>').appendTo('body');
});
afterEach(function () {
if (this.$container) {
destroy();
this.$container.remove();
}
});
it('should not allow man... |
define(
//begin v1.x content
{
"field-second": "sekund",
"field-year-relative+-1": "i fjol",
"field-week": "vecka",
"field-month-relative+-1": "förra månaden",
"field-day-relative+-1": "i går",
"field-day-relative+-2": "i förrgår",
"field-year": "år",
"field-week-relative+0": "denna vecka",
"field-week-relativ... |
/*!
* OOjs UI v0.21.2
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2017 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2017-04-26T01:05:10Z
*/
( function ( OO ) {
'use strict';
/**
* An ActionWidget is a {@link OO.ui.ButtonWidget ... |
/** @module myModule */
/** An event (has listeners).
* @event MyEvent
* @memberof module:myModule
* @param {number} foo - asdf. */
/** A handler.
* @listens module:myModule.MyEvent
* @listens module:myModule~Events.event:Event2
* @listens fakeEvent
*/
function MyHandler() {
}
/** Another handler.
* @listens... |
'use strict';
const xcode = require('xcode');
const PbxFile = require('xcode/lib/pbxFile');
const addProjectToLibraries = require('../../ios/addProjectToLibraries');
const removeProjectFromLibraries = require('../../ios/removeProjectFromLibraries');
const last = require('lodash').last;
const path = require('path');
c... |
/*jshint sub:true*/
'use strict';
angular.module('com.module.events')
.controller('EventsCtrl', function($scope, $state, $stateParams, CoreService,
Event, gettextCatalog) {
var eventId = $stateParams.id;
var createDate = function(date, time) {
console.log(date);
console.log(time);
if ... |
define([], function() {
var util = hello.utils.param;
describe('utils.param', function() {
var test = {
param: 'param1',
param2: 'param2',
hyperlink: 'https://example.com?a=1&b=2',
jsonp: '?'
};
it('should accept an object and return a string', function() {
var value = util({});
expect(v... |
var isArguments = require('./isArguments'),
isArray = require('./isArray'),
isArrayLike = require('./isArrayLike'),
isFunction = require('./isFunction'),
isString = require('./isString');
/** Used for built-in method references. */
var objectProto = global.Object.prototype;
/** Used to check objects f... |
"use strict";
exports.__esModule = true;
exports.RESPONSE_CYCLE_TIME = exports.RES_TIMEOUT = exports.ACK_TIMEOUT_KNOWN = exports.ACK_TIMEOUT = exports.CHILD_WINDOW_TIMEOUT = exports.BRIDGE_TIMEOUT = void 0;
const BRIDGE_TIMEOUT = 5000;
exports.BRIDGE_TIMEOUT = BRIDGE_TIMEOUT;
const CHILD_WINDOW_TIMEOUT = 5000;
exports... |
'use strict';
var get = require('get-value');
var _ = require('lodash');
/**
* Convenience method for debugging.
*
* **Examples**
*
* ```js
* {%= log(debug("app")) %}
* {%= log(debug("app.cache.data")) %}
*
* {%= log(debug("file")) %}
* {%= log(debug("file.data")) %}
*
* {%= log(debug()) %}
* {%= log(deb... |
/*
* Test utils.betterErrors. utils.betterErrors should provide sensible error messages even when the error does not
* contain expected, actual or operator.
*/
var assert = require("../lib/assert");
var should = require("should");
var types = require("../lib/types");
var util = require('util');
var utils = requi... |
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
PIXI.WebGLShaderManager = function(gl)
{
this.setContext(gl);
// the final one is used for the rendering strips
//this.stripShader = new PIXI.StripShader(gl);
};
PIXI.WebGLShaderManager.prototype.setContext = function(gl)
{
this.gl = gl;
... |
/*
Copyright (C) 2011 by MarkLogic Corporation
Author: Mike Brevoort <mike@brevoort.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 limitation the right... |
// A simple tracker dependency that we invalidate every time the window is
// resized. This is used to reactively re-calculate the popup position in case
// of a window resize. This is the equivalent of a "Signal" in some other
// programming environments (eg, elm).
const windowResizeDep = new Tracker.Dependency();
$(w... |
'use strict';
var implementation = require('./implementation');
module.exports = function getPolyfill() {
if (!String.prototype.trimStart && !String.prototype.trimLeft) {
return implementation;
}
var zeroWidthSpace = '\u200b';
var trimmed = zeroWidthSpace.trimStart ? zeroWidthSpace.trimStart() : zeroWidthSpace.... |
'use strict';
var lint = require('./_lint');
//////////////////////////////
// SCSS syntax tests
//////////////////////////////
describe('space before colon - scss', function () {
var file = lint.file('space-before-colon.scss');
it('[include: false]', function (done) {
lint.test(file, {
'space-before-c... |
"use strict";
var $__ScopeChainBuilderWithReferences_46_js__;
var ScopeChainBuilderWithReferences = ($__ScopeChainBuilderWithReferences_46_js__ = require("./ScopeChainBuilderWithReferences.js"), $__ScopeChainBuilderWithReferences_46_js__ && $__ScopeChainBuilderWithReferences_46_js__.__esModule && $__ScopeChainBuilderWi... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'pl', {
alt: 'Wstaw podział strony',
toolbar: 'Wstaw podział strony'
} );
|
Package.describe({
summary: "Password support for accounts",
version: "1.1.3"
});
Package.onUse(function(api) {
api.use('npm-bcrypt@=0.7.8_2');
api.use([
'accounts-base',
'srp',
'sha',
'ejson',
'ddp'
], ['client', 'server']);
// Export Accounts (etc) to packages using this one.
api.... |
/* */
(function(Buffer) {
var assert = require("assert");
var BN = require("../../lib/bn").BN;
var fixtures = require("../fixtures");
describe('BN.js/Slow DH test', function() {
var groups = fixtures.dhGroups;
Object.keys(groups).forEach(function(name) {
it('should match public key for ' + name +... |
// Copyright 2007 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
//
// Unless requ... |
(function() {
// Based on http://vis.stanford.edu/protovis/ex/qqplot.html
d3.qq = function() {
var width = 1,
height = 1,
duration = 0,
domain = null,
tickFormat = null,
n = 100,
x = qqX,
y = qqY;
// For each small multiple…
function qq(g) {
g.each(function(d, i) {
... |
/*! hyperform.js.org */
'use strict';
function trigger_event (element, event) {
var _ref = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];
var _ref$bubbles = _ref.bubbles;
var bubbles = _ref$bubbles === undefined ? true : _ref$bubbles;
var _ref$cancelable = _ref.cancelable;
... |
/*!
* anyjs tiny ver 1.0.0 beta2 - any-tiny.js
* (c) 2016, any-js - https://github.com/any-js/anyjs/ (Released under the MIT license)
*/
/**
* anyjs - any-tiny.js
* (c) any-js - https://github.com/any-js/
* Released under the MIT license
*/
var $any = {};
(function(any){
'use strict';
any.define = {};
/**
... |
module.exports={title:"PayPal",slug:"paypal",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>PayPal</title><path d="M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.43... |
import Fixture from '../../Fixture';
const React = window.React;
class NumberInputDecimal extends React.Component {
state = {value: '.98'};
changeValue = () => {
this.setState({
value: '0.98',
});
};
render() {
const {value} = this.state;
return (
<Fixture>
<div>{this.props... |
/*
* /MathJax/localization/cy/TeX.js
*
* Copyright (c) 2009-2017 The MathJax Consortium
*
* 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/L... |
// Copyright 2007 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
//
// Unless requ... |
/**
* Copyright (c) Nicolas Gallagher.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
import ReactNativePropRegistry from './ReactNativePropRegistry';
import flattenStyle from './flattenStyle';
var absoluteFillObject = {
pos... |
/*globals $*/
/*jslint vars: true, eqeq: true, continue: true*/
/**
* Recalculate.
*
* Licensed under the MIT License
*
*/
// Dependencies:
// 1) jquery
// 2) jquery-svg.js
// 3) svgedit.js
// 4) browser.js
// 5) math.js
// 6) history.js
// 7) units.js
// 8) svgtransformlist.js
// 9) svgutils.js
// 10) coords.js
... |
ej.addCulture("et",{name:"et",englishName:"Estonian",nativeName:"eesti",language:"et",numberFormat:{",":" ",".":",",NaN:"avaldamatu",negativeInfinity:"miinuslõpmatus",positiveInfinity:"plusslõpmatus",percent:{pattern:["-n%","n%"],",":" ",".":","},currency:{pattern:["-n $","n $"],",":" ",symbol:"€"}},calendars:{standard... |
define(function(require) {
var test = require('../../test')
var assert = test.assert
// var BASE_RE = /^(.+?\/)(\?\?)?(seajs\/)+/
assert('http://test.com/seajs/sea.js'.match(BASE_RE)[1] === 'http://test.com/', 'BASE_RE')
assert('http://test.com/seajs/2.1.0/sea.js'.match(BASE_RE)[1] === 'http://test.com/',... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var ModuleDependency = require("./ModuleDependency");
var Template = require("../Template");
function LabeledModuleDependency(request, range) {
ModuleDependency.call(this, request);
this.Class = LabeledModule... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.async = global.async || {})));
}(this, function (exports) { 'use strict';
/**
* A faster alte... |
/**
* Copyright (c) 2012, 2013 Taye Adeyemi
* Open source under the MIT License.
* https://raw.github.com/taye/interact.js/master/LICENSE
*
* @file
* @version 1.0.1
* @author Taye Adeyemi <dev@taye.me>
*/
window.interact = (function () {
'use strict';
var document = window.document,
c... |
/*!
* Copyright 2015 Netflix, Inc
*
* 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 applicable law or agreed to in... |
/**
* @ngdoc service
* @name umbraco.mocks.mediaHelperService
* @description A helper object used for dealing with media items
**/
function mediaHelper(umbRequestHelper) {
return {
/**
* @ngdoc function
* @name umbraco.services.mediaHelper#getImagePropertyValue
* @methodOf umbraco... |
"use strict";!function(n){var o=function(){function n(n){function o(n){this.v=n}var t=n.scanner.TOKENS,r=n.parser,i=r.TOKENS,e=r.State,s=i.Base,u=n.parser.start,a=t.DOMAIN,S=t.LOCALHOST,c=t.NUM,f=t.SLASH,w=t.TLD,O=t.UNDERSCORE;n.inherits(s,o,{type:"mention",isLink:!0,toHref:function(){return"/"+this.toString().substr(1... |
/**
* @fileoverview A rule to warn against using arrow functions when they could be
* confused with comparisions
* @author Jxck <https://github.com/Jxck>
*/
"use strict";
const astUtils = require("../ast-utils.js");
//------------------------------------------------------------------------------
// Helpers
//---... |
import { get } from 'ember-metal/property_get';
import isNone from 'ember-metal/is_none';
/**
Verifies that a value is `null` or an empty string, empty array,
or empty function.
Constrains the rules on `Ember.isNone` by returning true for empty
string and empty arrays.
```javascript
Ember.isEmpty(); ... |
(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.mobx = f()}})(... |
$(function() {
'use strict';
// Todo Item View
// --------------
// The DOM element for a todo item...
Thorax.View.extend({
//... is a list tag.
tagName: 'li',
// Cache the template function for a single item.
name: 'todo-item',
// The DOM events specific to an item.
events: {
'click .toggle':... |
/*
* DC jQuery Floater - jQuery Floater
* Copyright (c) 2011 Design Chemical
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
(function($){
//define the new for the plugin ans how to call it
$.fn... |
function array_intersect_key (arr1) {
// http://kevin.vanzonneveld.net
// + original by: Brett Zamir (http://brett-zamir.me)
// % note 1: These only output associative arrays (would need to be
// % note 1: all numeric and counting from zero to be numeric)
// * example 1: $array1 = {a: 'gre... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("specialchar","cy",{euro:"Arwydd yr Ewro",lsquo:"Dyfynnod chwith unigol",rsquo:"Dyfynnod dde unigol",ldquo:"Dyfynnod chwith dwbl",rdquo:"Dyfynnod dde... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.