code stringlengths 2 1.05M |
|---|
/* table reflow widget for TableSorter 2/7/2015 (v2.19.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* Also, this widget requires the following default css (modify as desired)
/ * REQUIRED CSS: change your reflow breakpoint here (35em below) * /
@media ( max-width: 35em ) {
.ui-table-reflow td,
.ui-tab... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
If thisArg is null or undefined, the called function is passed the global
object as the this value
es5id: 15.3.4.4_A3_T9
description: Checking by using eval, argumen... |
'use strict';
/**
* This module contains a variety of generic promise wrapped
`node.child_process.spawn` commands
* @module childProcess
*/
const R = require('ramda');
const Q = require('q');
/** this is not a constant for unit testing purposes */
let spawn = require('child_process').spawn;
const util = require... |
"use strict";
const ICollectionBase = require("./ICollectionBase");
const IGuild = require("./IGuild");
const Utils = require("../core/Utils");
const rest = require("../networking/rest");
/**
* @interface
* @extends ICollectionBase
*/
class IGuildCollection extends ICollectionBase {
constructor(discordie, value... |
const ButtonBackToTop = FocusComponents.common.button.backToTop.component;
const ButtonBTSample = React.createClass({
/**
* Render the component.
* @return {object} React node
*/
render() {
return (
<div className='button-bt-example'>
<img src="http://lorempixel.... |
'use strict';
module.exports = {
authCheck: require('./authcheck'),
injectScripts: require('./injectscripts'),
debounceName: require('./debounce-name')
};
|
/*
Script: Language.it.js
MooTools Filemanager - Language Strings in English
Translation:
Moreno Monga
*/
Filemanager.Language.it = {
more: 'Dettagli',
width: 'Larghezza:',
height: 'Altezza:',
ok: 'Ok',
open: 'Seleziona file',
upload: 'Upload',
create: 'Crea cartella',
createdir: 'Specifica il nome della c... |
'use strict';
// Setting up route
angular.module('usuarios-mobile').config(['$stateProvider', 'RouteHelpersProvider',
function($stateProvider, helper) {
// Articles state routing
$stateProvider.
state('app.listUsuariosMobile', {
url: '/usuarios-mobile',
title: 'Listar Usuários Mobile',
templateUrl: 'mo... |
var searchData=
[
['defaultgaussianmixture',['DefaultGaussianMixture',['../namespaceedda_1_1dist.html#a7ac563ae69a0db2921a59877f32c2846',1,'edda::dist']]],
['devicegmmarray',['DeviceGMMArray',['../namespaceedda.html#adf57cb048134c8ba9b3560698eb45a61',1,'edda']]],
['dword',['DWORD',['../bmp__image_8h.html#af483253... |
const config = require('../../../server/config'),
Manager = require('./manager'),
manager = new Manager();
// Responsible for handling requests for sitemap files
module.exports = function handler(siteApp) {
const verifyResourceType = function verifyResourceType(req, res, next) {
if (!Object.prototy... |
import Koa from 'koa';
import convert from 'koa-convert';
import webpack from 'webpack';
import webpackConfig from '../build/webpack.config';
import historyApiFallback from 'koa-connect-history-api-fallback';
import serve from 'koa-static';
import _debug from 'debug';
import config from '../config';
import webpackProxy... |
module.exports = require("core-js/library/fn/string/trim"); |
import { CRUD_GET_LIST_SUCCESS } from '../../../actions/dataActions';
export default resource => (previousState = 0, { type, payload, meta }) => {
if (!meta || meta.resource !== resource) {
return previousState;
}
if (type === CRUD_GET_LIST_SUCCESS) {
return payload.total;
}
return ... |
'use strict';
var grunt = require('grunt');
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.notEqual(actua... |
var MusicView = React.createClass({
getInitialState: function() {
return {album: null}
},
render: function() {
if (this.state.album){
return (
<div className="musicView" >
<h2 className="musicName">
{this.st... |
(function($)
{
$(document).ready(function() {
$('.styleswitch').click(function()
{
switchStylestyle(this.getAttribute("rel"));
return false;
});
var c = readCookie('style');
if (c) switchStylestyle(c);
});
function switchStylestyle(styleName)
{
$('link[rel*=style][title]').each(function(i)
{
... |
const express = require('express')
const app = express()
const formidable = require('formidable')
const path = require('path')
const rimraf = require('rimraf')
const fs = require('fs')
const throttle = require('express-throttle-bandwidth')
const
port = process.env.PORT || 4444,
folder = path.join(__dirname, 'files... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
If the argument len is a Number and ToUint32(len) is equal to len,
then the length property of the newly constructed object is set to ToUint32(len)
es5id: 15.4.2.2_A... |
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 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, { PropTypes } from 'react';
import withStyle... |
/*
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.5
Version: 1.9.0
Author: Sean Ngu
Website: http://www.seantheme.com/color-admin-v1.9/admin/
*/
var handleDataTableResponsive = function() {
"use strict";
if ($('#data-table').length !== 0) {
$('#da... |
// @flow
import { createPopper, popperGenerator, detectOverflow } from './createPopper';
export type * from './types';
// eslint-disable-next-line import/no-unused-modules
export { createPopper, popperGenerator, detectOverflow };
|
/**
The MIT License (MIT)
Copyright (c) 2013-2015, Joe Bain
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... |
import { moduleFor, RenderingTestCase, runTask } from 'internal-test-helpers';
import { Object as EmberObject } from '@ember/-internals/runtime';
import { set, setProperties, computed } from '@ember/-internals/metal';
import { setComponentManager, capabilities } from '@ember/-internals/glimmer';
const BasicComponentM... |
/*
* Planck.js v0.3.0-rc.1
*
* Copyright (c) 2016-2018 Ali Shakiba http://shakiba.me/planck.js
* Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising ... |
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner : '/*!\n' +
' * <%= pkg.title %> v<%= pkg.version %> - <%= pkg.description %>\n' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> - <%= pkg.homepage %>\n' +
' * ... |
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,d,a){b!=Array.prototype&&b!=Object.prototype&&(b[d]=a.value)};$jscomp.getG... |
/*
Highcharts JS v7.1.0 (2019-04-01)
(c) 2010-2019 Highsoft AS
Author: Sebastian Domas
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/histogram-bellcurve",["highcharts... |
var vows = require('vows'),
_ = require('underscore')._,
RawTests = require('./selenium.vows');
// makeSuite takes a configuration and makes a batch of tests, splitting
// up tests according to 'conf.processes'
exports.makeSuite = function(conf) {
var getCapText = function(conf, cap) {
return " (" + cap.bro... |
var path = require('path');
var Supervisor = require(path.join(__dirname,'/../processes/supervisor'));
/**
* @function stopGateway
* @description Halts all pocesses.
*/
function stopGateway() {
return new Supervisor().stop();
}
module.exports = stopGateway;
|
/**
* @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 { Injector, NgModule, NgZone, OpaqueToken } from '@angular/core';
import { AsyncTestCompleter } from './async_... |
'use strict';
(function(window, document, $, undefined) {
window.kunstmaan = window.kunstmaan || {};
window.kunstmaan.leadGeneration = window.kunstmaan.leadGeneration || {};
window.kunstmaan.leadGeneration.Popup = function(name, htmlId) {
var instance = {
'name': name
};
... |
var fs = require('fs');
var execSync = require('child_process').execSync;
var exec = function (cmd) {
execSync(cmd, {stdio: 'inherit'});
};
/* global jake, task, desc, publishTask */
task('build', ['lint', 'clean', 'browserify', 'minify'], function () {
console.log('Build completed.');
});
desc('Cleans browerifi... |
define(["npm:aurelia-loader-default@1.0.0-beta.1.0.1/aurelia-loader-default"], function(main) {
return main;
}); |
version https://git-lfs.github.com/spec/v1
oid sha256:908993a1b52e182ff79479fca7e10537d646cd9285dde32433ffc66265343ed3
size 1819
|
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... |
angular
.module('material.components.icon')
.directive('mdIcon', ['$mdIcon', '$mdTheming', '$mdAria', '$sce', mdIconDirective]);
/**
* @ngdoc directive
* @name mdIcon
* @module material.components.icon
*
* @restrict E
*
* @description
* The `md-icon` directive makes it easier to use vector-based icons in y... |
version https://git-lfs.github.com/spec/v1
oid sha256:b1828b45943f19da0e26be3154d3d51fd17dc7940a670c52379f02d4ff678d46
size 591
|
var test = require('tape');
var AmpersandModel = require('ampersand-model');
var AmpersandCollection = require('ampersand-rest-collection');
var AmpersandView = require('../ampersand-view');
var Model = AmpersandModel.extend({
props: {
id: 'number',
name: ['string', true],
html: 'string',
... |
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file relies on the fact that the following declarations have been made
// in runtime.js:
// var $Object = global.Object;
// var $Boolean = globa... |
const fs = require('fs-extra');
const path = require('path');
const cleanDirs = [
'dist'
];
cleanDirs.forEach(dir => {
const cleanDir = path.join(__dirname, '../', dir);
fs.removeSync(cleanDir);
});
|
'use strict';
var fs = require('fs');
var Promise = require('../ext/promise');
var readFile = Promise.denodeify(fs.readFile);
var lstat = Promise.denodeify(fs.stat);
var chalk = require('chalk');
var EditFileDiff = require('./edit-file-diff');
var EOL = require('os').EOL;
var ... |
var everything = function () {
return 42;
};
anything.prototype.everything = everything; |
/*
* /MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.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 the License.
* You may obtain a copy of the License at... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.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 compli... |
/*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights... |
const BaseChecker = require('./../base-checker')
const ruleId = 'imports-on-top'
const meta = {
type: 'order',
docs: {
description: `Import statements must be on top.`,
category: 'Style Guide Rules'
},
isDefault: false,
recommended: true,
defaultSetup: 'warn',
schema: null
}
class ImportsOnTo... |
module.exports = {
VERSION: '%KARMA_VERSION%',
KARMA_URL_ROOT: '%KARMA_URL_ROOT%',
KARMA_PROXY_PATH: '%KARMA_PROXY_PATH%',
CONTEXT_URL: 'context.html'
}
|
var AreasOfEffect = (() => {
'use strict';
let MENU_CMD = '!areasOfEffectShowMenu';
let ADD_EFFECT_CMD = '!areasOfEffectAddEffect';
let APPLY_EFFECT_CMD = '!areasOfEffectApplyEffet';
let DEL_EFFECT_CMD = '!areasOfEffectDeleteEffect';
let SHOW_EFFECTS_CMD = '!areasOfEffectShowEffects';
let VERSION = '1.0'... |
var fs = require('fs');
var os = require('os');
var path = require('path');
var util = require('./ci-util');
// initialize _package
util.initializePackagePath();
// create the tasks.zip
util.createTasksZip();
var branch = null;
if (process.env.TF_BUILD) {
// during CI agent checks out a commit, not a branch.
... |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
(function(){function a(b,c){var d=b.lang.placeholder,e=b.lang.common.generalTab;return{title:d.title,minWidth:300,minHeight:80,contents:[{id:'info',label:e,title:e,eleme... |
if(!dojo._hasResource["tests.rpc"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["tests.rpc"] = true;
dojo.provide("tests.rpc");
dojo.require("dojo.rpc.RpcService");
dojo.require("dojo.rpc.JsonService");
dojo.require("dojo.rpc.JsonpService");
doh.register("te... |
// set default source and build directories
var dest = './build';
var src = './src';
module.exports = {
// options for Gulp tasks go here
markup: {
/* there most likely won't be a need for any markup other than a main
index.html but you can add more configuration here if necessary */
src: src + '/index... |
let helpers = {
formatPrice : function(cents) {
return '$' + ( (cents / 100).toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g, ",") );
},
rando : function(arr) {
return arr[Math.floor(Math.random() * arr.length)];
},
slugify : function(text) {
return text.toString().toLowerCase()
.replace(/\s+/g... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.JSEncrypt = {})));
}(this, (function (exports) { 'use strict';
var BI_RM = "0123456789abcdefghijklmnopqrstuvwxy... |
'use strict';
/**
* Lazily required module dependencies
*/
var lazy = require('lazy-cache')(require);
var fn = require;
require = lazy;
require('falsey', 'isFalsey');
require('delimiter-regex', 'delims');
require('get-view');
require = fn;
/**
* Expose `utils`
*/
module.exports = lazy;
|
interface A { 'C': string; }
interface B { "D": boolean; }
|
"use strict";
var render = require("../../render");
var src = __dirname + "/src.js";
render(
{
src: src,
template: __dirname + "/../template.hbs",
"global-index-format": "none",
source: src
},
__dirname + "/readme.md"
);
|
Ext.define("Ext.menu.Separator",{extend:"Ext.menu.Item",alias:"widget.menuseparator",canActivate:false,focusable:false,hideOnClick:false,plain:true,separatorCls:Ext.baseCSSPrefix+"menu-item-separator",text:" ",beforeRender:function(a,c){var b=this;b.callParent();b.addCls(b.separatorCls)}}); |
'use strict';
/* globals getInputCompileHelper: false */
describe('ngModel', function() {
describe('NgModelController', function() {
/* global NgModelController: false */
var ctrl, scope, ngModelAccessor, element, parentFormCtrl;
beforeEach(inject(function($rootScope, $controller) {
var attrs = ... |
module("Director.js", {
setup: function() {
window.location.hash = "";
shared = {};
},
teardown: function() {
window.location.hash = "";
shared = {};
}
});
var shared;
function createTest(name, config, use, test) {
if (typeof use === 'function') {
test = use;
use = undefined;
}
a... |
({"he":"עברית","hello":"שלום","yi":"Yiddish","en-us-texas":"English (Texas)","es":"Spanish","de":"German","pl":"Polish","hello_dojo":"${hello}, ${dojo}!","fa":"Farsi","pt":"Portugese","zh-tw":"Chinese (Traditional)","sw":"Kiswahili","ar":"Arabic","en-us-new_york-brooklyn":"English (Brooklynese)","ru":"Russian","fr":"Fr... |
// @flow
// $ExpectError: No negative tests here
const skipNegativeTest: string = true;
var inquirer = require('inquirer');
var directionsPrompt = {
type: 'list',
name: 'direction',
message: 'Which direction would you like to go?',
choices: ['Forward', 'Right', 'Left', 'Back']
};
function main() {
console... |
/**
* Module dependencies.
*/
var express = require('../../');
var cookie-parser = require('cookie-parser');
var app = module.exports = express();
// pass a secret to cookieParser() for signed cookies
app.use(cookieParser('manny is cool'));
// add req.session cookie support
app.use(cookieSession());
// do someth... |
/*****************************************************************************
*
* Author: Kerri Shotts <kerrishotts@gmail.com>
* http://www.photokandy.com/books/mastering-phonegap
*
* MIT LICENSED
*
* Copyright (c) 2016 Kerri Shotts (photoKandy Studios LLC)
* Portions Copyright various third parties ... |
import { ElementRef, Input, Component, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Calendar } from '@fullcalendar/core';
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === nul... |
export const EXAMPLE_REPOSITORIES = {
clock: { repo: 'https://github.com/meteor/clock' },
leaderboard: { repo: 'https://github.com/meteor/leaderboard' },
localmarket: { repo: 'https://github.com/meteor/localmarket' },
'simple-todos': { repo: 'https://github.com/meteor/simple-todos' },
'simple-todos-react': {
... |
import EmptyObject from 'ember-data/-private/system/empty-object';
import parseResponseHeaders from 'ember-data/-private/utils/parse-response-headers';
import { module, test } from 'qunit';
const CRLF = '\u000d\u000a';
module('unit/adapters/parse-response-headers');
test('returns an EmptyObject when headersString is... |
ace.define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"], function(acequire, exports, module) {
exports.isDark = false;
exports.cssClass = "ace-kuroir";
exports.cssText = "\
.ace-kuroir .ace_gutter {\
background: #e8e8e8;\
color: #333;\
}\
.ace-kuroir .ace_print-margin {\
width: 1px;\
background: #e8... |
let util = require('../../util');
let Hammer = require('../../module/hammer');
let hammerUtil = require('../../hammerUtil');
/**
* clears the toolbar div element of children
*
* @private
*/
class ManipulationSystem {
constructor(body, canvas, selectionHandler) {
this.body = body;
this.canvas = canvas;
... |
/*
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';
/* Services */
// Demonstrate how to register services
// In this case it is a simple value service.
angular.module('blog.services', []).
value('version', '0.1');
|
/**
* videojs-flash
* @version 1.0.0-RC.1
* @copyright 2017 Brightcove, Inc.
* @license Apache-2.0
*/
(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(t... |
/**
@module ember
@submodule ember-htmlbars
*/
import isEnabled from 'ember-metal/features';
import { keyword } from 'htmlbars-runtime/hooks';
import closureAction from 'ember-routing-htmlbars/keywords/closure-action';
/**
The `{{action}}` helper provides a useful shortcut for registering an HTML
element within a... |
/*
* WYMeditor : what you see is What You Mean web-based editor
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
* Dual licensed under the MIT (MIT-license.txt)
* and GPL (GPL-license.txt) licenses.
*
* For further information visit:
* http://www.wymeditor.org/
*
* File Name:... |
define("ace/snippets/plain_text",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "";
exports.scope = "plain_text";
});
(function() {
window.require(["ace/snippets/plain_text"], function(m) {
if (typeof... |
module.exports={A:{A:{"2":"J C G E B A UB"},B:{"1":"X g H L","2":"D"},C:{"1":"0 1 4 5 V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s","2":"2 SB F I J C G E B A D X g H L M N O P Q R S T U QB PB"},D:{"1":"0 1 4 5 8 i j k l m n o p q r w x v z t s EB BB TB CB","2":"F I J C G E B A D X g H L M N O P Q R S T U V... |
// 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, software
// distributed ... |
// Copyright 2006 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... |
import { Platform, Dimensions } from "react-native";
import variable from "./../variables/platform";
const deviceHeight = Dimensions.get("window").height;
export default (variables = variable) => {
const theme = {
flex: 1,
height: Platform.OS === "ios" ? deviceHeight : deviceHeight - 20
};
return theme... |
define("rollbar", [], function() { return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(in... |
var reporter_1 = require('./reporter');
function isTS14(typescript) {
return !('findConfigFile' in typescript);
}
exports.isTS14 = isTS14;
function getFileName(thing) {
if (thing.filename)
return thing.filename; // TS 1.4
return thing.fileName; // TS 1.5
}
exports.getFileName = getFileName;
function... |
/**
* This class should not be used directly by an application developer. Instead, use
* {@link Location}.
*
* `PlatformLocation` encapsulates all calls to DOM apis, which allows the Router to be platform
* agnostic.
* This means that we can have different implementation of `PlatformLocation` for the different
*... |
!function ($) {
$(function(){
map = new GMaps({
div: '#gmap_geocoding',
lat: 40.0000,
lng: -100.0000,
zoom: 4
});
map.addMarker({
lat: 40.0000,
lng: -100.0000,
title: 'Marker',
infoWindow: {
content: 'Info content here...'
}
});
$('#geocoding_form').submit(function(e){
e... |
"use strict";var sjcl={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message};this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message};this.message=a},bug:function(a){this.toString=function(){r... |
// seedrandom.js
// Author: David Bau 12/25/2010
//
// Defines a method Math.seedrandom() that, when called, substitutes
// an explicitly seeded RC4-based algorithm for Math.random(). Also
// supports automatic seeding from local or network sources of entropy.
//
// Usage:
//
// <script src=http://davidbau.com/encod... |
// # Surrounds given text with Markdown syntax
/*global $, CodeMirror, Showdown, moment */
(function () {
'use strict';
var Markdown = {
init : function (options, elem) {
var self = this;
self.elem = elem;
self.style = (typeof options === 'string') ? options : optio... |
/*
* QtWebKit-powered headless test runner using PhantomJS
*
* PhantomJS binaries: http://phantomjs.org/download.html
* Requires PhantomJS 1.6+ (1.7+ recommended)
*
* Run with:
* phantomjs runner.js [url-of-your-qunit-testsuite]
*
* e.g.
* phantomjs runner.js http://localhost/qunit/test/index.html
*/
/*... |
var struct___s_y_s_t_e_m___t_h_r_e_a_d___i_n_f_o_r_m_a_t_i_o_n =
[
[ "BasePriority", "struct___s_y_s_t_e_m___t_h_r_e_a_d___i_n_f_o_r_m_a_t_i_o_n.html#a83350567ec26fc4723ac14b5864ae4f9", null ],
[ "ClientId", "struct___s_y_s_t_e_m___t_h_r_e_a_d___i_n_f_o_r_m_a_t_i_o_n.html#a5f4ab183c0202edb1e4b9a2be1ace0db", nul... |
/*
* 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... |
/**
* Template JS for Internet Explorer 8 and lower - mainly workaround for missing selectors
*/
(function($)
{
// Standard template setup for IE
$.fn.addTemplateSetup(function()
{
// Clean existing classes
this.find('.first-child').removeClass('first-child');
this.find('.last-child').removeClass... |
import Ember from 'ember';
import MaterializeNavBar from './md-navbar';
export default MaterializeNavBar.extend({
init() {
this._super(...arguments);
Ember.deprecate("{{materialize-navbar}} has been deprecated. Please use {{md-navbar}} instead", false, {url: "https://github.com/sgasser/ember-cli-materialize/... |
var _ = require('underscore');
module.exports = {
'passport-number': {
labelClassName: 'visuallyhidden',
validate: [
'required'
]
},
'can-sign': {
legend: {
className: 'visuallyhidden'
},
formatter: 'boolean',
validate: ['required'],
options: [
{
... |
var searchData=
[
['data',['data',['../classv8_1_1_string_1_1_external_string_resource.html#a987309199b848511adb708e221e0fb0a',1,'v8::String::ExternalStringResource::data()'],['../classv8_1_1_string_1_1_external_one_byte_string_resource.html#aaeca31240d3dbf990d1b974e3c64593e',1,'v8::String::ExternalOneByteStringResou... |
/*************************************************************
*
* MathJax/localization/cdo/TeX.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 the License.
* You may obtain a cop... |
var should = require('should'),
rewire = require('rewire'),
configUtils = require('../../../../test/utils/configUtils'),
// Stuff we are testing
ampContentHelper = rewire('../lib/helpers/amp_content');
// TODO: Amperize really needs to get stubbed, so we can test returning errors
// properly and make this... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'el', {
button: 'Επικόλληση ως απλό κείμενο',
title: 'Επικόλληση ως απλό κείμενο'
} );
|
/**
* Prev Rollover
* (c) 2013 Bill, BunKat LLC.
*
* Determines if a value will cause a particualr constraint to rollover to the
* previous largest time period. Used primarily when a constraint has a
* variable extent.
*
* Later is freely distributable under the MIT license.
* For all details and documentation:
* h... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v10.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __prot... |
export function foo4() {};
export const { a: [{ foo4: foo }], b, c: { foo2: [{ foo3: foo4 }] } } = bar;
|
Meteor.methods({
getStatistics(refresh) {
if (!Meteor.userId()) {
throw new Meteor.Error('error-invalid-user', 'Invalid user', { method: 'getStatistics' });
}
if (RocketChat.authz.hasPermission(Meteor.userId(), 'view-statistics') !== true) {
throw new Meteor.Error('error-not-allowed', 'Not allowed', { met... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.