text stringlengths 2 1.05M |
|---|
/**
* Created by Ali on 8/13/2016.
*/
module.exports = {
pnEndPointPath: "private_networks",
listPrivateNetworks: function (callback) {
req.is_get([this.pnEndPointPath], callback)
},
listPrivateNetworksWithOptions: function (options, callback) {
var path = this.pnEndPointPath;
... |
var searchData=
[
['mybase',['MyBase',['../structpvr_1_1async_1_1_texture_load_future__.html#ab87cc198bd4f73a6ffe95a5409a98c9c',1,'pvr::async::TextureLoadFuture_']]]
];
|
// Require Data
const { queue } = require("../muzateki.js");
// Run's Stop Command
exports.run = async(client, msg, args) => {
var serverQueue = queue.get(msg.guild.id);
if (!msg.member.voiceChannel) return msg.channel.send('You are not in a voice channel!');
if (!serverQueue) return msg.channel.send('The... |
const {promisify} = require('util');
const fs = require('fs');
const path = require('path');
const test = require('ava');
const getStream = require('get-stream');
const isPng = require('is-png');
const imageminPngquant = require('.');
const readFile = promisify(fs.readFile);
test('optimize a PNG', async t => {
const... |
import React from 'react'
import Layout from '../components/layout';
import styled from 'styled-components';
const FeaturedImage = styled.img`
max-width: 300px;
margin: 16px 0;
`
export default ({pageContext}) => (
<Layout>
{console.log(pageContext)}
<h1>
{pageContext.title}
</h1>
<strong>
... |
import React, { Component } from 'react';
class Footer extends Component {
render() {
if (this.props.data) {
var networks = this.props.data.social.map(function (network) {
return <li key={network.name}><a href={network.url}><i className={network.className}></i></a></li>
})
}
return ... |
import React from 'react'
import { Row, Col } from 'react-awesome-styled-grid'
import { Tabs, useTabState, usePanelState } from './Tabs'
import { motion } from 'framer-motion'
import MarkdownContent from './MarkdownContent'
import * as styled from './styled/Accordion'
const variants = {
hidden: { height: 0 },
visi... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = NativeInput;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _dates = require("../shared/dates");
var _propTypes2 = require("../shared/propT... |
/**
* Copyright (c) 2017- Kibae Shin (nonunnet@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var pg = require('pg');... |
load("201224b0d1c296b45befd2285e95dd42.js");
var x = {get prop() { return 2; }, set prop(v) {}};
var y = {__proto__: x, prop: 1};
assertEq(y.__lookupGetter__("prop"), undefined);
assertEq(y.__lookupSetter__("prop"), undefined);
|
module.exports = {
automock: false,
moduleNameMapper: {
'\\.(css|less|sass|scss)$': 'identity-obj-proxy',
},
preset: 'ts-jest/presets/js-with-babel',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
testPathIgnorePatterns: ['/lib/', '/node_modules/'],
testRegex: '/__tests__/.*.spec.ts... |
(function(){
"use strict";
//VIEWPORT DETECTION:
$(document).ready(function() {
/*-----------------------------------------------------
Shuffle Grid
-------------------------------------------------------*/
/* initialize shuffle plugin */
var $grid = $('#grid');
$grid.shuffle({
itemSelector: '.port-t... |
import React from 'react';
import PropTypes from 'prop-types';
export default class AddressInput extends React.Component {
constructor(props) {
super(props);
this.state = {
value: this.props.value.type ? this.props.value.value : this.props.value,
};
this.handleChangeField = this.handleChangeF... |
const plainHighlighter = require("./src/syntaxHighlightPlain");
const prismjsHighlighter = require("./src/syntaxHighlightPrism");
module.exports = function(eleventyConfig) {
// compatibility with existing {% highlight js %} and others
eleventyConfig.addLiquidTag("highlight", prismjsHighlighter);
eleventyConfig.... |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/license
*/
CKEDITOR.lang['id']={"editor":"Rich Text Editor","editorPanel":"Panel Rich Text Editor","common":{"editorHelp":"Tekan ALT 0 untuk bantuan.","browseServer":"Jelajah Server","ur... |
/**
* Assumes settings from default Ember blueprints are included.
* @see https://github.com/ember-cli/ember-new-output/blob/master/.eslintrc.js
*/
module.exports = {
plugins: ['ember', 'hbs'],
extends: [
// https://github.com/platinumazure/eslint-plugin-qunit
'plugin:qunit/recommended',
],
rules: {
... |
/**
* created July 2019 as an MIT License modification
* of Peter Dematté's 2015 Scientific Calculator
*
* I've converted the ES5 to ES6 and changed
* functions to reflect more modern Javascript.
*
* @summary Javascript Scientific Calculator
* @author Derek Reidy <mail@derekreidy.com>
* Created at ... |
let utils = require('./utils');
let config = require('./config');
// 节点在旧节点树中的索引(位置)
let keyIndex = -1;
// diff 方法获取的,记录差异的对象
var allPatches;
/**
* 开始打补丁,从根节点开始,按照差异描述对象,按索引处理
* @param {DOM Element} root 根节点
* @param {Object} patches 差异描述对象
*/
function patch(root, patches) {
allPatches = patches;
walk(roo... |
const { Schema } = require('./config')
const ObjectId = Schema.Types.ObjectId
const CommentSchema = new Schema({
//头像 用户名 文章 内容
content:String,
//关联用户表
from: {
type: ObjectId,
ref: 'users'
},
//关联到article 表
article: {
type: ObjectId,
ref: 'articles'
}
},{
versionKey: false,
timestam... |
/**
* Route for uploading video files
*/
'use strict'
const router = require('express').Router()
const sanitize = require('mongo-sanitize')
const VideoInfo = require('../../models/VideoInfo')
const VideoAmount = require('../../models/VideoAmount')
const fsDAO = require('../../models/fsDAO')
const path = require('pa... |
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||... |
import React from 'react';
import { StyleSheet } from 'react-native';
import { View, Item, Input, Label, Text } from 'native-base';
import { colors } from '../../theme';
const styles = StyleSheet.create({
errorText: {
color: colors.tertiary,
fontSize: 12,
paddingLeft: 10,
paddingRight: 10,
margin... |
/* eslint-disable no-undef */
module.exports = (client, member) => {
const ordinal = require('ordinal');
const { MessageEmbed } = require('discord.js');
const Colour = require('../../data/colours.json');
const moment = require('moment');
const Server = client.guilds.cache.get(process.env.GUILD);
const MemberCou... |
const logger = require('@blackbaud/skyux-logger');
const mock = require('mock-require');
describe('plugin', () => {
const specPattern = 'src/app/**/*.pact-spec.ts';
const testPath = '@skyux-sdk/builder/config/karma/test.karma.conf';
const watchPath = '@skyux-sdk/builder/config/karma/watch.karma.conf';
let ge... |
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The namespace used to keep track of keyboard shortcuts and the
* key codes used to execute those shortcuts.
* @author aschmiedt@google.com (Abby Schmiedt)
*/
'use strict';
goog.provide('Blockly.ShortcutRegi... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import registerServiceWorker from './registerServiceWorker';
import './index.css';
import App from './pages/app/App';
import store from './common/stores';
ReactDOM.render(
<Provider store={store}>
<App />
... |
/**
* dat-gui JavaScript Controller Library
* http://code.google.com/p/dat-gui
*
* Copyright 2011 Data Arts Team, Google Creative Lab
*
* 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
... |
/*!
wow.export (https://github.com/Kruithne/wow.export)
Authors: Kruithne <kruithne@gmail.com>
License: MIT
*/
const Texture = require('../Texture');
const Skin = require('../Skin');
const MAGIC_MD21 = 0x3132444D;
const MAGIC_MD20 = 0x3032444D;
const CHUNK_SFID = 0x44494653;
const CHUNK_TXID = 0x444... |
"use strict";
module.exports = {
isNotUndefined: function (a) {
return typeof a !== "undefined";
},
randomString: function (len, charSet) {
charSet = charSet || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
var randomString = '';
for (var i = 0; i < len; ... |
var TaskService = (function () {
function TaskService() {
;
}
TaskService.getInstance = function () {
if (TaskService.taskService != null) {
return TaskService.taskService;
}
else {
TaskService.taskService = new TaskService();
TaskService.t... |
const _ = require('lodash'),
mergeAllOf = require('json-schema-merge-allof'),
{ typesMap } = require('./common/schemaUtilsCommon'),
PARAMETER_SOURCE = {
REQUEST: 'REQUEST',
RESPONSE: 'RESPONSE'
},
SCHEMA_TYPES = {
array: 'array',
boolean: 'boolean',
integer: 'integer',
number: 'number'... |
import React from "react";
import Navbar from "../Components/Basic-Component/Navbar";
import Mens_product from "../Components/Basic-Component/Mens_product";
import Footer from "../Components/Basic-Component/Footer";
const Men = () => {
return (
<>
<Navbar />
<Mens_product />
<Footer />
</>
... |
// 我先来,模拟图片加载过程 run in browser console
function loadImg(url) {
return new Promise((resolve, reject) => {
const img = new Image(100, 200);
img.onload = function () {
console.log(url, '加载完成');
resolve(img);
};
img.onerror = function () {
reject(new Error('Error at:' + url));
};
... |
import React from 'react';
import createReactClass from 'create-react-class';
import Fluxxor from 'fluxxor';
import Multiselect from 'react-widgets/lib/Multiselect';
const FluxMixin = Fluxxor.FluxMixin(React),
StoreWatchMixin = Fluxxor.StoreWatchMixin("DataStore");
export const TermFilter = createReactClass({
... |
import { publishPagination } from 'meteor/kurounin:pagination';
publishPagination(MyCollection, {
filters: {is_enabled: true},
transform_options: function (filters, options) {
options.fields = _.extend(options.fields, {score: { $meta: "textScore" }});
return options;
}
}); |
const { Client, Intents, MessageEmbed } = require('discord.js');
const { name, homepage } = require('../../package.json')
const voiceDiscord = require(`@discordjs/voice`)
const client = new Client({
intents: [
Intents.FLAGS.GUILDS,
Intents.FLAGS.GUILD_MESSAGES,
Intents.FLAGS.GUILD_MEMBERS,
... |
export const FETCHED_EVENTS = 'FETCHED_EVENTS';
export const SELECTED_CURRENT_EVENT = 'SELECTED_CURRENT_EVENT';
export const ADD_EVENT_TO_LIST = 'ADD_EVENT_TO_LIST'; |
import React from 'react'
export default () => <marquee>Hello world!!</marquee>
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
/... |
class Movie {
constructor(movieName, ticketPrice) {
this.movieName = movieName;
this.ticketPrice = Number(ticketPrice);
this.screenings = [];
this._soldTickets = 0;
this._totalPriceTickets = 0;
}
newScreening(date, hall, description) {
if (this.screenings.some... |
import React from 'react';
import iconSvg from '../icons/normalized/comment-outline.svg';
function IconRender(props) {
const paths = /^\<svg [^>]+\>(.*)<\/svg>/ig.exec(iconSvg)[1]
return (
<svg
{...props}
xmlns="http://www.w3.org/2000/svg"
baseProfile="full"
viewBox="0 0 24 24"
cl... |
/**
* @mixin
* Binds a timeout, causing the message
* to be removed after a given duration
*
* @see MessageMixin
*/
var MessageTimeoutMixin = {
/**
* Automatically (and `Conditionally`) starts the timer
* @see this._start
*/
componentDidMount: function() {
var duration = this.props.attributes.dur... |
/*
YUI 3.6.0 (build 5521)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("yui-throttle",function(a){
/*! Based on work by Simon Willison: http://gist.github.com/292562 */
a.throttle=function(c,b){b=(b)?b:(a.config.throttleTime||150);if(b===-1){r... |
import React from 'react'
const ColumnSummary = React.lazy(() => import('./columnSummary'))
const Column = React.lazy(() => import('./column'))
const Career = React.lazy(() => import('./career'))
const Recruitment = React.lazy(() => import('./recruitment'))
const AddRecruitment = React.lazy(() => import('./recruitmen... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var Actors = [{
id: 1,
name: "Tim Robbins",
dob: "10/16/1958",
num_credits: 73,
image: "https://images-na.ssl-images-amazon.com/images/M/MV5BMTI1OTYxNzAxOF5BMl5BanBnXkFtZTYwNTE5ODI4._V1_.jpg"
}, {
id: 2,
name: "Morgan Freeman"... |
/*!
* dyCalendar is a JavaScript library for creating Calendar.
*
* Author: Yusuf Shakeel
* https://github.com/yusufshakeel
*
* GitHub Link: https://github.com/yusufshakeel/dyCalendarJS
*
* MIT license
* Copyright (c) 2016 Yusuf Shakeel
*
* Date: 2014-08-17 sunday
*/
/*! dyCalendarJS | (c) 2016 Yusuf Shakee... |
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
const AppStack = createStackNavigator();
import Incidents from './pages/incidents';
import Detail from './pages/detail';
export default function Routes() {
re... |
window.d3 = undefined;
import SummaryOutput from '_OfferSummary';
import StackedBar from '/_StackedBar';
import SliderPanel from './_SliderPanel';
import AnalyticPanel from './_Analytic';
|
// This file is derived from the Cesium code base under Apache 2 license
// See LICENSE.md and https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md
import {GL} from '@loaders.gl/math'; // math.gl/geometry;
import Tile3DFeatureTable from '../classes/tile-3d-feature-table';
// import Tile3DBatchTable f... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Assume F is a Function object. When the [[HasInstance]] method of F is called with value V, the following steps are taken: i) If V is not an object, return false
*
* @path ch15/1... |
webpackJsonp([10],{DT89:function(t,e,a){var n=a("tqyE");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("0f4de138",n,!0)},IEOF:function(t,e,a){var n=a("nt/b");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("f6dc08fc",n,!0)},fA0Y:function(t,e,a){"use strict";O... |
/**
* @fileoverview Contains utils for manipulating server data.
*/
/**
* Contains all Student fields.
*/
const STUDENT_FIELDS = [
'id',
'firstName',
'lastName',
'birthDate',
'hobbies',
'photo'
];
/**
* Converts the Student persisted into the expected GraphQL type.
*
* @param {Student} entity The S... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MacroStore = void 0;
const exceptions_1 = require("../exceptions");
class MacroStore {
constructor() {
this.macrosValues = {};
this.macroFormatters = [];
}
addMacroValue(name, value) {
}
escapeRegExp... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
//>>built
define("dojo/_base/declare dojo/_base/Deferred dojo/_base/lang dojo/dom-construct dojo/dom-class dojo/... |
export default /* glsl */`
#ifdef USE_ENVMAP
#ifdef ENV_WORLDPOS
vec3 cameraToFrag;
if ( isOrthographic ) {
cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );
} else {
cameraToFrag = normalize( vWorldPosition - cameraPosition );
}
// Tran... |
/**
* Copyright 2020 Google Inc. 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 required by applic... |
import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import createSagaMiddleware from 'redux-saga';
import rootReducer from './root-reducer';
import rootSaga from './root-saga';
const sagaMiddleware = createSagaMiddleware();
const promiseMiddleware = store => next => action => {
... |
import _ from 'lodash';
import { createScopedStore } from '@stackstorm/module-store';
import flexTableReducer from '@stackstorm/module-flex-table/flex-table.reducer';
const historyReducer = (state = {}, input) => {
let {
filter = undefined,
filters = undefined,
executions = [],
childExecutions = {},... |
/*
* simpleWeather modified to use the darksky API
* Author: Charles Lenk
*/
/*! simpleWeather v3.1.0 - http://simpleweatherjs.com */
(function($) {
'use strict';
function getAltTemp(unit, temp) {
if(unit === 'f') {
return Math.round((5.0/9.0)*(temp-32.0));
} else {
r... |
import BulkOperations from "./bulk_operations";
frappe.provide('frappe.views');
frappe.views.ListView = class ListView extends frappe.views.BaseList {
static load_last_view() {
const route = frappe.get_route();
const doctype = route[1];
if (route.length === 2) {
// List/{doctype} => List/{doctype}/{last_vi... |
/* */
"format cjs";
/**
* @license
* Copyright 2016 Google Inc. 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... |
const { Event } = require('klasa');
const { MessageEmbed } = require('discord.js');
module.exports = class extends Event {
constructor(...args) {
super(...args, { event: 'guildBoostRemove' });
}
async run(member) {
if (member.guild.settings.get('channels.log') && member.guild.settings.get('logs.events.guildBo... |
app.directive("contactForm", function() {
return {
restrict : "EACM",
templateUrl : "./src/script/module/view/contactForm.html"
};
}); |
require('should')
const CONFIG = require('config')
const setLabel = require('../../lib/label/set')(CONFIG)
const { randomString, sandboxEntity } = require('../../lib/tests_utils')
const language = 'fr'
describe('label set', function () {
this.timeout(20 * 1000)
it('should be a function', done => {
setLabel.sh... |
import styled from 'styled-components';
const Paragraph = styled.p`
display: flex;
justify-content: flex-start;
align-items: center;
margin: 0 0 24px 0;
`;
export default Paragraph; |
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
})... |
/* eslint-env mocha */
/* eslint-env browser */
import assert from 'assert';
import { TextureAtlas } from '.';
import TextureAtlasJsonDef from './TextureAtlasJsonDef';
describe('TextureAtlasJsonDef', () => {
describe('new TextureAtlasJsonDef(jsonDef)', () => {
let jsonDef;
before((done) => {
window.f... |
import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray';
import React from 'react';
import PropTypes from 'prop-types';
import TableFooterRow from './TableFooterRow';
function appendExpandIconColumn(columns) {
var expandIconCol = {
key: 'expand-icon-placeholder',
render: function render() {
... |
// @flow
import { darken, lighten } from 'polished';
const colors = {
almostBlack: '#111319',
lightBlack: '#2F3336',
almostWhite: '#E6E6E6',
slate: '#9BA6B2',
slateLight: '#DAE1E9',
slateDark: '#4E5C6E',
smoke: '#F4F7FA',
smokeLight: '#F9FBFC',
smokeDark: '#E8EBED',
white: '#FFF',
white10: 'rg... |
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return arg;
}
function Controller() {
require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments));
this.__controllerPath = "phone/peekAndPop... |
/**
* @module ui/montage-studio-loader.reel
*/
var Loader = require("../loader.reel").Loader;
// Constants
var OFF_CLASS_NAME = "off",
ANI_CLASS_NAME = "ani",
TRIANGLES_CLASS_NAME = "tri",
LOADER_STATE_INIT = 0,
LOADER_STATE_ANIMATING = 1,
LOADER_STATE_STOPPED = 2;
/**
* @class MontageStudioLo... |
/* global __filename */
import { getLogger } from '@jitsi/logger';
import Listenable from '../util/Listenable';
import * as JingleSessionState from './JingleSessionState';
const logger = getLogger(__filename);
/**
* JingleSession provides an API to manage a single Jingle session. We will
* have different implemen... |
import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'
import vant from '@/vant'
import wave from '@/directive/wave'
import 'swiper/swiper.min.css'
import '@/assets/styles/style.scss'
store.dispatch('user/loginStatus')
const app = createApp(App)
.use(rout... |
console.log("From app.js"); |
'use strict';
//Global variables
var photoOne = document.getElementById('photo1');
var photoTwo = document.getElementById('photo2');
var photoThree = document.getElementById('photo3');
var photoBin = document.getElementById('photoBin');
var marketBlurb = document.getElementById('verbage');
var resultsSection =... |
// DO NOT EDIT! This test has been generated by tools/gentest.py.
// OffscreenCanvas test in a worker:2d.fillRect.nonfinite
// Description:fillRect() with Infinity/NaN is ignored
// Note:
importScripts("/resources/testharness.js");
importScripts("/common/canvas-tests.js");
var t = async_test("fillRect() with Infinity... |
/*
* Jexl
* Copyright 2020 Tom Shawver
*/
const numericRegex = /^-?(?:(?:[0-9]*\.[0-9]+)|[0-9]+)$/
const identRegex = /^[a-zA-Z_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][a-zA-Z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*$/
const escEscRegex = /\\\\/
const whitespaceRegex = /^\s*$/
const preOpRegexElems = [
// S... |
define(
(require, exports) => {
const buildRoutes = require('./routes');
return {
title: 'Profiles',
buildRoutes,
navUrl: () => '#/profiles',
icon: 'user',
statusCss: () => ''
};
}
); |
UE.plugins["wordcount"]=function(){var d=this;d.setOpt({wordCount:true,maximumWords:10000,wordCountMsg:d.options.wordCountMsg||d.getLang("wordCountMsg"),wordOverFlowMsg:d.options.wordOverFlowMsg||d.getLang("wordOverFlowMsg")});var b=d.options,a=b.maximumWords,e=b.wordCountMsg,c=b.wordOverFlowMsg;if(!b.wordCount){return... |
import { combine as c } from '@reatom/core'
const countersShape0 = combine({ counter, counterDoubled })
const countersShape1 = combine('myName', { counter, counterDoubled })
const countersShape2 = c({ counter, counterDoubled })
const countersShape3 = c('myName', { counter, counterDoubled })
const countersShape4 = c(['... |
import React, { Component } from 'react';
import LoginModalContainer from 'containers/modal/LoginModalContainer';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import * as baseActions from 'store/modules/base';
import { inform } from 'lib/shouldCancel';
class Base extends Component... |
var partition__copy_8hpp =
[
[ "PartitionCopyable", "partition__copy_8hpp.html#ga5c959d0ba6110faea7e16a61ac9215cc", null ],
[ "partition_copy", "partition__copy_8hpp.html#ga798952e773075c765b42436bf6ffd872", null ]
]; |
// Copyright (C) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.waitasync
description: >
Throws a TypeError if index arg can not be converted to an Integer
info: |
Atomics.waitAsync( typedArray, index, value, timeout )
1. Re... |
import "core-js/stable";
import "regenerator-runtime/runtime";
import "dotenv/config";
import server from "server";
const PORT = process.env.PORT || 3000;
server.listen(PORT);
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// This is a traditional Vietnamese typewriter layout.
Keyboards['vi-Typewriter'] = {
label: 'Vietnamese',
sho... |
goog.provide('os.olm.render.BaseShape');
goog.require('goog.Disposable');
goog.require('goog.asserts');
goog.require('ol.Feature');
goog.require('ol.events');
goog.require('ol.layer.Vector');
goog.require('ol.render.EventType');
goog.require('ol.source.Vector');
/**
* @constructor
* @extends {goog.Disposable}
* ... |
import React from 'react';
import timeago from 'timeago.js';
import styled from 'styled-components';
import Profile from './Profile';
import { VerifyButton } from './Buttons.js';
import { CollapsableText } from './CollapsableText';
import Reactions from './Reactions';
const Message = styled.p`
font-size: 1.5rem;
... |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
skin.js
=========
In this file we interact with the CKEditor JavaScript API to register the skin
and enable additional skin related features.
The level of... |
module.exports = {
"parser":"babel-eslint",
"extends":"airbnb-base",
"env":{
"browser":true,
"node":true
},
rules:{
"linebreak-style": 0
}
} |
{
appDir: '..',
baseUrl: 'js',
dir: '../../../build_stage/calendar',
fileExclusionRegExp: /^\.|^build$|^test$/,
mainConfigFile: '../js/main.js',
optimize: 'none',
logLevel: 2,
// Be sure to normalize all define() calls by extracting
// dependencies so Function toString is not needed, and
// lower c... |
"use strict";
var _getClassName2 = _interopRequireDefault(require("@dr.pogodin/babel-plugin-react-css-modules/dist/browser/getClassName"));
require("./foo.css");
require("./bar.css");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const _styleModuleImportMap = {
"... |
const CACHE_NAME = "static-cache-v2";
const DATA_CACHE_NAME = "data-cache-v1";
const FILES_TO_CACHE = [
"/",
"/index.html",
"/manifest.webmanifest",
"/index.js",
"/db.js",
"/styles.css",
"/icons/icon-192x192.png",
"/icons/icon-512x512.png"
];
// install
self.addEventListener("install", function (evt) {... |
/*
* [Česky]
* Projekt: Robot Karel
* Copyright: Viz KOPIROVANI v kořenovém adresáři projektu
*
* [English]
* Project: Karel, the Robot
* Copyright: See COPYING in the top level directory
*/
// JavaScript - ovládání editoru
// POZNÁMKA: Řetězec načtený z příkazového pole je vnitřně udržován ve formě
// escape... |
var path = require('path');
// debug 模式, 会输出一些调试用的 log
exports.DEBUG = true;
// ==== 服务器相关的配置 ====================================================
// 服务器运行的端口
exports.PORT = 8091;
// 数据库的名字为 xzone, 账号为 xzone_user 密码: HeMHFxTAMPAjlRVH
// 可以自行修改
exports.DB_URI = 'mongodb://xzone_user:HeMHFxTAMPAjlRVH@127.0.0.1:27017/x... |
__NUXT_JSONP__("/107/3", (function(a,b,c,d,e,f,g,h){return {data:[{metaTitle:b,metaDesc:c,verseId:d,surahId:107,currentSurah:{number:"107",name:"الماعون",name_latin:"Al-Ma'un",number_of_ayah:"7",text:{"1":"اَرَءَيْتَ الَّذِيْ يُكَذِّبُ بِالدِّيْنِۗ","2":"فَذٰلِكَ الَّذِيْ يَدُعُّ الْيَتِيْمَۙ","3":"وَلَا يَحُضُّ عَلٰى ... |
import React from 'react';
import { Icon } from './Icon';
import { a, b, cr, dw, me, bgd } from './fragments';
export var TwoToneLiveHelp =
/*#__PURE__*/
function TwoToneLiveHelp(props) {
return React.createElement(Icon, props, React.createElement("path", {
opacity: ".3",
d: "M5 18h4.83L12 20.17l1.59-1.59.58-... |
/**
* @see https://github.com/eslint/eslint/blob/master/tests/lib/rules/require-jsdoc.js
*/
export default {
invalid: [
{
code:
`
function quux (foo) {
}`,
errors: [
{
line: 2,
message: 'Missing JSDoc comment.'
}
]
},
{
... |
/* 4 Debe modificarse el desarrollo del punto anterior para permitir:
● Cargar un array con x múltiplos del número n, siendo que x y n son
valores que ingresa el usuario por teclado. Se deben imprimir los
valores calculados.
● Repetir el proceso hasta que el usuario ingrese 0 para la cantidad de
múltiplos a generar, es... |
/* global AJS */
/**
* Utility functions for translating or interpolating text.
* @module jira/util/formatter
*/
define('jira/util/formatter', ['exports', 'jira/util/data/meta'], function (exports, Meta) {
'use strict';
/**
* Takes a string with placeholder markers and a variable number of arguments
* to ... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c8ee2132"],{1876:function(e,t,i){"use strict";i.r(t);var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"components-container"},[e._m(0),e._v(" "),i("div",{staticClass:"editor-container"},[i("dropzone",{attrs:{id:"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.