code stringlengths 2 1.05M |
|---|
/*! UIkit 2.27.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
!function(t){"use strict";function o(o,i){i=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},i);var n=o.offset().top-i.offset,s=t.$doc.height(),e=window.innerHeight;n+e>s&&(n=s-e),t.$("html,body").stop().ani... |
// Version: 3.7.13
var NOW = 1
, READY = false
, READY_BUFFER = []
, PRESENCE_SUFFIX = '-pnpres'
, DEF_WINDOWING = 10 // MILLISECONDS.
, DEF_TIMEOUT = 10000 // MILLISECONDS.
, DEF_SUB_TIMEOUT = 310 // SECONDS.
, DEF_KEEPALIVE = 60 // SECONDS (FOR TIMESYNC).
, ... |
// including plugins
var gulp = require('gulp'),
livereload = require('gulp-livereload'),
server = require('tiny-lr')(),
less = require("gulp-less"),
rename = require('gulp-rename'),
minifyCSS = require('gulp-minify-css');
// translate less file, then minify it
gulp.task('less', function () {
g... |
'use strict';
var path = require('path');
var copy = require('copy');
var del = require('delete');
var drafts = require('gulp-drafts');
var reflinks = require('gulp-reflinks');
var format = require('gulp-format-md');
var paths = require('./lib/paths');
var lib = require('./lib');
module.exports = function(app) {
va... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.to_datetime = undefined;
var _immutable = require('immutable');
var _immutable2 = _interopRequireDefault(_immutable);
var _index = require('../core/index');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? o... |
'use strict';
describe('MockService', function() {
var doneCallback, mockService;
beforeEach(function() {
doneCallback = jasmine.createSpy('doneCallback').and.callFake(function (error) {
expect(error).toBe(null);
});
mockService = Pact.mockService({
consumer: 'Consumer',
provider: ... |
import webpack from "webpack";
import color from "chalk";
export default (webpackConfig, log, cb) => {
webpack(webpackConfig, (err, stats) => {
if (err) {
throw err;
}
if (stats.hasErrors()) {
stats.compilation.errors.forEach(item =>
log(...[color.red("Error:"), ...item.message.split... |
var path = require('path')
var fs = require('fs')
var releaseFolder = require('./util').releaseFolder
var gypbuild = require('./gypbuild')
var noop = require('noop-logger')
function build (opts, version, cb) {
var log = opts.log || noop
var release = releaseFolder(opts)
log.verbose('starting node-gyp process')
... |
module.exports={A:{A:{"2":"H D G E A B mB"},B:{"2":"C K f L N I J q"},C:{"1":"8 HB IB JB KB LB","2":"0 1 2 3 4 5 6 jB NB F O H D G E A B C K f L N I J P Q R S T U V W X Y Z a b c d e AB g h i j k l m n o p M r s t u v w x y z EB MB DB BB FB dB cB"},D:{"2":"0 1 2 3 4 5 6 8 F O H D G E A B C K f L N I J P Q R S T U V W X... |
// Copyright (c) 2017 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... |
import TestResolverApplicationTestCase from './test-resolver-application';
import Application from '@ember/application';
import { Router } from '@ember/-internals/routing';
export default class AutobootApplicationTestCase extends TestResolverApplicationTestCase {
createApplication(options, MyApplication = Applicatio... |
#!/usr/bin/env node
/**
* Copyright 2012-2016 Alex Sexton, Eemeli Aro, and Contributors
*
* Licensed under the MIT License
*/
var fs = require('fs'),
glob = require('glob'),
MessageFormat = require('../'),
nopt = require('nopt'),
path = require('path'),
knownOpts = {
help: Boolean,
... |
"use strict";
var helpers = require("../../helpers/helpers");
exports["Etc/GMT+9"] = {
"guess:by:offset" : helpers.makeTestGuess("Etc/GMT+9", { offset: true, expect: "Pacific/Gambier" }),
"guess:by:abbr" : helpers.makeTestGuess("Etc/GMT+9", { abbr: true, expect: "Pacific/Gambier" }),
}; |
// ==========================================================================
// Project: The M-Project - Mobile HTML5 Application Framework
// Copyright: (c) 2010 M-Way Solutions GmbH. All rights reserved.
// (c) 2011 panacoda GmbH. All rights reserved.
// Creator: Sebastian
// Date: 22.11.2010
// ... |
define({
"_widgetLabel": "Sélectionner",
"showActions": "Afficher les actions sur les entités sélectionnées",
"toggleSelectability": "Cliquez pour activer/désactiver le caractère sélectionnable",
"showSelectedFeatures": "Cliquez pour afficher les entités sélectionnées",
"actionsTitle": "Actions de sélection"
... |
/*
* grunt-deps-ok
* https://github.com/bahmutov/grunt-deps-ok
*
* Copyright (c) 2013 Gleb Bahmutov
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'tasks/*.js',
... |
/*
* Translated default messages for the jQuery validation plugin.
* Locale: DA (Danish; dansk)
*/
$.extend($.validator.messages, {
required: "Dette felt er påkrævet.",
maxlength: $.validator.format("Indtast højst {0} tegn."),
minlength: $.validator.format("Indtast mindst {0} tegn."),
rangelength: $.... |
'use strict';
function hexToRgb(hex) {
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
return result ? {
r: parseInt(result[1], 16),
g: parseInt(result[2], 16),
b: parseInt(result[3], 16)
} : null;
}
function shadeColor2(color, percent) {
var f=parseInt(color.slice(1), 16), t=p... |
module.exports = require('regenerate')().addRange(0x1F3FB, 0x1F3FF);
|
exports.BattleStatuses= {
sunnyday: {
inherit: true,
onStart: function (battle, source, effect) {
if (effect && effect.effectType === 'Ability') {
this.effectData.duration = 0;
this.add('-weather', 'SunnyDay', '[from] ability: ' + effect, '[of] ' + source);
} else {
this.add('-weather', '... |
var css_beautify = legacy_beautify_css;
/* Footer */
if (typeof define === "function" && define.amd) {
// Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )
define([], function() {
return {
css_beautify: css_beautify
};
});
} else if (typeof ... |
var Game, styles, z;
z = require('zorium');
paperColors = require('zorium-paper/colors.json')
Score = require('../../models/score')
Footer = require('../footer')
window.requestAnimFrame = (function(){
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.moz... |
define([
'jquery',
'underscore',
'backbone'
], function ($, _, Backbone) {
var Rate = Backbone.Model.extend({
idAttribute: "_id",
urlRoot: '/api/rate',
});
var RateCollection = Backbone.Collection.extend({
url: '/api/rate',
model: Rate,
comparator: function(e1, e2)
{
if (e1.get('created') > ... |
/*
* Copyright (C) 2012 by CoNarrative
*/
/* DOCS DISABLED FOR NOW
* @class glu.RowViewmodel
* An extremely lightweight version of a view model that just has formulas (for now).
* Very useful to get reactive behavior in grids where items can automatically update without a grid refresh
* or based on other columns ... |
'use strict';
exports.__esModule = true;
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _screen = require('../../core/screen');
var _screen2 = _interopRequireDefault(_screen);
var _vcode_pane = require('../../field/vcode/vcode_pane');
var _vcode_pane2 = _interopRequireDefault(_v... |
// Generated by CoffeeScript 1.3.3
(function() {
module.exports = {
saucelabs: {
username: '<USERNAME>',
accessKey: '<KEY>'
}
};
}).call(this);
|
/*!
* jQuery JavaScript Library v1.11.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-dimensions,-effects,-effects/Tween,-effects/animatedSelector,-effects/support
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizz... |
'use strict';
module.exports = {
env: {
commonjs: true,
browser: true,
},
globals: {
// ES6
Map: true,
Set: true,
Symbol: true,
Proxy: true,
WeakMap: true,
WeakSet: true,
Uint16Array: true,
// Vendor specific
MSApp: true,
__REACT_DEVTOOLS_GLOBAL_HOOK__: true,
... |
import { isInteger } from 'lodash';
/**
* Given an input the function will return an number.
*
* @param {object} input - The input to be converted.
*
* @returns {number} - The converted result.
*/
export default function toInteger(input) {
if (isInteger(input)) {
return input;
}
return parse... |
define({
"sourceSetting": "Setări sursă căutare",
"instruction": "Adăugaţi şi configuraţi servicii de geocodificare sau straturi tematice de obiecte spaţiale ca surse de căutare. Aceste surse specificate stabilesc ce este căutabil în cadrul casetei de căutare.",
"add": "Adăugare sursă căutare",
"addGeocoder": "... |
Carnival.batchActionInitialize = function(noItemsMessage){
Carnival.batchActionSelected();
Carnival.batchActionToggleAllItems();
Carnival.batchActionSubmit(noItemsMessage);
}
Carnival.batchActionFunction = function(){
var value = $(this).val();
if($(this).is(':checked')){
$(this).parent().parent().addCla... |
/**
* promisify takes an asynchronous function that uses node style callbacks
* and returns a function that will return a promise instead.
* const promisified = promisify(fn);
* Invoking the original function (fn) may have looked something like this:
* fn((error, data) => {
* if (error) handleError();
... |
var gulp = require('gulp'),
fs = require('fs'),
clean = require("gulp-clean"),
uglify = require("gulp-uglify"),
concat = require("gulp-concat"),
header = require("gulp-header"),
zip = require("gulp-zip"),
runSequence = require('run-sequence');
var getVersion = function () {
info = require("./package.json");
r... |
/**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v21.2.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extend... |
import React from 'react';
import { shallow } from 'enzyme';
import Header from '../index';
describe('Header', () => {
it('renders without crashing', () => {
shallow(<Header />);
});
});
|
/*
Language: Dart
Requires: markdown.js
Author: Maxim Dikun <dikmax@gmail.com>
Description: Dart a modern, object-oriented language developed by Google. For more information see https://www.dartlang.org/
Website: https://dart.dev
Category: scripting
*/
function dart(hljs) {
const SUBST = {
className: 'subst',
... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate... |
import axios from 'axios';
import config from 'config/environment.js';
const codeSchoolsData = {
getCodeSchools() {
return axios.get(`${config.backendUrl}/code_schools`);
}
};
export default codeSchoolsData;
|
"use strict";var cluster=require("cluster"),clusterId=cluster.isMaster?0:cluster.worker.id;module.exports=parseInt(process.env.NODE_UNIQUE_ID||clusterId,10); |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _extends2 = _interopRequireDefaul... |
import click from './mouse_click';
import setupAfterNextRender from './after_next_render';
import makeMouseEvent from './make_mouse_event';
/**
* Draws a feature on a map.
*/
const mapFeaturesToModes = {
Polygon: 'draw_polygon',
Point: 'draw_point',
LineString: 'draw_line_string'
};
export default function d... |
import Vue from 'vue';
import Vuex from 'vuex';
import * as actions from './actions';
import * as getters from './getters';
import mutations from './mutations';
import createState from './state';
Vue.use(Vuex);
export const createStore = (initialState = {}) =>
new Vuex.Store({
actions,
getters,
mutation... |
const db = require('../../db/db-config.js');
const Engineer = db.Model.extend({
tableName: 'engineers',
hasTimestamps: false
});
module.exports = Engineer;
|
version https://git-lfs.github.com/spec/v1
oid sha256:eebc58d23ab19607da96502f922d1eaebe540a28319c4eed5a512157520157d2
size 1046
|
var crypto = require('crypto'),
Socket = require('net').Socket,
dnsLookup = require('dns').lookup,
EventEmitter = require('events').EventEmitter,
inherits = require('util').inherits;
var ssh2_streams = require('ssh2-streams'),
SSH2Stream = ssh2_streams.SSH2Stream,
SFTPStream = ssh2_streams.SFTP... |
import './components';
|
var appModule = require("./application-common");
var dts = require("application");
var frame = require("ui/frame");
var types = require("utils/types");
var observable = require("data/observable");
var enums = require("ui/enums");
global.moduleMerge(appModule, exports);
var initEvents = function () {
var androidApp ... |
angular.module('menuDemoWidth', ['ngMaterial']).config(function($mdIconProvider) {
$mdIconProvider
.iconSet("call", 'img/icons/sets/communication-icons.svg', 24)
.iconSet("social", 'img/icons/sets/social-icons.svg', 24);
}).controller('WidthDemoCtrl', function($mdDialog) {
var ctrl = this;
ctrl.menuHref =... |
var Future = Npm.require('fibers/future');
var urlModule = Npm.require('url');
var MailComposer = Npm.require('mailcomposer').MailComposer;
Email = {};
EmailTest = {};
var makePool = function (mailUrlString) {
var mailUrl = urlModule.parse(mailUrlString);
if (mailUrl.protocol !== 'smtp:')
throw new Error("Ema... |
/**
* Copyright 2014 Telerik AD
*
* 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 ... |
/*!
* jQuery JavaScript Library v2.0.3 -event-alias,-effects
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-07-07T17:05Z
*/
(function( windo... |
/* Tabulator v4.2.5 (c) Oliver Folkerd */
var History = function History(table) {
this.table = table; //hold Tabulator object
this.history = [];
this.index = -1;
};
History.prototype.clear = function () {
this.history = [];
this.index = -1;
};
History.prototype.action = function (type, component, data) {
thi... |
import {
isValidHex,
report,
ruleMessages,
validateOptions,
} from "../../utils"
import styleSearch from "style-search"
export const ruleName = "color-no-invalid-hex"
export const messages = ruleMessages(ruleName, {
rejected: hex => `Unexpected invalid hex color "${hex}"`,
})
export default function (actua... |
/* globals define */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof exports === 'object') {
module.exports = factory();
} else {
root.owaspPasswordStrengthTest = factory();
}
}(this, function () {
var owasp = {};
/... |
(function () {
var ss = jss.createStyleSheet(window.styles).attach()
angular
.module('myApp', [])
.controller('myController', function MyController($scope) {
$scope.classes = ss.classes
$scope.showSource = function () {
location.href = 'http://github.com/js... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionSettingsBrightness = (props) => (
<SvgIcon {...props}>
<path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1... |
'use strict';
if (typeof module !== 'undefined' && module.exports) {
module.exports = isSupported;
} else if (window) {
window.mapboxgl = window.mapboxgl || {};
window.mapboxgl.supported = isSupported;
}
/**
* Test whether the current browser supports Mapbox GL JS
* @param {Object} options
* @param {bo... |
'use strict';
angular.module('sw.plugin.auth', ['sw.plugins'])
.factory('auth', function ($q/* , $window */) {
return {
execute: function (/* options */) {
var deferred = $q.defer();
/* Add auth key to params
options.params.auth_key = '...';
... |
/*
Highcharts JS v7.0.3 (2019-02-06)
Indicator series type for Highstock
(c) 2010-2019 Pawel Fus, Sebastian Bochan
License: www.highcharts.com/license
*/
(function(e){"object"===typeof module&&module.exports?(e["default"]=e,module.exports=e):"function"===typeof define&&define.amd?define(function(){return e}):e(... |
/*!
* Modernizr 2.5.3
*
* Microsoft grants you the right to use these script files for the sole purpose of either:
* (i) interacting through your browser with the Microsoft website, subject to the websites terms of use;
* or (ii) using the files as included with a Microsoft product subject to that products license... |
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o;"undefined"!=typeof window?o=window:"undefined"!=typeof global?o=global:"undefined"!=typeof self&&(o=self),o.ColorHash=e()}}(function(){var define,module,exports;... |
var config = require(__dirname+'/../../config/environment.js');
var setKey = require(__dirname+'/set_key.js');
/**
* @requires config
* @function getKey
*
* @description Gets admin password.
* @param {getKeyCallback} fn - Callback that handles response upon getting key.
*/
function getKey(fn){
var key = config... |
var WebpackDevServer = require('webpack-dev-server');
var webpack = require('webpack');
var config = require('./webpack.config');
var express = require('express');
var proxy = require('proxy-middleware');
var url = require('url');
var app = express();
app.use('/dist', proxy(url.parse('http://localhost:8081/dist')));
... |
/*
This is an example factory definition.
Create more files in this directory to define additional factories.
*/
import { Factory, faker } from 'ember-cli-mirage';
export default Factory.extend({
// age: 20, // numbers
// tall: true, // booleans
// em... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.0
*/
goog.provide('ngmaterial.components.tabs');
goog.require('ngmaterial.components.icon');
goog.require('ngmaterial.core');
/**
* @ngdoc module
* @name material.components.tabs
* @description
*
* Tabs, created with th... |
'use strict';
var gulp = require('gulp'),
browserSync = require('browser-sync'),
reload = browserSync.reload;
var sass = require('gulp-sass');
gulp.task('sass', function () {
gulp.src('scss/**/*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('css'));
});
gulp.ta... |
/**
* 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.
*
* @flow
*/
import JSON5 from 'json5';
import type {Element} from './views/Components/types';
import type {StateContext} from './... |
var path = require('path');
var fs = require('fs');
var assert = require('assert');
var common = require('../../common.js');
var CommandGlobals = require('../../lib/globals/commands.js');
var Runner = common.require('runner/run.js');
module.exports = {
'testRunner': {
before: function (done) {
CommandGloba... |
const {find} = require('underscore-plus')
const {Emitter, CompositeDisposable} = require('event-kit')
const Pane = require('./pane')
const ItemRegistry = require('./item-registry')
const PaneContainerElement = require('./pane-container-element')
const SERIALIZATION_VERSION = 1
const STOPPED_CHANGING_ACTIVE_PANE_ITEM_D... |
define(function (require) {
"use strict";
var $ = require('jquery'),
Backbone = require('backbone'),
Employee = Backbone.Model.extend({
urlRoot: "http://localhost:3000/employees",
initialize: function () {
this.reports = n... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
ToInt32(first expression) is called first, and then ToInt32(second
expression)
es5id: 11.10.3_A2.3_T1
description: Checking with "throw"
---*/
//CHECK#1
var x = { v... |
// 46: Map.prototype.set()
// To do: make all tests pass, leave the assert lines unchanged!
describe('`Map.prototype.set` adds a new element with key and value to a Map', function(){
it('simplest use case is `set(key, value)` and `get(key)`', function() {
let map = new Map();
map.set();
assert.equa... |
/**
* This class is used to manage all plugins used in Hexo.
*
* There're 9 types of plugins:
*
* - {% crosslink Extend.Console Console %}
* - {% crosslink Extend.Deployer Deployer %}
* - {% crosslink Extend.Filter Filter %}
* - {% crosslink Extend.Generator Generator %}
* - {% crosslink Extend.Helper Helper %}
* - {% ... |
/*!
* bindings/inputmask.binding.min.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2018 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 4.0.0-beta.45
*/
!function(a){"function"==typeof define&&define.amd?define(["jquery","../inputma... |
"use strict";import"../../Core/Axis/TreeGridAxis.js"; |
/*!
* dependencyLibs/inputmask.dependencyLib.jquery.min.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2018 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 4.0.1-beta.7
*/
!function(e){"function"==typeof define&&define.amd?define(["j... |
window.test_dpUrlSet = function test_dpUrlSet() {
/// <summary>
/// </summary>
//#region "Prerequisites"
/*
1) Add this script after the other scripts.
<script src="~/Scripts/Diphap.JsNetBridge/Diphap.JsNetBridge.Example.js" ></script>
2) Copy and Pas... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
var http = require('http');
var path = require('path');
var app = require(path.join(__dirname, 'server'));
var port = process.env.PORT || '3000';
app.set('port', port);
var server = http.createServer(app);
server.listen(port);
console.log('Server now listening on port ' + port);
|
/*
All of the code within the ZingChart software is developed and copyrighted by ZingChart, Inc., and may not be copied,
replicated, or used in any other software or application without prior permission from ZingChart. All usage must coincide with the
ZingChart End User License Agreement which can be requested by email... |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
var _lodash = require('lodash');
var _Integer = function _Integer() {
_classCallC... |
kopf.controller('ClusterSettingsController', ['$scope', '$location', '$timeout', 'AlertService', 'ElasticService', function($scope, $location, $timeout, AlertService, ElasticService) {
$scope.$on('loadClusterSettingsEvent', function() {
$('#cluster_settings_option a').tab('show');
$('#cluster_settings_tabs a:first... |
describe("", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("build/docs/examples/example-example65/index.html");
});
it('should check ng-class-odd and ng-class-even', function() {
expect(element(by.repeater('name in names').row(0).column('name')).getAttribut... |
version https://git-lfs.github.com/spec/v1
oid sha256:726be6c30541668908badde1997fe78dcf735ec742400d63801128ef53c02d88
size 978
|
/* eslint-disable max-len */
/* eslint-disable prefer-destructuring */
/* eslint-disable camelcase */
/* eslint-disable no-undef */
const warlockRollCoutrecoups = ['rollWarlockContrecoups', 'rollMALWarlockContrecoups'];
warlockRollCoutrecoups.forEach((button) => {
on(`clicked:${button}`, (info) => {
const roll =... |
(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.immediate = f(... |
/* Readonly properties */
// protect(\"creator\");
if (this.title === "$PUT_TEST") {
this.message += "x";
}
if (this.message == "notvalidput") {
error('message', "message should not be notvalidput");
} |
import { ClientFunction } from 'testcafe';
import { expect } from 'chai';
fixture `GH-751`
.page `http://localhost:3000/fixtures/regression/gh-751/pages/index.html`;
test('Test dblclick performance', async t => {
await t.doubleClick('#dblclick');
var dblclickPerformanceLog = await ClientFunction(() => w... |
"use strict";
module.exports = Type;
// extends Namespace
var Namespace = require("./namespace");
((Type.prototype = Object.create(Namespace.prototype)).constructor = Type).className = "Type";
var Enum = require("./enum"),
OneOf = require("./oneof"),
Field = require("./field"),
MapF... |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@material-ui/utils";
const _excluded = ["aria-describedby", "autoComplete", "autoFocus", "class... |
var crypto = require('crypto');
var keystone = require('../');
var scmp = require('scmp');
var utils = require('keystone-utils');
/**
* Creates a hash of str with Keystone's cookie secret.
* Only hashes the first half of the string.
*/
function hash(str) {
// force type
str = '' + str;
// get the first half
str... |
/**
* @class Ext.panel.Panel
* @extends Ext.panel.AbstractPanel
* <p>Panel is a container that has specific functionality and structural components that make
* it the perfect building block for application-oriented user interfaces.</p>
* <p>Panels are, by virtue of their inheritance from {@link Ext.container.Conta... |
/*
* Duktape ArrayBuffer/view virtual properties don't work in
* Object.defineProperty().
*/
/*@include util-buffer.js@*/
/*---
{
"custom": true
}
---*/
/*===
object 8 [object Uint8Array]
0
TypeError
0
object 8 [object Uint8Array]
===*/
function test() {
var buf = new ArrayBuffer(8);
var u8 = new U... |
/*!
* ui-grid - v4.6.2 - 2018-07-09
* Copyright (c) 2018 ; License: MIT
*/
(function() {
'use strict';
/**
* @ngdoc overview
* @name ui.grid.pagination
*
* @description
*
* # ui.grid.pagination
*
* <div class="alert alert-warning" role="alert"><strong>Alpha</strong> This feature is in ... |
define("dojox/gfx/canvasWithEvents", ["dojo/_base/lang", "dojo/_base/declare", "dojo/has", "dojo/on", "dojo/aspect", "dojo/touch", "dojo/_base/Color", "dojo/dom",
"dojo/dom-geometry", "dojo/_base/window", "./_base","./canvas", "./shape", "./matrix"],
function(lang, declare, has, on, aspect, touch, Color, dom, domGeom... |
var searchData=
[
['reason',['Reason',['../struct_jmcpp_1_1_force_logout_event.html#a2bad86d7b0d12010890195ee6f1ed4bc',1,'Jmcpp::ForceLogoutEvent']]]
];
|
import { Meteor } from 'meteor/meteor';
export const rolesStreamer = new Meteor.Streamer('roles');
|
/**
* Module dependencies.
*/
var EventEmitter = require('events').EventEmitter
, debug = require('debug')('runner')
, Test = require('./test')
, utils = require('./utils')
, noop = function(){};
/**
* Expose `Runner`.
*/
module.exports = Runner;
/**
* Initialize a `Runner` for the given `suite`.
*
... |
'use strict';
module.exports = {
get: function (html_file) {
var return_html = "";
if( html_file ) {
var filePath = "./" + html_file + ".html",
xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", filePath, false);
xmlhttp.send();
return_html = xmlhttp.responseText;
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.