code stringlengths 2 1.05M |
|---|
/**
*
* Note Storage Singleton
*
* noteStorageSingleton.js
* @author Kerri Shotts
* @version 1.0.0
*
* Copyright (c) 2013 Packt Publishing
* 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 Softw... |
exports.BattleFormatsData = {
bulbasaur: {
randomBattleMoves: ["sleeppowder","gigadrain","hiddenpowerfire","hiddenpowerice","sludgebomb","powerwhip","leechseed","synthesis"],
randomDoubleBattleMoves: ["sleeppowder","gigadrain","hiddenpowerfire","hiddenpowerice","sludgebomb","powerwhip","protect"],
eventPokemon: ... |
describe('timeValidator', function () {
var id = 'testContainer';
beforeEach(function () {
this.$container = $('<div id="' + id + '"></div>').appendTo('body');
});
afterEach(function () {
if (this.$container) {
destroy();
this.$container.remove();
}
});
var arrayOfObjects = functi... |
import Ember from 'ember';
export function userHasRole(params/*, hash*/) {
let [user, role] = params;
return user.get('roles').contains(role);
}
export default Ember.HTMLBars.makeBoundHelper(userHasRole);
|
define(function (require) {
var ComponentModel = require('../../model/Component');
var axisModelCreator = require('../axisModelCreator');
var zrUtil = require('zrender/core/util');
var AxisModel = ComponentModel.extend({
type: 'singleAxis',
layoutMode: 'box',
/**
*... |
'use strict';
module.exports = require('./scripts');
|
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize underscore exports="amd" -o ./underscore/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud... |
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
function _asyncToGenerator(fn) { return function () {... |
var markdownConverter = require('../../../utils/markdown-converter');
module.exports = {
name: 'card-markdown',
type: 'dom',
render: function (opts) {
var SimpleDom = require('simple-dom'),
tokenizer = require('simple-html-tokenizer').tokenize,
j... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","vi",{title:"Hướng dẫn trợ năng",contents:"Nội dung Hỗ trợ. Nhấn ESC để đóng hộp thoại.",legend:[{name:"Chung",items:[{name:"Thanh công cụ ... |
/**
* Base search class for AJAX forms in the UI
*/
!function(global, $, _) {
'use strict';
function ConcreteSitemap($element, options) {
var my = this;
options = options || {};
options = $.extend({
displayNodePagination: false,
cParentID: 0,
siteTreeID: 0,
cookieId: 'ConcreteSitemap',
includ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
/**
*
* Query the server's current status. The server should respond with a general
* "HTTP 200 OK" response if it is alive and accepting commands. The response
* body should be a JSON object describing the state of the server. All se... |
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
(function (factory) {
if (typeof module === 'object' && ty... |
version https://git-lfs.github.com/spec/v1
oid sha256:6b5d180ae0374b322736fe2fb174cb062ac579a2a1189e7b75a0c8444b350bba
size 2325
|
Meteor.publish('roomFiles', function(rid, limit = 50) {
if (!this.userId) {
return this.ready();
}
const pub = this;
const cursorFileListHandle = RocketChat.models.Uploads.findNotHiddenFilesOfRoom(rid, limit).observeChanges({
added: function(_id, record) {
return pub.added('room_files', _id, record);
},
... |
/*
* jQuery idleTimer plugin
* version 0.8.092209
* by Paul Irish.
* MIT license
* adapted from YUI idle timer by nzakas: http://github.com/nzakas/yui-misc/
* Copyright (c) 2009 Nicholas C. Zakas
*/
(function(e){e.idleTimer=function t(n){var r=false,i=true,s=3e4,o="mousemove keydown DOMMouseScroll mous... |
OC.L10N.register(
"federation",
{
"Server added to the list of trusted ownClouds" : "Server added to the list of trusted ownClouds",
"Server is already in the list of trusted servers." : "Server is already in the list of trusted servers.",
"No ownCloud server found" : "No ownCloud server found",
... |
'use strict';
describe('Controller: AboutCtrl', function () {
// load the controller's module
beforeEach(module('todoApp'));
var AboutCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
AboutCtrl = $contro... |
var core = require('./core');
var fs = require('fs');
var path = require('path');
var caller = require('./caller.js');
var nodeModulesPaths = require('./node-modules-paths.js');
var normalizeOptions = require('./normalize-options.js');
var defaultIsFile = function isFile(file, cb) {
fs.stat(file, function (err, st... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
export const styles ... |
'use strict';
var MatchError = require('./error').MatchError;
var names = require('../utils/names');
var generic = require('./generic');
var parse = require('./grammar/parse');
var translate = require('./grammar/translate');
var walk = require('./grammar/walk');
var match = require('./match');
var cssWideKeywords = pa... |
const path = require('path')
const CONFIG = require('../config')
module.exports = function () {
// We can't require fs-extra if `script/bootstrap` has never been run, because
// it's a third party module. This is okay because cleaning dependencies only
// makes sense if dependencies have been installed at least... |
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.extent');
goog.require('ol.layer.Image');
goog.require('ol.layer.Tile');
goog.require('ol.proj');
goog.require('ol.source.ImageStatic');
goog.require('ol.source.OSM');
proj4.defs('EPSG:27700', '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 ' +
'+... |
var path = require('path')
var parse = require('./parser')
var genId = require('./utils/gen-id')
var normalize = require('./utils/normalize')
var loaderUtils = require('loader-utils')
var querystring = require('querystring')
// internal lib loaders
var selectorPath = normalize.lib('selector')
var styleCompilerPath = n... |
import propsToAriaRole from"./propsToAriaRole";var roleComponents={article:"article",banner:"header",blockquote:"blockquote",code:"code",complementary:"aside",contentinfo:"footer",deletion:"del",emphasis:"em",figure:"figure",insertion:"ins",form:"form",link:"a",list:"ul",listitem:"li",main:"main",navigation:"nav",regio... |
import { Container } from 'aurelia-dependency-injection';
import { Pipeline } from './pipeline';
import { BuildNavigationPlanStep } from './navigation-plan';
import { LoadRouteStep } from './route-loading';
import { CommitChangesStep } from './navigation-context';
import { CanDeactivatePreviousStep, CanActivateNextStep... |
/*! jQuery UI Virtual Keyboard v1.27.2 *//*
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 bef... |
/* */
var esprima = require("esprima-fb");
var utils = require("../src/utils");
var Syntax = esprima.Syntax;
function _isFunctionNode(node) {
return node.type === Syntax.FunctionDeclaration || node.type === Syntax.FunctionExpression || node.type === Syntax.ArrowFunctionExpression;
}
function visitClassProperty(trave... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports"], factory);
} else if (typeof exports !== "undefined") {
factory(exports);
} else {
var mod = {
exports: {}
};
factory(mod.exports);
global.input = mod.exports;
}
})(this, function (_e... |
'use strict';
var chalk = require('chalk');
var Task = require('./task');
var debug = require('debug')('ember-cli:watcher');
var Promise = require('../ext/promise');
var exec = Promise.denodeify(require('child_process').exec);
var isWin = /^win/.test(process.platform);
var Watcher = Task.extend({
verbose:... |
'use strict';
var _hasError = require('../hasError');
var _hasError2 = _interopRequireDefault(_hasError);
var _plain = require('../structure/plain');
var _plain2 = _interopRequireDefault(_plain);
var _expectations = require('../structure/plain/expectations');
var _expectations2 = _interopRequireDefault(_expectati... |
var _ = require('underscore'),
select = require('cheerio-select'),
utils = require('../utils'),
isTag = utils.isTag;
var find = exports.find = function(selector) {
return this.make(select(selector, [].slice.call(this.children())));
};
var parent = exports.parent = function(elem) {
if (this[0] && this[... |
/*
Leaflet.AwesomeMarkers, a plugin that adds colorful iconic markers for Leaflet, based on the Font Awesome icons
(c) 2012-2013, Lennard Voogdt
http://leafletjs.com
https://github.com/lvoogdt
*/
/*global L*/
(function (window, document, undefined) {
"use strict";
/*
* Leaflet.AwesomeMarkers ass... |
/**
* @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
*/
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[... |
/******/ (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... |
goog.provide('ol.test.geom.MultiPoint');
describe('ol.geom.MultiPoint', function() {
it('can be constructed with a null geometry', function() {
expect(function() {
return new ol.geom.MultiPoint(null);
}).not.to.throwException();
});
describe('construct empty', function() {
var multiPoint;
... |
var spec = require('stream-spec')
var through = require('..')
var a = require('assertions')
/*
I'm using these two functions, and not streams and pipe
so there is less to break. if this test fails it must be
the implementation of _through_
*/
function write(array, stream) {
array = array.slice()
... |
/* global CONFIG */
// https://developers.google.com/calendar/api/v3/reference/events/list
(function() {
// Initialization
const calendar = {
orderBy : 'startTime',
showLocation: false,
offsetMax : 72,
offsetMin : 4,
showDeleted : false,
singleEvents: true,
maxResults : 250
}... |
version https://git-lfs.github.com/spec/v1
oid sha256:3b9b6fee01fb94ed8aaa1400c08ea788d16542104d913064105720360fedab41
size 4330
|
PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_STRING,/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],[PR.PR_PLAIN,/^\s+/,null," \r\n "]],[[PR.PR_COMMENT,/^REM[^\r\n]*/,null],[PR.PR_KEYWORD,/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT... |
/*
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... |
/**
* lining.effect.js
* Special lining effect.
* https://github.com/zmmbreeze/lining.
*
* @author zmmbreeze / @zhoumm
*/
/* jshint sub:true, camelcase:false */
/* global lining:true */
(function (lining) {
if (!lining || !lining.util || !lining.Lining) {
return;
}
document.addEventListener... |
/**
* @license Highcharts JS v6.1.0 (2018-04-13)
*
* Money Flow Index indicator for Highstock
*
* (c) 2010-2017 Grzegorz Blachliński
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factor... |
console.warn("warn -",`Imports like "const rxdb = require('simple-icons/icons/rxdb');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siRxdb } = require('simple-icons/icons');" instead`),module.exports={title:"RxDB",slug:"rxdb",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns... |
console.warn("warn -",`Imports like "const gocd = require('simple-icons/icons/gocd');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siGocd } = require('simple-icons/icons');" instead`),module.exports={title:"GoCD",slug:"gocd",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns... |
// dl-menu options
$(function() {
$( '#dl-menu' ).dlmenu({
animationClasses : { classin : 'dl-animate-in', classout : 'dl-animate-out' }
});
});
// Need this to show animation when go back in browser
window.onunload = function() {};
// Add lightbox class to all image links
$("a[href$='.jpg'],a[href$='.jpeg'],a... |
P = Class.create(P, {
init: function _initPage() {
this.view.content.className = 'loading';
this.draw();
return this;
},
deinit: function _deinit() {
this.data.operatorLogRequest.transport.abort();
this.data.schedulerLogRequest.transport.abort();
this.data.wuiLogRequest.transport.abort();
... |
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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 conditions and
/// ... |
PR.registerLangHandler(PR.createSimpleLexer([
["pln", /^[\t-\r ]+/, null, "\t\n\r "],
["str", /^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/, null, '"'],
["str", /^'(?:[^\n\f\r'\\]|\\[^&])'?/, null, "'"],
["lit", /^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i, null, "0123456789"]
], [
["com", /^(?:--+[^\n\f... |
/**
sprintf() for JavaScript 0.6
Copyright (c) Alexandru Marasteanu <alexaholic [at) gmail (dot] com>
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... |
// optimisation
function foo() {
foo.apply(void 0, arguments);
} // deoptimisation
function foo(a) {
for (var _len = arguments.length, b = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
b[_key - 1] = arguments[_key];
}
foo.apply(void 0, b);
}
function foo() {
for (var _len2 = arg... |
enum E {
const,
default,
} |
var _ = require('lodash'),
Promise = require('bluebird'),
errors = require('../errors'),
utils = require('../utils'),
bcrypt = require('bcryptjs'),
ghostBookshelf = require('./base'),
crypto = require('crypto'),
validator = require('v... |
var common = require('../../../common');
var net = require('net');
var assert = require('assert');
var TcpVideoStream = require(common.lib + '/video/TcpVideoStream');
var expectedData = 'some data';
var server = net.createServer(function(connection) {
connection.write(expectedData);
});
v... |
!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.URLParse=e()}}(function(){var define,module,exports;r... |
(function () {
'use strict';
angular
.module('com.module.files')
.run(function ($rootScope, $http, CoreService, gettextCatalog) {
$rootScope.addMenu(gettextCatalog.getString('Files'), 'app.files.list', 'fa-file');
$http.get(CoreService.env.apiUrl + '/containers/files/files').success(
fu... |
version https://git-lfs.github.com/spec/v1
oid sha256:5e463ed2a685f4452409c2775753fc941a34047599188541fb606032f9e6343d
size 3326
|
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/localization/eo/HelpDialog.js
*
* Copyright (c) 2009-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'newpage', 'sq', {
toolbar: 'Faqe e Re'
} );
|
var SimpleJekyllSearch = SimpleJekyllSearch || [];
SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
json: baseurl + '/search.json'
}); |
/**
* Copyright (c) 2013 Petka Antonov
*
* 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, pub... |
// Load modules
var Dgram = require('dgram');
var Dns = require('dns');
var Hoek = require('hoek');
// Declare internals
var internals = {};
exports.time = function (options, callback) {
if (arguments.length !== 2) {
callback = arguments[0];
options = {};
}
var set... |
var assert = require('assert');
var R = require('..');
describe('whereEq', function() {
it('returns true if the test object satisfies the spec', function() {
var spec = {x: 1, y: 2};
var test1 = {x: 0, y: 200};
var test2 = {x: 0, y: 10};
var test3 = {x: 1, y: 101};
var test4 = {x: 1, y: 2};
... |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/TeX/svg/Main/Bold/Latin1Supplement.js
*
* Copyright (c) 2011-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... |
import*as React from"react";var UNINITIALIZED="function"==typeof Symbol&&"symbol"==typeof Symbol()?Symbol():Object.freeze({});export default function useStable(e){var t=React.useRef(UNINITIALIZED);return t.current===UNINITIALIZED&&(t.current=e()),t.current} |
/*global device*/
import Ember from 'ember';
const {TextField, computed, on} = Ember;
export default TextField.extend({
focus: true,
classNames: 'gh-input',
attributeBindings: ['autofocus'],
autofocus: computed(function () {
if (this.get('focus')) {
return (device.ios()) ? false :... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'en-au', {
button: 'Paste as plain text',
title: 'Paste as Plain Text'
} );
|
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v10.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
/*!
* Connect - bodyParser
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var qs = require('qs');
/**
* Extract the mime type from the given request's
* _Content-Type_ header.
*
* @param {IncomingMessage} req
* @return {String}
* @api... |
/**
* Globalize Runtime v1.3.0-alpha.5
*
* http://github.com/jquery/globalize
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2017-05-24T13:49Z
*/
/*!
* Globalize Runtime v1.3.0-alpha.5 2017-05-24T13:49Z Released under the MIT lice... |
ace.define("ace/snippets/elm",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="elm"}); (function() {
ace.require(["ace/snippets/elm"], function(m) {
if (typeof module == "object" && typeof exports == "object" && modul... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'specialchar', 'is', {
options: 'Special Character Options', // MISSING
title: 'Velja tákn',
toolbar: 'Setja inn merki'
} );
|
var test = require("tape")
var Router = require("../index")
test("duplicate addRoute() throws exception", function (assert) {
var router = Router()
router.addRoute("/foo/:id/*", function () {})
assert.throws(function () {
router.addRoute("/foo/:id/*", function () {})
}, /route already exists... |
define(["./_base/loader"], function(loader){
return {
dynamic:0,
normalize:function(id){return id;},
load:loader.loadInit
};
});
|
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
/**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... |
import mergeDiff from '../src/mergeDiff';
let t = () => true;
let n = () => null;
describe('mergeDiff', () => {
it('should merge latter key value into former', () => {
expect(mergeDiff({a: 1}, {a: 2}, t)).toEqual({a: 2});
expect(mergeDiff({a: 1}, {a: 2}, n)).toEqual({a: 2});
});
it('should reorder keys ... |
/**
* @module mobile-angular-ui.components.navbars
* @description
*
* Bootstrap default navbars are awesome for responsive websites, but are not the
* best with a small screen. Also fixed positioning is yet not an option to create
* navbars standing in top or bottom of the screen.
*
* Mobile Angular Ui offe... |
/*
Copyright 2013-2015 ASIAL CORPORATION
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 writing, so... |
/*! asynquence-contrib
v0.25.0 (c) Kyle Simpson
MIT License: http://getify.mit-license.org
*/
(function UMD(dependency,definition){
if (typeof module !== "undefined" && module.exports) {
// make dependency injection wrapper first
module.exports = function $$inject$dependency(dep) {
// only try to `requ... |
describe("module:ng.directive:ngDisabled", function() {
beforeEach(function() {
browser.get("./examples/example-example6/index-jquery.html");
});
it('should toggle button', function() {
expect(element(by.css('button')).getAttribute('disabled')).toBeFalsy();
element(by.model('checked')).click();
e... |
import Reflux from 'reflux';
import ActorClient from 'utils/ActorClient';
import InviteUserActions from 'actions/InviteUserActions';
let
_isModalOpen = false,
_group = null,
_inviteUrl = null;
export default Reflux.createStore({
init () {
this.listenTo(InviteUserActions.modalOpen, this.onModalOpen);
... |
/*
* FooTable v3 - FooTable is a jQuery plugin that aims to make HTML tables on smaller devices look awesome.
* @version 3.1.4
* @link http://fooplugins.com
* @copyright Steven Usher & Brad Vincent 2015
* @license Released under the GPLv3 license.
*/
(function($, F){
// global int to use if the table has no ID
var _... |
var express = require('../')
, request = require('supertest');
describe('OPTIONS', function(){
it('should default to the routes defined', function(done){
var app = express();
app.del('/', function(){});
app.get('/users', function(req, res){});
app.put('/users', function(req, res){});
request... |
/**
* zooming - Image zooming with pure JavaScript.
* @version v0.1.0
* @link https://github.com/kingdido999/zooming
* @license MIT
*/
+function() { 'use strict'
function Zooming() {
this._scaleBase = 1.0
this._target = null // Zoomable target
this._body = document.body
this._lastScrollPosition... |
/*globals describe, before, beforeEach, afterEach, it */
/*jshint expr:true*/
var testUtils = require('../../utils'),
should = require('should'),
Promise = require('bluebird'),
_ = require('lodash'),
// Stuff we are testing
context = testUtils.context,
TagAPI = req... |
riot.tag('sample', '<p>test { value }</p>', function(opts) {this.value = 'sample';
}); |
/**
* Copyright (c) 2015-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.
*
* @provides... |
/*
* jQuery UI Selectmenu version 1.5.0pre
*
* Copyright (c) 2009-2010 filament group, http://filamentgroup.com
* Copyright (c) 2010-2014 Felix Nagel, http://www.felixnagel.com
* Licensed under the MIT (MIT-LICENSE.txt)
*
* https://github.com/fnagel/jquery-ui/wiki/Selectmenu
*
* Renamed as fnselectmenu to avo... |
/*
ContextMenu - jQuery plugin for right-click context menus
Author: Chris Domigan
Contributors: Dan G. Switzer, II
Parts of this plugin are inspired by Joern Zaefferer's Tooltip plugin
Dual licensed under the MIT and GPL licenses:
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licen... |
/*!
* MediaElement.js
* http://www.mediaelementjs.com/
*
* Wrapper that mimics native HTML5 MediaElement (audio and video)
* using a variety of technologies (pure JavaScript, Flash, iframe)
*
* Copyright 2010-2017, John Dyer (http://j.hn/)
* License: MIT
*
*/(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[... |
define(function (require) {
var PointerPath = require('./PointerPath');
var graphic = require('../../util/graphic');
var numberUtil = require('../../util/number');
var parsePercent = numberUtil.parsePercent;
function parsePosition(seriesModel, api) {
var center = seriesModel.get('center')... |
this.D = this.D || {};
(function () {
'use strict';
function handleExternalScript () {
var container = Docsify.dom.getNode('#main');
var scripts = Docsify.dom.findAll(container, 'script');
for (var i = scripts.length; i--;) {
var script = scripts[i];
if (script && script.src) {
var newScript = do... |
// Copyright 2008 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... |
/* @flow */
// This will require ./node_modules/B.js.flow
var B1 = require('B');
(B1.fun(): string); // Error number ~> string
// This will require ./node_modules/B.js.flow
var B2 = require('B.js');
(B2.fun(): string); // Error number ~> string
var C = require('package_with_full_main');
(C.fun(): string); // Error n... |
/**
* Sinon.JS 1.12.2, 2015/09/10
*
* @author Christian Johansen (christian@cjohansen.no)
* @author Contributors: https://github.com/cjohansen/Sinon.JS/blob/master/AUTHORS
*
* (The BSD License)
*
* Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no
* All rights reserved.
*
* Redistribution... |
(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.vidom = f()}})... |
(function(global) {
var define = global.define;
var require = global.require;
var Ember = global.Ember;
if (typeof Ember === 'undefined' && typeof require !== 'undefined') {
Ember = require('ember');
}
Ember.libraries.register('Ember Simple Auth Torii', '0.6.7');
define("simple-auth-torii/authenticators... |
/*
* GoJS v1.6.1 JavaScript Library for HTML Diagrams
* Northwoods Software, http://www.nwoods.com/
* GoJS and Northwoods Software are registered trademarks of Northwoods Software Corporation.
* Copyright (C) 1998-2016 by Northwoods Software Corporation. All Rights Reserved.
* THIS SOFTWARE IS LICENSED. THE... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v4.1.1
* @link http://www.ag-grid.com/
* @license MIT
*/
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.