code stringlengths 2 1.05M |
|---|
/**
* Action 类型
*
* */
export const ADD_TODO = 'ADD_TODO';
export const TOGGLE_TODO = 'TOGGLE_TODO';
export const SET_VISIBILITY_FILER = 'SET_VISIBILITY_FILER';
/**
* 其他常量
*/
export const VisibilityFilters = {
SHOW_ALL: 'SHOW_ALL',
SHOW_COMPLETED: 'SHOW_COMPLETED',
SHOW_ACTIVE: 'SHOW_ACTIVE',
};
/*... |
'use strict';
const EOL = require('os').EOL;
const childProcess = require('child_process');
var _ = {};
_.merge = function (r, s) {
for (var i in s) {
r[i] = s[i];
}
return r;
};
_.exec = function(cmd, opts) {
return new Promise(function(resolve, reject) {
childProcess.exec(cmd, _.merge({
maxB... |
module.exports.session = require('./lib/session');
module.exports.header = require('./lib/loader').header;
module.exports.query = require('./lib/loader').query;
module.exports.param = require('./lib/loader').param; |
var sinon = require('sinon');
var _ = require('underscore');
var rewire = require('rewire');
var Backbone = require('backbone');
var superSync = require('backbone-super-sync');
var cacheSync = require('./index.js');
var cache = {};
var expire = {};
var redis = {
set: function(k, v) {
return cache[k] = v;
... |
var crypto = require('crypto');
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var moment = require('moment');
var Session = require('./sessionManager');
var assert = require('assert');
// main model
var Account = new Schema({
name : String,
email : String,
user : S... |
;(function(undefined) {
'use strict';
/**
* Sigma Quadtree Module for edges
* ===============================
*
* Author: Sébastien Heymann,
* from the quad of Guillaume Plique (Yomguithereal)
* Version: 0.2
*/
/**
* Quad Geometric Operations
* --------------------... |
module.exports = require("npm:sigmund@1.0.0/sigmund"); |
steal('jquery', function ($) {
// Overwrites `jQuery.fn.animate` to use CSS 3 animations if possible
var
// The global animation counter
animationNum = 0,
// The stylesheet for our animations
styleSheet = null,
// The animation cache
cache = [],
// Stores the browser properties like transition end eve... |
// 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... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
export { default } from 'ember-bundle-i18n/utils/translate';
|
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine', 'requirejs'],
files: [
'dist/test/test/main.js',
{ pattern: 'dist/test/**/*.js', included: false, watched: true },
{ pattern: 'node_modules/**/*.js', included: false, watched: false },
],
ex... |
// Copyright 2011 The Closure Linter 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 requi... |
import App from './App'
export default App |
import React from 'react';
import { graphql } from 'gatsby';
import Img from 'gatsby-image';
import SocialCards from '../../components/social-cards';
import Contributors from '../../partials/contributors';
import Title from '../../partials/title';
import DirectDownloadButton from '../../components/direct-download-butto... |
angular.module('orderCloud')
.factory('ocMessageSenders', OrderCloudMessageSendersService)
;
function OrderCloudMessageSendersService(OrderCloudSDK) {
var service = {
List: _list,
Assignments: {
MapSeller: _mapSeller,
MapSellerGroup: _mapSellerGroup,
MapBuyer... |
/**
* FeatureCollectionController
*
* @module :: Controller
* @description :: A set of functions called `actions`.
*
* Actions contain code telling Sails how to respond to a certain type of request.
* (i.e. do stuff, then send some JSON, show an HTML page, or redirect to anot... |
module.exports = {
plugins: ['jest'],
extends: ['plugin:jest/recommended', 'jwalker'],
rules: {
'no-console': 0
},
env: {
'jest/globals': true
}
};
|
var searchData=
[
['_7ebutton',['~Button',['../class_symp_1_1_button.html#a447d8e03240d9c19a421c392aff9cd5b',1,'Symp::Button']]],
['_7ecamera',['~Camera',['../class_symp_1_1_camera.html#ada55171c7ddcea56cfb6317a1d1ce753',1,'Symp::Camera']]],
['_7echooseyourlevelmenu',['~ChooseYourLevelMenu',['../class_symp_1_1_ch... |
"use strict";
var winston = require('winston');
var logger = winston.loggers.get('redis');
module.exports = {
load:function(key){
}
} |
import callingOptions from '../..//modules/CallingSettings/callingOptions';
import callingModes from '../../modules/CallingSettings/callingModes';
import callingSettingsMessages from '../..//modules/CallingSettings/callingSettingsMessages';
import loginStatus from '../..//modules/Auth/loginStatus';
import { containsErr... |
require('path');
|
require('../../support');
var expect = require('chai').expect;
var LJSUrl = require('../../../lib/http/ljs-url');
describe('LJSUrl', function() {
var ljsUrl;
describe('properties', function() {
describe('when url represents an item', function() {
beforeEach(function() {
l... |
version https://git-lfs.github.com/spec/v1
oid sha256:bf63d4e72870955854ce8d453cde3a6d7981134bb3f3b3592e52b54f2af253d1
size 561
|
(function(){
window.onerror = null;
window.onerror = function (message, url, linenumber, columnNumber, errorObj) {
var error = {
message: message,
context: [
{key: "line", value: linenumber},
{key: "column", value: columnNumber},
... |
require('./card.css');
require('./__content/card__content.css');
require('./__data/card__data.css');
require('./__image/card__image.css');
require('./__text/card__text.css');
require('./__title/card__title.css');
|
var components = {
"packages": [
{
"name": "html5shiv",
"main": "html5shiv-built.js"
}
],
"baseUrl": "components"
};
if (typeof require !== "undefined" && require.config) {
require.config(components);
} else {
var require = components;
}
if (typeof exports !==... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M16.49 15.5v-1.75L14 16.25l2.49 2.5V17H22v-1.5h-5.51zM19.51 19.75H14v1.5h5.51V23L22 20.5 19.51 18v1.75zM9.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 ... |
var classargcv_1_1io_1_1_seeker =
[
[ "~Seeker", "classargcv_1_1io_1_1_seeker.html#a0a269c19325ba3cec47716fbd4fb034b", null ],
[ "Seek", "classargcv_1_1io_1_1_seeker.html#ad6485a91a43da3348dce5b22db528c8b", null ]
]; |
import React from 'react'
import Icon from 'react-icon-base'
const TiBeaker = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m32.4 28l-4.4-16.3h2c0.9 0 1.7-0.8 1.7-1.7s-0.8-1.7-1.7-1.7h-20c-0.9 0-1.7 0.8-1.7 1.7s0.8 1.7 1.7 1.7h1.9c0 0.3-0.1 0.6-0.2 1.1l-4.1 15.2c-0.4 1.4-0.1 2.7 0.6 3.7 0.8... |
window.onload = function() {
/* ****************************** */
/* Rendu 1 - X */
/* ****************************** */
r1 = new X.renderer2D();
r1.container = 'r1';
r1.orientation = 'X';
//r1.camera.position = [0,500,0];
r1.init();
/* ****************************** */
/* Rendu 2... |
'use strict';
/* jshint -W079 */
var current = require('./services/current');
var history = require('./services/history');
var votes = require('./services/votes');
module.exports = function next(callback) {
callback = callback || function () {};
current.get(function (err, prevTrack) {
if (err) return callback... |
var path = require("path");
module.exports = {
entryJS: {
"izi-vue": "./src/main/index"
},
loaders: [
{
test: /\.js?$/,
loader: "babel",
include: [
path.resolve("src"),
path.resolve("examples")
],
q... |
const presets = [
[
"@babel/env"
]
];
module.exports = {
presets
};
|
var healthcheck = require('../fixtures/ping.js')
exports.ping = function (req, res) {
res.send(healthcheck.ping)
}
|
const type = {
base: 'HelveticaNeue',
bold: 'HelveticaNeue-Bold',
emphasis: 'HelveticaNeue-Italic'
};
const size = {
h1: 38,
h2: 34,
h3: 30,
h4: 26,
h5: 20,
h6: 19,
input: 18,
regular: 17,
medium: 14,
small: 12,
tiny: 8.5
};
const style = {
h1: {
fontFamily: type.base,
fontSize: ... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2h-3zm-3 4V8h-3V5H3v16h16V11h-3zM5 19l3-4 2 3 3-4 4 5H5z" /></g></React.Fragment>
, 'AddP... |
phonon.ajax = (function () {
/**
* Creates the XMLHttpRequest Object
* @param {boolean} useCrossDomain
* @return {XMLHttpRequest | Null}
* @private
*/
var createXhr = function (useCrossDomain) {
var xhr = null;
try {
xhr = new XMLHttpRequest();
if ('withCredentials' in xhr && useCrossDomain) {
xh... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'mathjax', 'ku', {
title: 'بیرکاری لە TeX',
button: 'بیرکاری',
dialogInput: 'TeXەکەت لێرە بنووسە',
docUrl: 'http://en.wikibooks.org/wiki/La... |
// d - Day of the month, 2 digits with leading zeros: 01 to 31
// j - Day of the month without leading zeros: 1 to 31
// m - Numeric representation of a month, with leading zeros: 01 through 12
// n - Numeric representation of a month, without leading zeros: 1 through 12
// F - full month string, given as array
// Y... |
/**
* Grunt task options for:
* json2js
*/
module.exports = {
test: {
options: {
// // strip this from the file path
stripPrefix: './.tmp',
// // prepend this to the
// prependPrefix: 'served/'
},
files: [{
src: ['<%=paths.tmp.a... |
/* eslint-env jest */
process.env.MAILGUN_API_KEY = 'FOO_MAILGUN_API_KEY'
process.env.MAILGUN_DOMAIN = 'BAR_MAILGUN_DOMAIN'
process.env.BASE_URL = 'http://127.0.0.1:8080'
process.env.AUTH_LOCAL_URI = 'http://localhost:4000/auth/local'
process.env.AUTH_RESET_URI = 'http://localhost:4000/auth/reset'
process.env.AUTH_N... |
'use strict';
const assert = require('./../../assert');
const common = require('./../../common');
let battle;
describe('Pressure', function () {
afterEach(function () {
battle.destroy();
});
it('should deduct 1 extra PP from opposing Pokemon moves targetting the user', function () {
battle = common.createBat... |
var gulp = require('gulp');
var minify = require('gulp-minify');
var minifyCSS = require('gulp-minify-css');
var jshint = require('gulp-jshint');
var rename = require('gulp-rename');
var concat = require('gulp-concat');
var wrap = require('gulp-wrap');
var header = require('gulp-header');
var bump = require('gulp-bump'... |
import {
pi,
tumin,
deg2rad,
} from './constants';
import {
jday,
days2mdhms,
} from './ext';
import sgp4init from './propagation/sgp4init';
/* -----------------------------------------------------------------------------
*
* function twoline2rv
*
* this function converts the... |
import Default from "./default";
export {
Default
}
|
#!/usr/bin/env node
'use strict';
var fs = require('fs');
var exec = require('child_process').exec;
var path = require('path');
var isWin = !!process.platform.match(/^win/);
var pathTo = function(p) {
return path.resolve(__dirname + '/../' + p);
};
var validateCommitPath = pathTo('scripts/validate-commit-msg.js')... |
import {ValidationGroupBuilder} from '../validation/validation-group-builder';
import {ValidationResult} from '../validation/validation-result';
import {ValidationLocale} from '../validation/validation-locale';
/**
* Encapsulates validation rules and their current validation state for a given subject
* @class Valid... |
/**
* Copyright 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails oncall+relay
* @format
*/
'use strict';
jest
.mock('../../query-config/RelayQueryConfig')
.mock('../../store/RelayEnvironme... |
{
"name": "fix-cjk-linebreak.js",
"url": "https://github.com/Haixing-Hu/fix-cjk-linebreak.js.git"
}
|
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M17 20v-9h-2V4h7l-2 5h2l-5 11zm-2-7v7H2v-7h13zm-8.75 2.75h-1.5v1.5h1.5v-1.5zM13 4v7H2V4h11zM6.25 6.75h-1.5v1.5h1.5v-1.5z"
}), 'DynamicFormSharp'); |
test('initialize',function() {
Package()
.use('tupai.util.LinkedList')
.run(function(cp) {
var list = new cp.LinkedList();
ok(list, 'check initialize');
});
});
test('basic functions',function() {
Package()
.use('tupai.util.LinkedList')
.run(function(cp) {
var li... |
'use strict';
require('../common');
const assert = require('assert');
const b = Buffer.from('abcdef');
const buf_a = Buffer.from('a');
const buf_bc = Buffer.from('bc');
const buf_f = Buffer.from('f');
const buf_z = Buffer.from('z');
const buf_empty = Buffer.from('');
const s = 'abcdef';
assert.strictEqual(b.indexOf(... |
const completedProfile = require('../../../../../../../../test/unit/data/companies/investments/large-capital-profile-completed.json')
const companyMock = require('../../../../../../../../test/unit/data/companies/minimal-company.json')
const config = require('../../../../../../../config')
const buildMiddlewareParameter... |
var warning = require('debug')('geoip:test:city6:warning');
var semver = require('semver');
// memwatch only works with node 0.6.x ~ 0.10.x
if (semver.gte(process.version, '0.6.0') && semver.lt(process.version, '0.11.0')) {
require('memwatch').on('leak', function(info) {
warning('Memory leak detected: %j', ... |
/**
* Japanese translation for bootstrap-datetimepicker
* Norio Suzuki <https://github.com/suzuki/>
*/
;(function($){
$.fn.datetimepicker.dates['ja'] = {
days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"],
daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"],
daysMin: ["日", "月", "火", "水", "木", "金", "土", "日... |
var resolve = require('path').resolve
exports.fixp = function (filename) {
return resolve(__dirname, '../fixtures', filename)
}
|
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" /></React.Fragment>
, 'ChevronLeftTwoTone');
|
$(function () {
// Prepare demo data
var data = [
{
"hc-key": "fr-gf-gf",
"value": 0
}
];
// Initiate the chart
$('#container').highcharts('Map', {
title : {
text : 'Highmaps basic demo'
},
subtitle : {
text ... |
import ActionTypes from './utils/actionTypes'
import warning from './utils/warning'
import isPlainObject from './utils/isPlainObject'
function getUndefinedStateErrorMessage(key, action) {
const actionType = action && action.type
const actionDescription =
(actionType && `action "${String(actionType)}"`) || 'an ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _hash = require('../vendor/glamor/hash');
var _hash2 = _interopRequireDefault(_hash);
var _css = require('./css');
var _css2 = _interopRequireDefault(_css);
var _GlobalStyle = require('../models/GlobalStyle');
var _GlobalStyle2 = ... |
import * as Users from './connectors/users'
import * as Posts from './connectors/posts'
export const holders = {}
export default function (io) {
io.on('connection', socket => {
const user = socket.request.user
console.log('new user socket', user)
const holder = {
socket,
selectedPostId: nul... |
const CopyWebpackPlugin = require('copy-webpack-plugin')
const path = require('path')
const webpack = require('webpack')
module.exports = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname, 'build'),
publicPath: '/',
filename: 'bundle.js'
},
module: {
loaders: [{
test: /\.js... |
/**
* A11y Helpers
* -----------------------------------------------------------------------------
* A collection of useful functions that help make your theme more accessible
* to users with visual impairments.
*
*
* @namespace a11y
*/
slate.a11y = {
/**
* For use when focus shifts to a container rather... |
var validUrl = require('valid-url');
var url = require('url');
var tld = require('tldjs');
/**
* Helper object for dealing with urls
* @constructor
*/
function UrlTools() {}
UrlTools.prototype = {
constructor: UrlTools,
/**
* Gets a complete url from a href, by testing to see if its valid
*
... |
/*!
* Bootstrap-select v1.12.4 (https://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2018 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
!function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"... |
/* =========================================================
* bootstrap-modal.js v2.2.2
* http://twitter.github.com/bootstrap/javascript.html#modals
* =========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");... |
/**
* @author arodic / https://github.com/arodic
*/
( function () {
'use strict';
var GizmoMaterial = function ( parameters ) {
THREE.MeshBasicMaterial.call( this );
this.depthTest = false;
this.depthWrite = false;
this.side = THREE.FrontSide;
this.transparent = true;
this.setValues( parameters );... |
spendb.controller('AccountResetCtrl', ['$scope', '$modalInstance', '$window', '$location', '$http', 'config',
function($scope, $modalInstance, $window, $location, $http, config) {
$scope.data = {};
$scope.res = {};
$scope.sent = false;
$scope.close = function() {
$modalInstance.dismiss('ok');
};
$... |
var AndOrGraphSearchProblemStatement = function(){
this.INITIAL_STATE = 0; // 0 to 7
this.FINAL_STATE = 7;
this.ACTIONS = function() {
SUCK = 0;
LEFT = 1;
RIGHT = 2;
};
this.DIRT_PROBABILITY = 0.33;
this.goal_test = function(state){
return state == this.FINAL_STATE;
};
// See figure 4.9 page 134
this... |
'use strict';
var fs = require('fs');
var path = require('path');
var util = require('util');
var expect = require('expect');
var miss = require('mississippi');
var cloneable = require('cloneable-readable');
var saferBuffer = require('safer-buffer');
var File = require('../');
var pipe = miss.pipe;
var from = miss.f... |
var dojox; //globals
var df = dojox.lang.functional;
describe("About Higher Order Functions", function () {
it("should use filter to return array items that meet a criteria", function () {
var numbers = [1,2,3];
var odd = df.filter(numbers, "x % 2 !== 0");
expect(odd).toEqual(__);
expect(od... |
/*
-----------------------------------------------------------------------------
OMELET PARSER
Transforms a list of tokens (generated by lexer) into an AST.
-----------------------------------------------------------------------------
*/
var errors = require('./errors.js')
var __ = require('./util.js')
function Pars... |
'use strict';
module.exports = envTransports;
function envTransports(winston) {
return [
new winston.transports.File({
name: 'info-file',
level: 'info',
filename: './logs/all-logs.log',
//handleExceptions: true,
json: true,
//eol: 'rn', // for Windows, or `eol: ‘n’,` for *NIX... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8zm-1.31 8.9.25-2.17h2.39v.71h-1.7l-.11.92c.03-.02.07-.03... |
export default Ember.Component.extend({
tagName: 'audio',
didInsertElement: function () {
var audioComponent = this;
this.$().prop('controls', true);
this.$().on('loadedmetadata', function () {
audioComponent.sendAction('load', this);
});
}
});
|
Meteor.startup(function() {
if (Meteor.isClient) {
return;
}
let shouldSeed = !PlaceFeatureTypes.find().count() || true;
let seedEntries = [
{
title: 'Bucătărie',
translations: {
title: {
ru: 'Кухня',
en: 'Cuisine'
}
}
},
{
title: 'Tip... |
/**
* A standalone AJAX library using JavaScript promises.
*
* @namespace aias
*/
(function () {
'use strict';
var Promise = (typeof module !== 'undefined' && module.exports) ? require('promise') : context.Promise,
aias = {};
/**
* Attempts to parse the response as JSON otherwise returns it untouched.
* ... |
import React from 'react';
import { Route, IndexRoute } from 'react-router';
import App from 'pages/App';
import Home from 'pages/Home';
import About from 'pages/About';
import NotFound from 'pages/NotFound';
const routes = (
<Route path="/" component={App}>
<IndexRoute component={Home} />
<Route path="/abo... |
import { getApp, _getProvider, _registerComponent, registerVersion, SDK_VERSION } from 'https://www.gstatic.com/firebasejs/9.6.8/firebase-app.js';
/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... |
'use strict';
const searchUrl = "/search/?currentAction=multiselect&type=File&track_and_facet_info.track_title%21=No+value&higlass_uid%21=No+value&genome_assembly=GRCm38";
let selectedCheckFileNumberCount = 0;
let allResultTotalCount = 0;
function checkFileCheckbox($checkBox) {
selectedCheckFileNumberCount += 1;... |
import '../app/cors/server';
import '../app/sms';
import '../app/2fa/server';
import '../app/analytics/server';
import '../app/api/server';
import '../app/apple/server';
import '../app/assets/server';
import '../app/authorization';
import '../app/autolinker/server';
import '../app/autotranslate/server';
import '../app/... |
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
options: {
},
simplemocha: {
all: {
options:{
timeout:5000
},
src: ['test/**/*.js']
},
},
jshint:{
all:['*.js','test/**/*.js']
}
});
grunt.loadNpmTask... |
$(function(){
$(".categoryMain").mouseover(function(){
if($(".menus").hasClass("hidden")){
$(".menus").removeClass("hidden");
}
$(".categoryMenu"+$(this).data("menu"))
.removeClass("hidden")
.siblings().addClass("hidden");
if(document.documentElement.clientWidth<768){
$(".as-carousel").css("margin... |
import chalk from "chalk";
import figures from "figures";
import checkWhen from "../utils/checkWhen";
import processText from "../utils/processText";
/**
* Notify the user of an error (if any), otherwise log out
* the success message for the command.
*
* @param {Error} err
* @param {Object} ctx
*/
export defau... |
'use strict';
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var styleLintPlugin = require('stylelint-webpack-plugin');
require('es6-promise').polyfill();
module.exports = {
entry: './src/main.js',
output: {
path: __dirname,
... |
opera.isReady(function() {
// Rewrite in-line event handlers (eg. <input ... onclick=""> for a sub-set of common standard events)
document.addEventListener('DOMContentLoaded', function(e) {
var selectors = ['load', 'beforeunload', 'unload', 'click', 'dblclick', 'mouseover', 'mousemove',
... |
(function (a) {
a.uniform = {
options: {
selectClass: "selector",
radioClass: "radio",
checkboxClass: "checker",
fileClass: "uploader",
filenameClass: "filename",
fileBtnClass: "action",
fileDefaultText: "No file selected",
... |
var tests = [];
for (var file in window.__karma__.files) {
if (window.__karma__.files.hasOwnProperty(file)) {
// Removed "Spec" naming from files
if (/Spec\.js$/.test(file)) {
tests.push(file);
}
}
}
requirejs.config({
// Karma serves files from '/base'
baseUrl: '/ba... |
/*
* jQuery File Upload Processing Plugin
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2012, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
/* jshint nomen:false */
/* global define, require, window */
;(function (factory) ... |
(function($, Vel) {
'use strict';
let _defaults = {
displayLength: Infinity,
inDuration: 300,
outDuration: 375,
className: undefined,
completeCallback: undefined,
activationPercent: 0.8
};
class Toast {
constructor(message, displayLength, className, completeCallback) {
if (!m... |
module.exports={A:{A:{"1":"A","2":"J C G E B TB"},B:{"1":"D X g H L"},C:{"1":"1 2 3 RB F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e f K h i j k l m n o p q v w x y z s r PB OB"},D:{"129":"1 2 7 9 F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e f K h i j k l m n o p q v w x y z s r DB ... |
var concat = require('gulp-concat'),
uglify = require('gulp-uglify'),
jshint = require('gulp-jshint'),
gulp = require('gulp'),
paths = require('./paths');
module.exports = function() {
var hintBackend = function() {
gulp.src(paths.build.backendjs)
.pipe(jshint())
.pipe(jshint.repo... |
'use strict';
var nonSecure = require('nanoid/non-secure');
var Debug = require('./Debug-bbad1094.js');
var redux = require('redux');
var turnOrder = require('./turn-order-9099d084.js');
var reducer = require('./reducer-4d6573e0.js');
var initialize = require('./initialize-c5af9678.js');
var transport = require('./tra... |
define("ace/snippets/nix",["require","exports","module"],function(e,o,t){"use strict";o.snippetText=void 0,o.scope="nix"}),window.require(["ace/snippets/nix"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}); |
// Copyright (c) 2015 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... |
/*!
* $script.js Async loader & dependency manager
* https://github.com/ded/script.js
* (c) Dustin Diaz 2013
* License: MIT
*/
(function (name, context, definition) {
if (typeof module != 'undefined' && module.exports) module.exports = definition()
else if (typeof define == 'function' && define.amd) defin... |
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Node module: strong-globalize
// This file is licensed under the Artistic License 2.0.
// License text available at https://opensource.org/licenses/Artistic-2.0
var SG = require('strong-globalize');
SG.SetRootDir(__dirname, {autonomousMsgLoading: 'all'});
SG.Se... |
'use strict';
const common = require('../../common');
const assert = require('assert');
// testing api calls for string
const test_string = require(`./build/${common.buildType}/test_string`);
const empty = '';
assert.strictEqual(test_string.TestLatin1(empty), empty);
assert.strictEqual(test_string.TestUtf8(empty), em... |
'use babel'
import helpers from '../lib/helpers'
describe('line ending selector', () => {
let lineEndingTile, lineEndingModal, lineEndingSelector
beforeEach(() => {
waitsForPromise(() => {
return atom.packages.activatePackage('status-bar')
})
waitsForPromise(() => {
return atom.packages.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.