code stringlengths 2 1.05M |
|---|
'use strict';
var chalk = require('chalk');
var pad = require('pad-component');
var wrap = require('word-wrap');
var stringLength = require('string-length');
var stripAnsi = require('strip-ansi');
var ansiStyles = require('ansi-styles');
var ansiRegex = require('ansi-regex')();
var topOffset = 3;
var leftOffset = 17;
... |
goog.provide('ol.test.source.TileArcGISRest');
describe('ol.source.TileArcGISRest', function() {
var options;
beforeEach(function() {
options = {
params: {},
url: 'http://example.com/MapServer'
};
});
describe('#getTile', function() {
it('returns a tile with the expected URL', funct... |
/**
* 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.
*
* @emails react-core
*/
'use strict';
let React;
let ReactDOM;
let TestComponent;
describe('ReactCompositeComponent-state', ()... |
/*
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... |
'use strict';
/*
* This program is distributed under the terms of the MIT license:
* <https://github.com/v0lkan/talks/blob/master/LICENSE.md>
* Send your comments and suggestions to <me@volkan.io>.
*/
require( 'babel-register' );
require( './server' );
|
console.warn("warn -",`Imports like "const winamp = require('simple-icons/icons/winamp');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siWinamp } = require('simple-icons/icons');" instead`),module.exports={title:"Winamp",slug:"winamp",get svg(){return'<svg role="img" viewBox="0 0 24... |
define("JBrowse/Store/LRUCache", [
'dojo/_base/declare',
'dojo/_base/array',
'JBrowse/Util',
'JBrowse/Digest/Crc32'
],
function( declare, array, Util, digest ) {
return declare( null,
/**
* @lends JBrowse.Store.LRUCache
*/
{
/**
* An LRU cache.
... |
/*!
* Flickity PACKAGED v2.2.1
* Touch, responsive, flickable carousels
*
* Licensed GPLv3 for open source use
* or Flickity Commercial License for commercial use
*
* https://flickity.metafizzy.co
* Copyright 2015-2019 Metafizzy
*/
/**
* Bridget makes jQuery widgets
* v2.0.1
* MIT license
*/
/* jshint br... |
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
define(['exports',
'../../Core/_Global',
'../../Core/_Base',
'../../Core/_ErrorFromName',
'../../Core/_Events',
'../../ControlProcessor',
'.... |
/*
* Copyright 2013 Ernests Karlsons
* https://github.com/bez4pieci
* http://www.karlsons.net
*
* 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
* with... |
/**
* sp-pnp-js v3.0.3 - A JavaScript library for SharePoint development.
* MIT (https://github.com/SharePoint/PnP-JS-Core/blob/master/LICENSE)
* Copyright (c) 2017 Microsoft
* docs: http://officedev.github.io/PnP-JS-Core
* source: https://github.com/SharePoint/PnP-JS-Core
* bugs: https://github.com/SharePoint/Pn... |
module.exports = function(grunt) {
grunt.registerTask('version:all', ['version:dist', 'version:bower']);
grunt.registerTask('version', ['version:all']);
}; |
'use strict';
// Load modules
const Directory = require('./directory');
const Etag = require('./etag');
const File = require('./file');
const Hoek = require('hoek');
// Declare internals
const internals = {
defaults: {
etagsCacheMaxSize: 1000
}
};
exports.register = function (server, options, nex... |
"use strict";
var inherits = require('util').inherits
, EventEmitter = require('events').EventEmitter
, net = require('net')
, tls = require('tls')
, f = require('util').format
, debugOptions = require('./utils').debugOptions
, Response = require('./commands').Response
, MongoError = require('../error')
... |
/**
* Templates to match those used previous versions of Backbone Form, i.e. <= 0.11.0.
* NOTE: These templates are deprecated.
*/
Form.template = _.template('\
<form class="bbf-form" data-fieldsets></form>\
');
Form.Fieldset.template = _.template('\
<fieldset>\
<% if (legend) { %>\
... |
'use strict';
module.exports = function generate_dependencies(it, $keyword) {
var out = ' ';
var $lvl = it.level;
var $dataLvl = it.dataLevel;
var $schema = it.schema[$keyword];
var $schemaPath = it.schemaPath + '.' + $keyword;
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
var $breakOnError = !i... |
module.exports={A:{A:{"1":"E A B","2":"I C G SB"},B:{"1":"D g q K"},C:{"1":"0 1 2 t y r W","257":"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","289":"3 OB NB","292":"QB"},D:{"1":"0 1 2 6 9 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... |
/**
* Not type checking this file because flow doesn't like attaching
* properties to Elements.
*/
import { looseEqual, looseIndexOf, makeMap } from 'shared/util'
import { warn, isAndroid, isIE9, isIE, isEdge } from 'core/util/index'
const isTextInputType = makeMap('text,number,password,search,email,tel,url')
/* ... |
'use strict';
const chai = require('chai'),
expect = chai.expect,
Support = require(__dirname + '/../support'),
current = Support.sequelize,
DataTypes = require(__dirname + '/../../../lib/data-types'),
Sequelize = Support.Sequelize,
moment = require('moment');
describe(Support.getTestDialectTeaser(... |
/*
This file is part of Ext JS 4
Copyright (c) 2011 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p... |
/**
* @author <Your Name> <Your e-mail/Website if you would like>
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['cn'] = {
'Bold': '粗体',
'Italic': '斜体',
'Underline': '下划线',
'Strikethrough': '删除线',
'Subscript': '下标',
'Superscript'... |
/**
* @license Highcharts JS v6.1.0 (2018-04-13)
*
* Indicator series type for Highstock
*
* (c) 2010-2017 Paweł Dalek
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);... |
/*
* 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.
*/
... |
var searchData=
[
['handleinfo',['HandleInfo',['../structblackbone_1_1_handle_info.html',1,'blackbone']]],
['hash_3c_20struct_20pair_3c_20wstring_2c_20blackbone_3a_3aemodtype_20_3e_20_3e',['hash< struct pair< wstring, blackbone::eModType > >',['../structstd_1_1hash_3_01struct_01pair_3_01wstring_00_01bla... |
'use strict';
/**
@module ember-cli
*/
var FileInfo = require('./file-info');
var Promise = require('../ext/promise');
var chalk = require('chalk');
var printableProperties = require('../utilities/printable-properties').blueprint;
var sequence = require('../utilities/seq... |
/*! X-editable - v1.3.0
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
* http://github.com/vitalets/x-editable
* Copyright (c) 2012 Vitaliy Potapov; Licensed MIT */
/**
Form with single input element, two buttons and two states: normal/loading.
Applied as jQuery method to DIV tag (not to form tag... |
/**
* Module dependencies.
*/
var util = require('util')
, OAuth2Strategy = require('passport-oauth2')
, Profile = require('./profile')
, InternalOAuthError = require('passport-oauth2').InternalOAuthError;
/**
* `Strategy` constructor.
*
* The GitHub authentication strategy authenticates requests by delega... |
var _native_enums_8h =
[
[ "KAPC_ENVIRONMENT", "_native_enums_8h.html#ad20ba64291637d1cc7c66ee4a8944d6a", null ],
[ "MEMORY_INFORMATION_CLASS", "_native_enums_8h.html#a8d895842a32a31ce3b1f7ca2d8f61ac6", null ],
[ "MI_VAD_TYPE", "_native_enums_8h.html#a05837414a11b8e3ad9400255265006b4", null ],
[ "MMSYST... |
module("deferred", { teardown: moduleTeardown });
jQuery.each( [ "", " - new operator" ], function( _, withNew ) {
function createDeferred( fn ) {
return withNew ? new jQuery.Deferred( fn ) : jQuery.Deferred( fn );
}
test("jQuery.Deferred" + withNew, function() {
expect( 22 );
createDeferred().resolve().t... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'find', 'id', {
find: 'Temukan',
findOptions: 'Opsi menemukan',
findWhat: 'Temukan apa:',
matchCase: 'Match case', // MISSING
matchCyclic: 'Match... |
/* */
(function(Buffer, process) {
var tape = require("tape");
var vectors = require("hash-test-vectors");
var Buffer = require("buffer").Buffer;
var hexpp = require("../hexpp");
var createHash = require("../index");
function makeTest(alg, i, verbose) {
var v = vectors[i];
tape(alg + ': NIST vector... |
/*
* # Semantic - Search
* http://github.com/jlukic/semantic-ui/
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
$.fn.search = function(source, parameters) {
var
$allModules = $(this),
mod... |
/**
* 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 React from 'react';
import PropTypes from 'prop-... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/Gyre-Termes/fontdata-extra.js
*
* Adds extra stretchy characters to the Gyre-Termes fonts
* Copyright (c) 2013-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License")... |
module.exports={title:"Django",slug:"django",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Django icon</title><path d="M11.146 0h3.924v18.166c-2.013.382-3.491.535-5.096.535-4.791 0-7.288-2.166-7.288-6.32 0-4.002 2.65-6.6 6.753-6.6.637 0 1.121.05 1.707.203zm0 9.143a3.894 3.894 0 00-1... |
/**
* angular-strap
* @version v2.2.3 - 2015-05-20
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';angular.module('mgcrea.ngStrap.tab').run(['$templateCache',f... |
/*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('autocomplete-list', function (Y, NAME) {
/**
Traditional autocomplete dropdown list widget, just like Mom used to make.
@module autocomplete
@submodule autocomplete... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'templates', 'el', {
button: 'Πρότυπα',
emptyListMsg: '(Δεν έχουν καθοριστεί πρότυπα)',
insertOption: 'Αντικατάσταση υπάρχοντων περιεχομένων',
opt... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'templates', 'hu', {
button: 'Sablonok',
emptyListMsg: '(Nincs sablon megadva)',
insertOption: 'Kicseréli a jelenlegi tartalmat',
options: 'Sablon... |
import { Material } from './Material.js';
import { Color } from '../math/Color.js';
/**
* @author alteredq / http://alteredqualia.com/
*
* parameters = {
* color: <hex>,
* opacity: <float>,
* map: new THREE.Texture( <Image> ),
*
* uvOffset: new THREE.Vector2(),
* uvScale: new THREE.Vector2()
* }
*/
func... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'docprops', 'nb', {
bgColor: 'Bakgrunnsfarge',
bgFixed: 'Lås bakgrunnsbilde',
bgImage: 'URL for bakgrunnsbilde',
charset: 'Tegnsett',
charsetASCI... |
Package.describe({summary: "Telescope search package"});
Package.onUse(function (api) {
api.use(['telescope-lib', 'telescope-base', 'aldeed:simple-schema'], ['client', 'server']);
api.use([
'jquery',
'underscore',
'iron:router',
'templating',
'tap:i18n'
], 'client');
api.add_files([
... |
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.
var app = app || {};
(function () {
'use strict';
var TodoCollection = Backbone.Collection.extend({
model: app.TodoModel,
});
app.todoCollecti... |
"use strict";!function(e){void 0===e.ro&&(e.ro={"mejs.plural-form":5,"mejs.fullscreen-off":"Opreşte ecranul complet","mejs.fullscreen-on":"Treci la ecran complet","mejs.download-video":"Descarcă fişierul video","mejs.fullscreen":"Ecran complet","mejs.play":"Redare","mejs.pause":"Pauză","mejs.close":"Închide","mejs.time... |
// Oracle Client
// -------
import { assign, map, flatten, values } from 'lodash'
import inherits from 'inherits';
import Client from '../../client';
import Promise from 'bluebird';
import * as helpers from '../../helpers';
import {bufferToString} from '../../query/string';
import Formatter from './formatter';
impor... |
var ImageDialog = {
preInit : function() {
var url;
tinyMCEPopup.requireLangPack();
if (url = tinyMCEPopup.getParam("external_image_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
},
init : fun... |
/* eslint-env mocha */
import React from 'react';
import {shallow} from 'enzyme';
import {expect} from 'chai';
import TextFieldLabel from './TextFieldLabel';
import getMuiTheme from '../styles/getMuiTheme';
describe('<TextFieldLabel>', () => {
it('uses focus styles', () => {
const wrapper = shallow(
<TextF... |
Prism.languages.clike = {
'comment': {
pattern: /(^|[^\\])(\/\*[\w\W]*?\*\/|(^|[^:])\/\/.*?(\r?\n|$))/g,
lookbehind: true
},
'string': /("|')(\\?.)*?\1/g,
'class-name': {
pattern: /((?:(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/ig,
lookbehind: true,
insid... |
const Collection = require('../util/Collection');
const UserConnection = require('./UserConnection');
/**
* Represents a user's profile on Discord.
*/
class UserProfile {
constructor(user, data) {
/**
* The owner of the profile
* @type {User}
*/
this.user = user;
/**
* The client t... |
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again.
*
* If you would like to build CKEdi... |
IntlMessageFormat.__addLocaleData({locale:"bg", messageformat:{pluralFunction:function (n) { n=Math.floor(n);if(n===1)return"one";return"other"; }}}); |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","mk",{title:"Инструкции за пристапност",contents:"Содржина на делот за помош. За да го затворите овој дијалот притиснете ESC.",legend:[{... |
/*
* FooTable v3 - FooTable is a jQuery plugin that aims to make HTML tables on smaller devices look awesome.
* @version 3.1.1
* @link http://fooplugins.com
* @copyright Steven Usher & Brad Vincent 2015
* @license Released under the GPLv3 license.
*/
(function(F){
F.Filter = F.Class.extend(/** @lends FooTable.Filter *... |
function f(a, ...b, c){}
|
var ProxyURL = require('./proxy').ProxyURL;
var Promise = require('./promise');
function ProxyImageContainer(src, proxy) {
var link = document.createElement("a");
link.href = src;
src = link.href;
this.src = src;
this.image = new Image();
var self = this;
this.promise = new Promise(function... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function get() {
return _AppBar.default;
}
});
var _AppBar = _interopRequir... |
/*
* heatmap.js v2.0.0 | JavaScript Heatmap Library
*
* Copyright 2008-2014 Patrick Wied <heatmapjs@patrick-wied.at> - All rights reserved.
* Dual licensed under MIT and Beerware license
*
* :: 2015-07-19 15:42
*/
;(function (name, context, factory) {
// Supports UMD. AMD, CommonJS/Node.js and browser contex... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
/*! jQuery UI Virtual Keyboard v1.25.22 *//*
Author: Jeremy Satterfield
Maintained: Rob Garrison (Mottie on github)
Licensed under the MIT License
An on-screen virtual keyboard embedded within the browser window which
will popup when a specified entry field is focused. The user can then
type and preview their input be... |
/*
Ring.js
Copyright (c) 2013, Nicolas Vanhoren
Released under the MIT license
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... |
/* ***** 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 sou... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : factory(global.IncrementalDOM = {});
})(this, function (exports) {
'use strict';
/**
* Copyright 2015 The Incremental DOM ... |
/*!
* inferno-vnode-flags v1.0.0-beta24
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Inferno = globa... |
export*from"../.internal/plugins/forceDirected/ForceDirectedLink";export*from"../.internal/plugins/forceDirected/ForceDirectedTree";export*from"../.internal/plugins/forceDirected/ForceDirectedNode";export*from"../.internal/plugins/forceDirected/ForceDirectedSeries"; |
var locale={moduleType:"locale",name:"hr",dictionary:{},format:{days:["Nedjelja","Ponedjeljak","Utorak","Srijeda","\u010cetvrtak","Petak","Subota"],shortDays:["Ned","Pon","Uto","Sri","\u010cet","Pet","Sub"],months:["Sije\u010danj","Velja\u010da","O\u017eujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Lis... |
import React from 'react';
import { Link } from 'react-router';
class Sidebar extends React.Component {
render () {
var assignments = COURSES[this.props.params.courseId].assignments
return (
<div>
<h3>Sidebar Assignments</h3>
<ul>
{assignments.map(assignment => (
... |
!function() {
var d3 = {
version: "3.5.6"
};
var d3_arraySlice = [].slice, d3_array = function(list) {
return d3_arraySlice.call(list);
};
var d3_document = this.document;
function d3_documentElement(node) {
return node && (node.ownerDocument || node.document || node).documentElement;
}
func... |
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Knex=e()}}(function(){var define,module,exports;retur... |
/**
* @file Manages Salesforce Apex REST endpoint calls
* @author Shinichi Tomita <shinichi.tomita@gmail.com>
*/
/**
* API class for Apex REST endpoint call
*
* @class
* @param {Connection} conn Connection
*/
var Apex = function(conn) {
this._conn = conn;
};
/**
* @private
*/
Apex.prototype._baseUrl = fun... |
//this might was already extended by ES5 shim feature
(function($){
"use strict";
var webshims = window.webshims;
if(webshims.defineProperties){return;}
var defineProperty = 'defineProperty';
var has = Object.prototype.hasOwnProperty;
var descProps = ['configurable', 'enumerable', 'writable'];
var extendUndefin... |
/*!
Deck JS - deck.status
Copyright (c) 2011-2014 Caleb Troughton
Dual licensed under the MIT license.
https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
*/
/*
This module adds a (current)/(total) style status indicator to the deck.
*/
(function($, undefined) {
var $document = $(document);
var r... |
// 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
//
// Unless requ... |
/* globals _wpCustomizeHeader, _wpMediaViewsL10n */
(function( exports, $ ){
var api = wp.customize;
/**
* @param options
* - previewer - The Previewer instance to sync with.
* - transport - The transport to use for previewing. Supports 'refresh' and 'postMessage'.
*/
api.Setting = api.Value.extend({
init... |
import { Node, SourceLocation, Token, addLooseExports, defaultOptions, getLineInfo, isNewLine, lineBreak, lineBreakG, tokTypes, tokenizer } from './acorn.es';
function noop() {}
// Registered plugins
var pluginsLoose = {};
var LooseParser = function LooseParser(input, options) {
if ( options === void 0 ) options =... |
'use strict';
const fs = require('fs');
const pify = require('pify');
function type(fn, fn2, fp) {
if (typeof fp !== 'string') {
return Promise.reject(new TypeError(`Expected a string, got ${typeof fp}`));
}
return pify(fs[fn])(fp).then(stats => stats[fn2]());
}
function typeSync(fn, fn2, fp) {
if (typeof fp !... |
YUI.add('highlight-base', function(Y) {
/**
* Provides methods for highlighting strings within other strings by wrapping
* them in HTML.
*
* @module highlight
* @since 3.3.0
*/
/**
* <p>
* Provides methods for highlighting strings within other strings by wrapping
* them in HTML.
* </p>
*
* <p>
* The high... |
hljs.registerLanguage("dsconfig",function(e){var i={cN:"string",b:/"/,e:/"/},r={cN:"string",b:/'/,e:/'/},s={cN:"string",b:"[\\w-?]+:\\w+",e:"\\W",r:0},t={cN:"string",b:"\\w+-?\\w+",e:"\\W",r:0};return{k:"dsconfig",c:[{cN:"keyword",b:"^dsconfig",e:"\\s",eE:!0,r:10},{cN:"built_in",b:"(list|create|get|set|delete)-(\\w+)",... |
define([
"../core",
"../core/parseHTML",
"../ajax",
"../traversing",
"../manipulation",
"../selector",
// Optional event/alias dependency
"../event/alias"
], function( jQuery ) {
// Keep a copy of the old load method
var _load = jQuery.fn.load;
/**
* Load a url into a page
*/
jQuery.fn.load = function( url,... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'sr-latn', {
copy: 'Kopiraj',
copyError: 'Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja tek... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'format', 'tr', {
label: 'Biçim',
panelTitle: 'Biçim',
tag_address: 'Adres',
tag_div: 'Paragraf (DIV)',
tag_h1: 'Başlık 1',
tag_h2: 'Başlık 2',
... |
/**
* lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jerem... |
module.exports={title:"Wattpad",slug:"wattpad",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Wattpad icon</title><path d="M22.957 18.26c0 1.775-1.357 3.131-3.13 3.131H9.39c-5.321 0-8.348-2.817-8.348-7.826V5.74c0-1.774 1.357-3.13 3.131-3.13h3.13c.522 0 1.148.104 1.566.417.417-.313 1.... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define ==... |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const HTMLElement = require("./HTMLElement.js");
const impl = utils.implSymbol;
function HTMLLegendElement() {
throw new TypeError("Illegal constructor");
}
HTMLLegendElement.prototype = Object.create(HTMLElement.i... |
export { default } from './InputAdornment'; |
Type.registerNamespace("Strings");
Strings.OfficeOM = function()
{
};
Strings.OfficeOM.registerClass("Strings.OfficeOM");
Strings.OfficeOM.L_InvalidNamedItemForBindingType = "O tipo de vínculo especificado não é compatível com item nomeado fornecido.";
Strings.OfficeOM.L_EventHandlerNotExist = "O processador de event... |
/**
* @license AngularJS v1.3.19
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/**
* @ngdoc module
* @name ngMessages
* @description
*
* The `ngMessages` module provides enhanced support for displaying messages within templates
* (typ... |
YUI.add("highlight-accentfold",function(E){var D=E.Unicode.AccentFold,B=E.Escape,C={},A=E.mix(E.Highlight,{allFold:function(K,J,H){var I=A._TEMPLATE,F=[],G=0;H=E.merge({replacer:function(M,O,N,P){var L;if(O&&!(/\s/).test(N)){return M;}L=N.length;F.push(K.substring(G,P)+I.replace(/\{s\}/g,K.substr(P,L)));G=P+L;}},H||C);... |
YUI.add("lang/datatype-date-format_es-CO",function(e){e.Intl.add("datatype-date-format","es-CO",{a:["dom","lun","mar","mi\u00e9","jue","vie","s\u00e1b"],A:["domingo","lunes","martes","mi\u00e9rcoles","jueves","viernes","s\u00e1bado"],b:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],B:["enero"... |
/**
* @license
* Lo-Dash 2.2.1 (Custom Build) lodash.com/license | Underscore.js 1.5.2 underscorejs.org/LICENSE
* Build: `lodash backbone -o ./dist/lodash.backbone.js`
*/
;(function(){function n(n,r,t){t=(t||0)-1;for(var e=n?n.length:0;++t<e;)if(n[t]===r)return t;return-1}function r(n,r){var t=n.m,e=r.m;if(t!==e){i... |
/*
AnythingSlider v1.5.6.2
By Chris Coyier: http://css-tricks.com
with major improvements by Doug Neiner: http://pixelgraphics.us/
based on work by Remy Sharp: http://jqueryfordesigners.com/
crazy mods by Rob Garrison (aka Mottie)
To use the navigationFormatter function, you must have a function that
accepts t... |
/*!
* # Semantic UI 2.0.3 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2015 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
"use strict";
$.fn.accordion = function(parameters) {
var
$allM... |
/*
*
* 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 ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... |
(function($) {
$(function() {
try {
var welcomePanel = $('#welcome-panel');
var updateWelcomePanel;
updateWelcomePanel = function( visible ) {
$.post( ajaxurl, {
action: 'wpcf7-update-welcome-panel',
visible: visible,
welcomepanelnonce: $( '#welcomepanelnonce' ).val()
});
};
... |
var path = require('path')
var logger = require('./logger')
var log = logger.create('config')
var helper = require('./helper')
var constant = require('./constants')
var COFFEE_SCRIPT_AVAILABLE = false
var LIVE_SCRIPT_AVAILABLE = false
// Coffee is required here to enable config files written in coffee-script.
// It'... |
/**
The YUI module contains the components required for building the YUI seed file.
This includes the script loading mechanism, a simple queue, and the core
utilities for the library.
@module yui
@main yui
@submodule yui-base
**/
/*jshint eqeqeq: false*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
The... |
var Reporter = require('../base').Reporter;
var EncoderBuffer = require('../base').EncoderBuffer;
var assert = require('minimalistic-assert');
// Supported tags
var tags = [
'seq', 'seqof', 'set', 'setof', 'octstr', 'bitstr', 'objid', 'bool',
'gentime', 'utctime', 'null_', 'enum', 'int', 'ia5str', 'utf8str', 'bmps... |
const gulp = require('gulp')
const jasmine = require('gulp-jasmine')
exports.default = () => gulp
.src('./*Spec.js')
.pipe(jasmine({ includeStackTrace: true }))
|
import {expect} from "chai";
import {Color, predefinedColors} from "../src/util.js";
describe("Color", function () {
describe("#fromRGBA", function () {
it("should create a Color object for an RGBA color", function () {
const r0 = Color.fromRGBA(0, 0, 0, 1); // black
expect(r0.hex... |
const regexp = /^((?:#.*\n|\s*\n)*)(?:(feat|fix|docs|style|refactor|test|chore)?(?:\(([^)]*)\))?:\s*)?(.*)?([\S\s]*)$/;
module.exports = (message = '') => {
const [, startMessage, type, scope, subject, endMessage] = (regexp.exec(message) || []);
if (type && subject) {
return {
questions: [],
proce... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.