code stringlengths 2 1.05M |
|---|
'use strict';
exports.BattleScripts = {
init: function () {
this.modData('Pokedex', 'archeops').abilities['1'] = 'Vital Spirit';
this.modData('Pokedex', 'porygonz').types = ['Normal', 'Ghost'];
this.modData('Pokedex', 'weezing').types = ['Poison', 'Steel'];
this.modData('Pokedex', 'moltres').abilities['1'] = ... |
console.log('hello from b.js') |
"use strict";
var extend = require("xtend");
var path_1 = require("path");
var fs_1 = require("./utils/fs");
var config_1 = require("./utils/config");
var TSD_JSON_FILE = 'tsd.json';
var DEFINITELYTYPED_REPO = 'DefinitelyTyped/DefinitelyTyped';
var OLD_DEFINITELYTYPED_REPO = 'borisyankov/DefinitelyTyped';
var DEFAULT_C... |
function pushElement(e) {
return function (c) { c.elements.push(e); return c };
}
var value = {};
@pushElement({
kind: "field",
placement: "prototype",
key: "foo",
descriptor: {
enumerable: true,
configurable: true,
writable: true,
},
initializer() {
return value;
}
})
class A {}
expe... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Check operator x >>> y in distinct points
es5id: 11.7.3_A4_T1
description: ShiftExpression = 2^n, n = 0...15
---*/
//CHECK
if (1 >>> 0 !== 1) {
$ERROR('#1: 1 >>> 0 === 1... |
/*
* Copyright (c) 2012 - present 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
* ... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S7.8.3_A5.1_T6;
* @section: 7.8.3;
* @assertion: DecimalLiteral :: HexIntegerLiteral;
* @description: HexIntegerLiteral :: 0X0 Digits;
*/
//CHECK#0
if (0X00 !== 0) {
... |
// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set().values();
var _set = new Set();
var arg2 = 2;
%SetIteratorInitialize(_holder, _set, arg2);
|
Template.headerTitle.events({
'click .js-open-archived-board'() {
Modal.open('archivedBoards');
},
});
BlazeComponent.extendComponent({
template() {
return 'archivedBoards';
},
onCreated() {
this.subscribe('archivedBoards');
},
archivedBoards() {
return Boards.find({ archived: true }, {... |
/**
* Copyright (c) 2014,Egret-Labs.org
* 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 source code must retain the above copyright
* notice, this list of c... |
define({
_widgetLabel: "Legenda"
}); |
"use strict";
if (!require("./is-implemented")()) {
Object.defineProperty(Math, "log2", { value: require("./shim"),
configurable: true,
enumerable: false,
writable: true });
}
|
Genghis.Collections.Databases = Genghis.Collections.BaseCollection.extend({
model: Genghis.Models.Database
});
|
/* global describe, it */
var _ = require('lodash')
var fs = require('fs')
var NYC = require('../')
var path = require('path')
var rimraf = require('rimraf')
var sinon = require('sinon')
var spawn = require('child_process').spawn
require('chai').should()
require('tap').mochaGlobals()
describe('nyc', function () {
... |
var common = require('../common-tap')
, test = require('tap').test
, path = require('path')
, spawn = require('child_process').spawn
, rimraf = require('rimraf')
, mkdirp = require('mkdirp')
, pkg = __dirname + '/run-script'
, cache = pkg + '/cache'
, tmp = pkg + '/tmp'
, node = process.execPath
, n... |
/**
* 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-... |
/**
* @author fernandojsg / http://fernandojsg.com
*/
//------------------------------------------------------------------------------
// Constants
//------------------------------------------------------------------------------
var WEBGL_CONSTANTS = {
POINTS: 0x0000,
LINES: 0x0001,
LINE_LOOP: 0x0002,
LINE_ST... |
throw 1;
|
var libxml = require('../index');
module.exports.new = function(assert) {
var doc = libxml.Document();
var comm = libxml.Comment(doc, 'comment1');
doc.root(comm);
assert.equal('comment1', comm.text());
assert.done();
};
module.exports.text = function(assert) {
var doc = libxml.Document();
... |
var async = require("../index")
var assert = require("assert")
var Test = {
name: "async",
setUpSuite: function(next) {
console.log("set up suite")
next();
},
"test toArray": function(next) {
async.range(0, 3)
.toArray(function(err, values) {
... |
import ActionTypes from "../constants/actionTypes/templateActionTypes";
function changeField(state, field, value) {
const template = {
...state.template
};
template[field] = value;
return template;
}
function getEmptyTemplateModel() {
return {
name: "",
description: "",
... |
(function () {
/**
* Create a cached version of a pure function.
*/
function cached(fn) {
var cache = Object.create(null);
return function (str) {
var key = isPrimitive(str) ? str : JSON.stringify(str);
var hit = cache[key];
return hit || (cache[key] = fn(str))
}
}
/**
* Hyphenate a camelCase stri... |
/*!
* remark v1.0.1 (http://getbootstrapadmin.com/remark)
* Copyright 2015 amazingsurge
* Licensed under the Themeforest Standard Licenses
*/
$.components.register("rating", {
mode: "init",
defaults: {
targetKeep: true,
icon: "font",
starType: "i",
starOff: "icon wb-star",
starOn: "icon wb-s... |
/**
stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills
@version v3.2.0
@link https://github.com/dollarshaveclub/stickybits#readme
@author Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)
@license MIT
**/
(function (global, factory) {
typeof exports === 'object' &... |
function Open(command, params/*, item*/) {
var room, subscription, type;
if (command !== 'open' || !Match.test(params, String)) {
return;
}
room = params.trim();
if (room.indexOf('#') !== -1) {
type = 'c';
}
if (room.indexOf('@') !== -1) {
type = 'd';
}
room = room.replace('#', '');
room = room.replace(... |
/*
* Copyright (C) 2010 Google Inc. 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 source code must retain the above copyright
* notice, this list of conditio... |
var spawn = require('child_process').spawn;
var chalk = require('chalk');
var vow = require('vow');
var vowFs = require('vow-fs');
var SOURCES = ['lib', 'test/specs'];
var MOCHA = 'node_modules/.bin/mocha';
/**
* Applying every available preset to JSCS sources and tests, then executing tests.
* So we can make sure ... |
var crypto = require('crypto');
var archiver = require('../lib/archiver');
module.exports = {
buffer: function(test) {
test.expect(1);
var hash = crypto.createHash('sha1');
var zip = archiver.createZip({level: 1});
// create a buffer and fill it
var buf = new Buffer(20000);
... |
/*! firebase-admin v5.2.1 */
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var storage_1 = require("./storage");
var firebase = require("../default-namespace");
/**
* Factory function that creates a new Storage service.
*
* @param {Object} app The app for this service.
* @param {funct... |
module.exports = {
entry: "./index"
};
|
(function ( window, module ) {
if ( window.define && window.define.amd ) {
define(module)
} else {
var current_scripts, this_script, module_name
current_scripts = document.getElementsByTagName("script")
this_script = current_scripts[current_scripts.length-1]
module_name = this_script... |
/*globals describe, before, beforeEach, afterEach, it */
var testUtils = require('../../utils'),
should = require('should'),
_ = require('lodash'),
// Stuff we are testing
dbAPI = require('../../../server/api/db'),
ModelTag = require('../../../server/models/tag'),
Mode... |
import createWrap from './_createWrap.js';
import flatRest from './_flatRest.js';
/** Used to compose bitmasks for function metadata. */
var REARG_FLAG = 256;
/**
* Creates a function that invokes `func` with arguments arranged according
* to the specified `indexes` where the argument value at the first index is
*... |
import { filtersParser, filterParser, createFilterObject } from './filters.js';
/**
* Returns an array of expanded columns object, given a list of columns and currentList object.
*
* @param { String } columns, a string representation of a list of columns.
* @param { Object } the current instantiation of the List p... |
(function (window) {
"use strict";
var AppEnlight = {
version: '0.4.1',
options: {
apiKey: ""
},
errorReportBuffer: [],
slowReportBuffer: [],
logBuffer: [],
requestInfo: null,
init: function (options) {
var self = this;
... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("vue"));
else if(typeof define === 'function' && define.amd)
define("iview", ["vue"], factory);
else if(typeof exports === 'object')
exports["iview"] = fact... |
module.exports = require('./dist/lib/router')
|
var chai = require('chai');
var expect = chai.expect;
var request = require('supertest');
var errorMessage = 'Invalid param';
var app;
function validation(req, res) {
req.checkBody({
'testparam': {
notEmpty: true,
isInt: true
},
'arrayParam': {
isArray: true
}
}... |
version https://git-lfs.github.com/spec/v1
oid sha256:b9fcb23b64dc79d3703e59319bff1701066c44486fbc06223803b3b1362d221b
size 1344
|
import{generateUtilityClass,generateUtilityClasses}from"@material-ui/unstyled";export function getTableHeadUtilityClass(e){return generateUtilityClass("MuiTableHead",e)};const tableHeadClasses=generateUtilityClasses("MuiTableHead",["root"]);export default tableHeadClasses; |
const UserAgentManager = require('./UserAgentManager');
const RESTMethods = require('./RESTMethods');
const SequentialRequestHandler = require('./RequestHandlers/Sequential');
const BurstRequestHandler = require('./RequestHandlers/Burst');
const APIRequest = require('./APIRequest');
const Constants = require('../../uti... |
load('steal/rhino/rhino.js')
steal('steal/test', "steal/generate")
.then('steal/generate/system.js').then(function(s){
_S = steal.test;
//turn off printing
STEALPRINT = false;
print("========================== steal/generate =============================")
print("-- generate basic foo app --");
var dat... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
(function(){function f(b,c,a){if(!b.getCustomData("indent_processed")){var d=this.editor,j=this.isIndent;if(c){d=b.$.className.match(this.classNameRegex);a=0;d&&(d=d[1],a=CKE... |
var jQuery = require('jquery');
/*!
* jQuery UI Core 1.10.4
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/ui-core/
*/
(function( $, undefined ) {
var uuid = 0,
runiqueId = /... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
"use strict";
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ... |
import "../arrays/range";
import "../core/functor";
import "../math/trigonometry";
import "../svg/line";
import "delaunay";
import "geom";
import "polygon";
// Adapted from Nicolas Garcia Belmonte's JIT implementation:
// http://blog.thejit.org/2010/02/12/voronoi-tessellation/
// http://blog.thejit.org/assets/voronoij... |
module.exports={title:"HackerEarth",slug:"hackerearth",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>HackerEarth icon</title><path d="M18.447 20.936H5.553V19.66h12.894zM20.973 0H9.511v6.51h.104c.986-1.276 2.206-1.4 3.538-1.306 1.967.117 3.89 1.346 4.017 5.169v7.322c0 .089-.05.177-.1... |
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React, { PropTypes, Component } from 'react';
import withStyles from '../../decorators/withStyles';
import styles from './ErrorPage.css';
@withStyles(styles)
class ErrorPage extends Component {
static contextTypes = {
onSetTitle: P... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... |
'use strict';
/*jshint -W117 */
/*jshint globalstrict: true*/
/* jasmine specs for directives go here */
describe("Directive: leaflet: layers.watch", function () {
var $compile, $rootScope, leafletData, scope;
beforeEach(module('leaflet-directive'));
beforeEach(inject(function (_$compile_, _$rootScope_, _... |
var test = require('tap').test;
var detective = require('../');
var fs = require('fs');
var src = fs.readFileSync(__dirname + '/files/chained.js');
test('chained', function (t) {
t.deepEqual(detective(src), [ 'c', 'b', 'a' ]);
t.end();
});
|
/**
* Base editor (interface). To be extended, not used directly
*
* @param {Object} options
* @param {String} [options.id] Editor ID
* @param {Model} [options.model] Use instead of value, and use commit()
* @param {String} [options.key] The model attribute key. Required when using 'model'
*... |
/* eslint semi: ["error", "never"] */
/* eslint no-extra-semi: "error" */
var foo = function(){}
;[1].map(foo)
|
/**
* We need a fully new formats-data.js for the first 151 Pokemon just for the tiers.
* Smogon's tiers for Gen 1 are OU and UU, Uber is just a banlist: Mew and Mewtwo.
* I'm adding LC to be able to drive a Gen 1 LC unofficial other meta.
* They can still be part of UU.
*/
exports.BattleFormatsData = {
bulbasaur... |
// Polyfills
// (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here)
// import 'ie-shim'; // Internet Explorer
// import 'es6-shim';
// import 'es6-promise';
// import 'es7-reflect-metadata';
// Prefer CoreJS over the polyfills above
import 'core-js/es6';
import 'core-js/es7/re... |
/*
* DarkTooltip v0.1.3
* Simple customizable tooltip with confirm option and 3d effects
* (c)2014 Rubén Torres - rubentdlh@gmail.com
* Released under the MIT license
*/
(function($) {
function DarkTooltip(element, options){
this.bearer = element;
this.options = options;
this.delay;
}
DarkTooltip.prot... |
/**
* @author sunag / http://www.sunag.com.br/
*/
THREE.CameraNode = function( scope, camera ) {
THREE.TempNode.call( this, 'v3' );
this.setScope( scope || THREE.CameraNode.POSITION );
this.setCamera( camera );
};
THREE.CameraNode.POSITION = 'position';
THREE.CameraNode.DEPTH = 'depth';
THREE.CameraNode.TO_VE... |
// Module exports
var iconv = module.exports = {
toEncoding: function(str, encoding) {
return iconv.getCodec(encoding).toEncoding(str);
},
fromEncoding: function(buf, encoding) {
return iconv.getCodec(encoding).fromEncoding(buf);
},
defaultCharUnicode: '�',
defaultCharSingle... |
import * as React from 'react';
import PropTypes from 'prop-types';
import { exactProp } from '@material-ui/utils';
var useEnhancedEffect = typeof window !== 'undefined' && process.env.NODE_ENV !== 'test' ? React.useLayoutEffect : React.useEffect;
/**
* NoSsr purposely removes components from the subject of Server Sid... |
"use strict";
exports.__esModule = true;
exports.default = createStyleResolver;
var _ExecutionEnvironment = require("fbjs/lib/ExecutionEnvironment");
var _createCSSStyleSheet = _interopRequireDefault(require("./createCSSStyleSheet"));
var _createCompileableStyle = _interopRequireDefault(require("./createCompileable... |
/*! algoliasearch 3.2.2 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
(function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.ALGOLIA_MIGRATION_LAYER=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
version https://git-lfs.github.com/spec/v1
oid sha256:f915ee475cb6ef3b5026f8bbb6833dd4b1e63d5ce5ab7a56d1c0f795480a9e5e
size 2477
|
/**
* @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
*/
import { Compiler, ComponentFactory, Injectable, Injector, ModuleWithComponentFactories } from '@angular/core';
impor... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v6.4.1
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : ... |
angular.module('demoSwipe', ['ngMaterial'])
.controller('demoSwipeCtrl', function($scope, $log) {
$scope.onSwipeLeft = function(ev, target) {
alert('You swiped left!!');
$log.log('Event Target: ', ev.target);
$log.log('Event Current Target: ', ev.currentTarget);
$log.log('Original Current... |
/*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... |
angular
.module('material.components.menu')
.controller('mdMenuCtrl', MenuController);
/**
* @ngInject
*/
function MenuController($mdMenu, $attrs, $element, $scope, $mdUtil, $timeout) {
var menuContainer;
var self = this;
var triggerElement;
this.nestLevel = parseInt($attrs.mdNestLevel, 10) || 0;... |
var ipc = require('ipc');
window.onload = function() {
ipc.send('answer', typeof window.process);
}
|
Package.describe({
summary: "Moved to the 'markdown' package",
version: '1.0.5'
});
Package.onUse(function (api) {
api.imply("markdown");
});
|
ej.addCulture("ti-ET", { name: "ti-ET", englishName: "Tigrinya (Ethiopia)", nativeName: "ትግርኛ (ኢትዮጵያ)", language: "ti", numberFormat: { pattern: ["(n)"], NaN: "NAN", percent: { pattern: ["-n%", "n%"] }, currency: { pattern: ["-n$", "n$"], symbol: "ETB" } }, calendars: { standard: { firstDay: 1, days: { names: ["ሰንበት", ... |
/* Word specific JavaScript API library */
/* Version: 16.0.6216.3006 */
/*
Copyright (c) Microsoft Corporation. All rights reserved.
*/
/*
Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419.
*/
/*
* @overview es6-promise - a tiny implementation of P... |
var NotBeforeError = require('./NotBeforeError');
function nbfCheck(payload, options, context) {
if (options.ignoreNotBefore) { return; }
if (typeof payload.nbf === 'undefined') { return; }
if (typeof payload.nbf !== 'number') {
return new JsonWebTokenError('invalid nbf value');
}
if (payload.nbf > con... |
TokenGen = require('./tokenGenerator')
tg = new TokenGen('a', 'a', { algorithm: 'HS256', keyid: '1', noTimestamp: true, expiresIn: '2m', notBefore: '10s' })
token = tg.sign({ a: 1 }, { audience: 'myaud', issuer: 'myissuer', jwtid: '1', subject: 'user' }) |
var Script = function () {
// tracking chart
var plot;
$(function () {
var sin = [], cos = [];
for (var i = 0; i < 14; i += 0.1) {
sin.push([i, Math.sin(i)]);
cos.push([i, Math.cos(i)]);
}
plot = $.plot($("#chart-1"),
[ { data: sin, label: ... |
//
// Let's Chat
//
'use strict';
process.title = 'letschat';
require('colors');
var _ = require('lodash'),
fs = require('fs'),
express = require('express.oi'),
i18n = require('i18n'),
bodyParser = require('body-parser'),
cookieParser = require('cookie-parser'),
compression = require('compre... |
(function (window, angular, undefined) {
'use strict';
angular.module('md.data.table', ['md.table.templates']);
angular.module('md.data.table').directive('mdBody', mdBody);
function mdBody() {
function compile(tElement) {
tElement.addClass('md-body');
}
return {
compile: compile,
restrict: 'A'
... |
/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("uicolor","pt",{title:"Seleção de Cor da IU",options:"Color Options",highlight:"Highlight",selected:"Selected Color",predefined:"... |
/*! tether-select 1.1.1 */
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(["tether"], factory);
} else if (typeof exports === 'object') {
module.exports = factory(require('tether'));
} else {
root.Select = factory(root.Tether);
}
}(this, function(Tether) {
/* g... |
import adder from "./adder";
import {abs, atan2, cos, radians, sin, sqrt} from "./math";
import noop from "./noop";
import stream from "./stream";
var lengthSum = adder(),
lambda0,
sinPhi0,
cosPhi0;
var lengthStream = {
sphere: noop,
point: noop,
lineStart: lengthLineStart,
lineEnd: noop,
polygo... |
/**
* @fileoverview Rule to restrict what can be thrown as an exception.
* @author Dieter Oberkofler
* @copyright 2015 Dieter Oberkofler. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------... |
import namespaces from "./namespaces";
export default function(name) {
var prefix = name += "", i = prefix.indexOf(":");
if (i >= 0 && (prefix = name.slice(0, i)) !== "xmlns") name = name.slice(i + 1);
return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name;
}
|
/*! Plugin for Cycle2; Copyright (c) 2012 M. Alsup; ver: 20121120 */
(function(a){function b(a,b,c){if(a&&c.style.filter){b._filter=c.style.filter;try{c.style.removeAttribute("filter")}catch(d){}}else!a&&b._filter&&(c.style.filter=b._filter)}"use strict",a.extend(a.fn.cycle.transitions,{fade:{before:function(c,d,e,f){v... |
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModu... |
(function(factory){if(typeof define==="function"&&define.amd){define("bootstrap.wysihtml5.de-DE",["jquery","bootstrap.wysihtml5"],factory)}else{factory(jQuery)}})(function($){$.fn.wysihtml5.locale["de-DE"]={font_styles:{normal:"Normaler Text",h1:"Überschrift 1",h2:"Überschrift 2",h3:"Überschrift 3",h4:"Überschrift 4",h... |
/*!
* # Semantic UI 2.0.7 - Dropdown
* 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.dropdown = function(parameters) {
var
$allM... |
var Rx = require('rx');
var f = require('./dummy');
var dummy1 = f.dummy(1),
dummyt1 = f.dummyt(1);
// Observable wrapper
function dummyObsWrap(fn) {
return function() {
return Rx.Observable.create(function(observer) {
fn(function(err, res) {
if(err)
r... |
(function($){
$.fn.smkValidate.Languaje = {
en: {
// Mensaje de error para los input vacíos
textEmpty : 'Required field',
// Mensaje de error para el input email
textEmail : 'Enter a valid email',
// Mensaje de error para el input alphanumeric
textAlphanumeric : 'Only numbers and/or l... |
var Animal = class {
sayHi() {
return 'Hi, I am a '+this.type()+'.';
}
static getName() {
return 'Animal';
}
};
var Dog = class extends Animal {
type() { return 'dog'; }
sayHi() {
return super.sayHi() + ' WOOF!';
}
static getName() {
return super.getName() + '/Dog';
}
};
assert.eq... |
/*!
* @overview Ember - JavaScript Application Framework
* @copyright Copyright 2011-2015 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://ra... |
'use strict';
module.exports = function block(state) {
var token;
if (state.inlineMode) {
token = new state.Token('inline', '', 0);
token.content = state.src;
token.map = [ 0, 1 ];
token.children = [];
state.tokens.push(token);
} else {
state.md.block.parse(state.src, sta... |
/*! jQuery UI - v1.10.3 - 2013-05-03
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.pl={closeText:"Zamknij",prevText:"<Poprzedni",nextText:"Następny>",currentText:"Dziś",monthNames:["Styczeń","Luty","Marzec","Kwiecień",... |
(function (phantom) {
var page = require('webpage').create();
<% if (exitOnResourceError) { %>
page.onResourceError = function() {
phantom.exit(1)
}
<% } %>
<% _.forOwn(pageOptions, function(value, key) { %>
page.<%= key %> = <%= value %>
<% }) %>
<% _.forOwn(pageSettingsOptions, function(value... |
AmCharts.translations.mn = {"monthNames":["Хулгана сарын","Үхэр сарын","Бар сарын","Туулай сарын","Луу сарын","Могой сарын","Морь сарын","Хонь сарын","Бич сарын","Тахиа сарын","Нохой сарын","Гахай сарын"],"shortMonthNames":["Хул","Үхэ","Бар","Туу","Луу","Мог","Мор","Хон","Бич","Тах","Нох","Гах"],"dayNames":["Даваа","Мя... |
/*!
* Qoopido.js library v3.6.3, 2015-4-24
* https://github.com/dlueth/qoopido.js
* (c) 2015 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(e){window.qoopido.register("support/element/video/ogg",e,["../../../support","../video"])}(function(e,o,t,i,n,r){"use strict";var s=e.support;return s.addTest("/element/... |
(function($){$.extend({metadata:{defaults:{type:"class",name:"metadata",cre:/(\{.*\})/,single:"metadata"},setType:function(type,name){this.defaults.type=type;this.defaults.name=name},get:function(elem,opts){var data,m,e,attr,settings=$.extend({},this.defaults,opts);if(!settings.single.length){settings.single="metadata"... |
import jsdom from 'jsdom';
import t from 'tap';
import timers from 'timers';
import {promisify} from 'util';
import {html} from '../../html.js';
import {morph} from '../../morph.js';
const setTimeout = promisify(timers.setTimeout);
t.test('node to node', async () => {
const dom = new jsdom.JSDOM(`
<!doctype ht... |
(function () {
"use strict";
angular.module("angularSideBySideSelect")
.controller("SideBySideSelectController", ["$scope", "List", "UniqueList", SideBySideSelectController]);
function SideBySideSelectController($scope, List, UniqueList) {
var me = this;
this.comparator = function... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.