text stringlengths 2 1.04M |
|---|
"use strict";
import { RingBuffer } from "ringbuf.js";
self.RingBuffer = RingBuffer;
var outputSABs = {};
// var console = self.console;
var cl, ci, cw, ce;
if (self.console) {
if (self.console.log) cl = console.log;
if (self.console.log) ci = console.info;
if (self.console.log) cw = console.warn;
if (self.cons... |
/*
* Copyright (c) 2015 Dickson Tam
*
* 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, publ... |
var express = require("express")
, authom = require("../lib/authom")
, app = express()
, port = process.env.PORT || 80
authom.createServer({
service: "github",
id: "7e38d12b740a339b2d31",
secret: "116e41bd4cd160b7fae2fe8cc79c136a884928c3"
})
authom.createServer({
service: "google",
id: "515913292583.a... |
module.exports = function reverse (n) {let x=Math.abs(n);
return x.toString().split('').reverse().join('');} |
import { signIn, useSession } from 'next-auth/react';
import { useEffect } from 'react';
import SpotifyWebApi from 'spotify-web-api-node';
const spotifyApi = new SpotifyWebApi({
clientId: process.env.NEXT_PUBLIC_CLIENT_ID,
clientSecret: process.env.NEXT_PUBLIC_CLIENT_SECRET,
});
function useSpotify() {
co... |
/*
ioBroker.vis TrashSchedule Widget-Set
version: "0.0.4"
Copyright 2020 Matthias Kleine info@haus-automatisierung.com
*/
'use strict';
// add translations for edit mode
$.get('adapter/trashschedule/words.js', function(script) {
let translation = script.substring(script.indexOf('{'), script.length);
... |
// Fixtures service using the Factory recipe. .factory() designates the use of the Factory recipe. Within the Fixtures function, we declar a variable and set it to an empty object. The factory will return this object and make its properties and methods available to other parts of our Angular app //
(function() {
func... |
import {
all,
takeEvery,
takeLatest,
put,
call,
fork,
select
} from "redux-saga/effects";
import * as FOOD_ACTION from "../../actions/food.action";
import lib from "../../libs/food.lib";
/**
* Load Food
*/
function* loadFoods() {
try {
const res = yield call(lib.loadFoods);
... |
/*! For license information please see cb1608f2-bc268d438101bce98227.js.LICENSE.txt */
//# sourceMappingURL=cb1608f2-bc268d438101bce98227.js.map |
var data = {
"body": "<path d=\"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372s372-166.6 372-372s-166.6-372-372-372zm184.4 277.7l-178 246a7.95 7.95 0 0 1-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7z\" fill-op... |
import React, {Component} from 'react';
export default class GistDetails extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div>
<div>
<div>Files</div>
<div>
<div> {this.pro... |
import { createStore, applyMiddleware, compose } from "redux";
import createSagaMiddleware, { END } from "redux-saga";
import { createLogger } from "redux-logger";
import { createHashHistory } from "history";
import { routerMiddleware, routerActions } from "connected-react-router";
import thunk from 'redux-thunk';
impo... |
import React from 'react';
import * as UI from '../../uiSystem/';
import { getUsedLocale } from '../../../utils';
type Props = {
vaultUrl:string,
username:string,
password:string,
isFetching:boolean,
loginSuccess:boolean,
i18n:mixed,
onChangeLoginInput?:void,
onGetOauthToken:void
}
class LoginForm extends UI... |
window.TestElementSuites = [
'sample-test.html'
]; |
(() => {
angular.module('app-login', []);
})(); |
const express = require('express');
// Sets up Express
const app = express();
const PORT = process.env.PORT || 3000;
// Sets up data parsing
app.use(express.urlencoded({ extended: true }));
app.use(express.json());
app.use(express.static('public'));
// Maps to routes
require('./routes/apiroutes')(app);
require('./ro... |
/*! jQuery UI - v1.12.1 - 2017-10-09
* http://jqueryui.com
* Includes: widget.js, data.js, scroll-parent.js, widgets/draggable.js, widgets/droppable.js, widgets/mouse.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
const defaultState = {
user: '',
data: []
};
export default function (state = defaultState, action) {
if (action.type === "ADD_PII") {
return {
data: action.payload
};
}
if (action.type === "INIT_ENCRYPT") {
return {
user: action.payload
};
... |
function es5() {
function Person(name) {
this.name = name;
this.greeting = function () {
console.log("Hi! I'm " + this.name + ".");
};
}
const person1 = new Object({
name: "Chris",
age: 38,
greeting: function () {
alert("Hi! I'm " + this.name + ".");
},
});
function T... |
import Skylink from '../../index';
const buildStreamSettings = (room, stream, settings) => {
const updatedState = Skylink.getSkylinkState(room.id);
updatedState.streamsSettings[stream.id] = {
settings: settings.settings,
constraints: settings.getUserMediaSettings,
};
Skylink.setSkylinkState(updatedSta... |
"use strict";
// Class definition
var KTUserListDatatable = function() {
// Private functions
var messages = {
'ar': {
'Name': "الاسم",
"Actions": "الاجراءات",
"Date": "تاريخ الانشاء",
'edit': "تعديل",
'delete': "مسح",
}
};
va... |
import type { Action } from './types';
export const CHANGE_CONTENT_SCENE = 'CHANGE_CONTENT_SCENE';
export const ON_GET_DATA = "ON_GET_DATA";
export const ANNOUNCE = 'ANNOUNCE';
export const SLOT = 'SLOT';
export const FINAL_TEST = 'FINAL_TEST';
export const SCOREBOARD = 'SCOREBOARD';
export const GAME = 'GAME';
expo... |
import { createGlobalStyle } from "styled-components"
const SettingStyles = createGlobalStyle`
body {
background-color: #040508;
}
`
export default SettingStyles |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
const fetch = window.fetch;
class Fetcher extends Component {
static contextTypes = {
rebind: PropTypes.object
};
static defaultProps = {
query: ''
};
componentDidMount() {
this.fetchData(this.... |
/**
* Created by leaf4monkey on 11/18/2017
*/
module.exports = {val: 'm11'}; |
import styled, { keyframes } from 'styled-components';
export const VisualizerStyles = styled.div`
margin-top: 15px;
.img-wrapper {
display: flex;
flex-direction: row;
justify-content: center;
}
img {
margin: 0 auto;
}
`;
export default VisualizerStyles; |
function e(t){return this instanceof e?void(this.request=t):new e(t)}function t(e){return e.charAt(0).toUpperCase()+e.slice(1)}module.exports=e,e.Negotiator=e;var r={charset:"accept-charset",encoding:"accept-encoding",language:"accept-language",mediaType:"accept"};Object.keys(r).forEach(function(n){var a=r[n],s=require... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.10/esri/copyright.txt for details.
//>>built
define({widgetLabel:"\u65b9\u5411",advancedOptions:"\u9ad8\u7ea7\u9009\u9879",disclaimer:"\u4f7f\u7528\u53d7 {esriTerms} \u7684\u9650\u5236\u3002",esriTerms:"Esri ... |
var viewData = {"id":103484,"isExpandedObject":false};
var objectRelations = {
};
var objectData = {
"103484" : {
"id":103484,
"typeIconPath":"data/icons/UML/UML_ClassDiagram.png",
"data" : [
{
"lang":"nl",
"name":"CDT_VerkorteNaam",
"type":"Klassendiagram",
"categories":[]
}
]
}
};
var viewReferences = {};
var objectR... |
const R = require('ramda');
const rrepeat1 = R.repeat('hi', 5); //=> ['hi', 'hi', 'hi', 'hi', 'hi']
const obj = {};
const repeatedObjs = R.repeat(obj, 5); //=> [{}, {}, {}, {}, {}]
const rrepreat2 = (repeatedObjs[0] === repeatedObjs[1]); //=> true
console.log(repeatedObjs, rrepreat2, rrepeat1); |
/*
author:tg@chenxing666
新潮品牌狂欢
脚本兼容: Quantumult X, Surge, Loon, JSBox, Node.js
==============Quantumult X==============
[task_local]
#新潮品牌狂欢
//4 10 * * * jd_mcxhd.js, tag=新潮品牌狂欢, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true
==============Loon==============
[Script]
//cron "4 ... |
'use strict';
import config from '../config';
import changed from 'gulp-changed';
import gulp from 'gulp';
import gulpif from 'gulp-if';
import browserSync from 'browser-sync';
gulp.task('images', function () {
return gulp.src(config.images.src)
.pipe(changed(config.images.dest)) // Ignore... |
/*
* Copyright 2018, GeoSolutions Sas.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
const expect = require('expect');
const { getConnectionList, getWidgetsGroups, shortenLabel } = require('../Widgets... |
import React from 'react'
import MaterialTable from 'material-table'
import PropTypes from "prop-types";
import { Button, Box } from '@material-ui/core';
function EquPartnerList(props) {
return (
<div style={{ maxWidth: '100%' }}>
<Box p={0} style={{justifyContent:'flex-end',textAlign:'right'}}>... |
const _ = require('lodash');
module.exports = class extends think.Model {
/**
* 获取完整的省市区名称组成的字符串
* @param provinceId
* @param cityId
* @param districtId
* @returns {Promise.<*>}
*/
async getFullRegionName(provinceId, cityId, districtId) {
const isFullRegion = await this.checkFullRegion(provin... |
"use strict";
var ok = require("assert").ok;
var extend = require("raptor-util/extend");
var Normalizer = require("./Normalizer");
var Migrator = require("./Migrator");
var COMPILER_ATTRIBUTE_HANDLERS = {
"preserve-whitespace": function(attr, context) {
context.setPreserveWhitespace(true);
},
"preserve-comme... |
/**
* Kendo UI v2021.2.511 (http://www.telerik.com/kendo-ui)
* Copyright 2021 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.... |
export default (resolve, reject) => {
chrome.tabs.query({ currentWindow: true, active: true }, (tabs) => {
try {
resolve(tabs[0].url);
} catch (ex) {
reject(new Error(ex));
}
});
}; |
describe("", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("build/docs/examples/example-example96/index-jquery.html");
});
it('should load template defined inside script tag', function() {
element(by.css('#tpl-link')).click();
expect(element(by.css('#tpl-cont... |
const {
Client,
MessageAttachment,
Collection,
MessageEmbed
} = require("discord.js");
const { PREFIX, TOKEN, DBL_API_KEY } = require("./config");
const bot = new Client({ disableMentions: "everyone" });
const DBL = require("dblapi.js");
const dbl = new DBL(DBL_API_KEY);
const fs = require("fs");
const db = req... |
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const CopyWebpackPlugin = require('copy-webpack-plugin');
const env = process.env.NODE_ENV || 'development';
const isDev = env === 'development';
module.exports = {
... |
"use strict";
var util = require("../../util");
var t = require("../../types");
var isNumber = require("lodash/lang/isNumber");
exports.UnaryExpression = function (node, print) {
var hasSpace = /[a-z]$/.test(node.operator);
var arg = node.argument;
if (t.isUpdateExpression(arg) || t.isUnaryExpressio... |
var path = require('./nicolas_modules/path'),
fs = require('fs'),
name = process.argv[2];
require('./nicolas_modules/string');
name = String.standardizeName(name);
fileName = String.standardizeName('component.' + name);
if (!path.isFile(path.componentHTML5Path() + fileName + '.html')) {
console.log('组件 ' + name ... |
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Und... |
//function to display data
function displayData(ufoReport){
console.log(ufoReport);
var row = tbody.append("tr")
Object.entries(ufoReport).forEach(function([key, value]) {
console.log(key, value);
// Append a cell to the row for each value
// in the weather report object
... |
'use strict';
/*
* Defining the Package
*/
var Module = require('meanio').Module;
var Articles = new Module('articles');
/*
* All MEAN packages require registration
* Dependency injection is used to define required modules
*/
Articles.register(function(app, auth, database) {
//We enable routing. By default t... |
define('mixin', [], function() {
'use strict';
var buildPromise = function(output) {
return (function(){
var result;
return {
then: function(cb) {
result = cb(output);
if (result && result.then) {
/... |
export default "M9,21V22H7V21A2,2 0 0,1 5,19V4A2,2 0 0,1 7,2H17A2,2 0 0,1 19,4V19A2,2 0 0,1 17,21V22H15V21H9M7,4V9H17V4H7M7,19H17V11H7V19M8,12H10V15H8V12M8,6H10V8H8V6Z" |
(function() {
function Room($firebaseArray){
var Room = {};
var ref = firebase.database().ref().child("Rooms");
var rooms = $firebaseArray(ref);
Room.all = rooms;
Room.add = function(room){
//Firebase method $add
rooms.$add(room);
... |
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const TerserJSPlugin = require('terser-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugi... |
let next = 0;
let jsonPath = 'Scripts/';
let times = [];
let today = new Date();
function day() {return today.getDay();}
let dateNamesFrom = {"sunday":0, "monday":1, "tuesday":2, "wednesday":3,
"thursday":4, "friday":5, "saturday":6}
let dateNamesTo = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
... |
import ReactDOM from "react-dom";
import App from "./App";
import "./index.css";
const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement); |
const path = require('path');
const fs = require('fs');
const { rollup } = require('rollup');
const filesize = require('filesize');
const uglify = require('uglify-js');
const chalk = require('chalk');
const gzipSize = require('gzip-size');
const typescript = require('rollup-plugin-typescript2');
const resolve = require... |
var reduce = require('lodash.reduce')
// converts a css style string to an object
function styleParse(input) {
if (!input) return {};
var properties = input.split(';');
return reduce(properties, function(parsed, property) {
var FIRST_COLON = /:(.+)/;
var split = property.split(FIRST_COLON);
if (spl... |
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
export default class CategoryComponent extends Component {
constructor (props) {
super (props)
}
showModal () {
}
render() {
return (
<div>
<div id="page-head">
... |
/**
* @license
* Copyright 2014 The Lovefield Project 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
... |
/**
* entry point for table
*/
$(function() {
var Table = cdb.core.View.extend({
el: document.body,
events: {
'keypress': 'keyPress',
'keyup': 'keyUp'
},
initialize: function(options) {
this.table = null;
this.selectedMenu = null; // enable this
this.workViewActi... |
let controller = new ScrollMagic.Controller();
let timeline = new TimelineMax();
timeline
.to(".rock", 10, { y: -300 })
.to(".girl", 20, { y: -200 }, "-=10")
.fromTo(".bg1", { y: -50 }, { y: 0, duration: 10 }, "-=10")
.to(".content", 25, { top: "0%" }, "-=20")
.fromTo(".content-images", { opacity: 0 }, { opa... |
import { api, LightningElement, track } from 'lwc';
import donationHistoryLabelLifetime from '@salesforce/label/c.donationHistoryLabelLifetime';
import donationHistoryFilterSelectAYear from '@salesforce/label/c.donationHistoryFilterSelectAYear';
import getYearsWithDonation from '@salesforce/apex/DonationHistoryControll... |
'use strict';
const _ = require('lodash');
const {
validateComponentInput,
validateUpdateComponentInput,
} = require('./validation/component');
/**
* Components controller
*/
module.exports = {
/**
* GET /components handler
* Returns a list of available components
* @param {Object} ctx - koa contex... |
import React from 'react';
import PropTypes from 'prop-types';
import { noop } from 'lodash';
function ModalMask({ clicked, analyticsString }) {
return (
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
// key events are handled by the parent component
<div
data-sprk-modal-mask="tr... |
//! moment-timezone.js
//! version : 0.5.13
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
(function (root, factory) {
"use strict";
/*global define*/
if (typeof define === 'function' && define.amd) {
define(['moment'], factory); // ... |
import React from 'react';
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
class Nav extends React.Component {
state = {
menuOpen: false,
}
toggleMenu = () => {
const icon= document.getElementById('icon');
const menu = document.getElementById('menu');
this.setState(... |
/** @jsx jsx */
import Article from '../../../template/article'
import { jsx } from '@emotion/core'
const ArticlePage = ({ location }) => (
<Article location={location}>
<p>
Jimi Hendrix が口をパクパクさせながら、Wah Pedal を踏む。俺たちは泥だらけで、少しステージに向かって傾斜した牧草地帯に寝転びながら、奇声をあげる。空は青く、明日の予定も、明後日の予定も、それから来月の予定もなかった。
</p>
... |
// Initializes the `companyusers` service on path `/companyusers`
const createService = require('feathers-mongoose');
const createModel = require('../../models/companyusers.model');
const hooks = require('./companyusers.hooks');
const filters = require('./companyusers.filters');
module.exports = function () {
const ... |
document.addEventListener('DOMContentLoaded', () => {
getActivities()
})
function getActivities() {
let ul = document.getElementById("activity-list")
fetch("http://www.boredapi.com/api/activity/")
.then(resp => resp.json())
.then(data => {
console.log(data)
data.map(activity => {
... |
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Wor... |
import * as React from "react";
function SvgCheckboxMinusOutlined(props) {
return (
<svg
width={24}
height={24}
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g fill="currentColor">
<path
fillRule="evenodd"
clipRule="evenodd"
... |
// @flow
import React from 'react';
import Icon from '../../icons/components/Icon';
import AbstractLabel, {
type Props as AbstractProps
} from './AbstractLabel';
type Props = AbstractProps & {
/**
* Additional CSS class names to add to the root of {@code Label}.
*/
className: string,
/**... |
'use strict';
var addPassiveEventListener = require('./passive-event-listeners');
var eventThrottler = function eventThrottler(eventHandler) {
var eventHandlerTimeout;
return function (event) {
// ignore events as long as an eventHandler execution is in the queue
if (!eventHandlerTimeout) {
eventHan... |
/*global QUnit, oTable, oTreeTable */
sap.ui.define([
"sap/ui/table/qunit/TableQUnitUtils",
"sap/ui/qunit/QUnitUtils",
"sap/ui/table/TableUtils",
"sap/ui/table/TableKeyboardDelegate2",
"sap/ui/Device",
"sap/m/Menu",
"sap/m/MenuItem",
"sap/ui/events/F6Navigation",
"sap/ui/table/library",
"sap/ui/table/Table",... |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "Support Op... |
import component from './Account';
export default component; |
(window.webpackJsonp=window.webpackJsonp||[]).push([[261],{3136:function(e,t,n){"use strict";n.r(t),n.d(t,"icon",(function(){return c}));n(12),n(2),n(7),n(8),n(6),n(9);var r=n(0),i=n.n(r);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.protot... |
'use strict';
goog.require('cgAdmin.homeModule');
goog.provide('cgAdmin.editorConfig');
cgAdmin.homeModule.ckeditorGo = function () {
CKEDITOR.plugins.add('timestamp', {
icons: 'timestamp',
init: function (editor) {
editor.addCommand('insertTimestamp', {
exec: function (editor) {
v... |
const lang = {
app: {},
removeFormat: {title: 'Remove format'},
bold: {title: 'Bold'},
italic: {title: 'Italic'},
underline: {title: 'Underline'},
strikeThrough: {title: 'Strike through'},
superscript: {title: 'Superscript'},
subscript: {title: 'Subscript'},
indent: {title: 'Indent'},
outdent: {t... |
const express = require("express");
const router = express.Router();
const bcrypt = require("bcrypt");
const knex = require("knex")(
require("../knexfile.js")[process.env.NODE_ENV || "development"]
);
const cookieParser = require("cookie-parser");
express().use(cookieParser());
async function encrypt(password, expe... |
/*global describe, beforeEach, it*/
'use strict';
var path = require('path');
var assert = require('yeoman-generator').assert;
var helpers = require('yeoman-generator').test;
var os = require('os');
describe('react-express:app', function () {
before(function (done) {
helpers.run(path.join(__dirname, '../app'))
... |
let handler = async (m, { conn }) => {
conn.sendFile(m.chat, 'https://api.xteam.xyz/randomimage/ero?APIKEY=FuzBot1', '', '', m)
}
handler.help = ['ero']
handler.tags = ['nsfw']
handler.command = /^(ero)$/i
handler.limit = true
handler.premium = true
module.exports = handler |
// 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({"widgets/ParcelDrafter/setting/nls/strings":{setBtnLabel:"Definir",selectLabel:"Selecionar",sele... |
import { Log } from '#utils';
import { boardsMessages, drawingsMessages } from '#constants';
/**
* Set message handlers for boards and drawings.
*/
export default function setMessageHandlers() {
Log.info('Service : Realtime : setMessageHandlers');
const { boardsService, drawingsService } = this.dependencies;
... |
var fs = require('fs')
var assert = require('assert')
var lz4 = require('..')
describe('LZ4 block encoder/decoder', function () {
var decoded_data_valid = fs.readFileSync( __dirname + '/../data/test' )
it('should encode/decode data', function (done) {
var encoded_data = Buffer.alloc( lz4.encodeBound(decoded_... |
// Requiere jquery y Snap.svg-0.2.0
// Andrés L. Carlos Suárez 2014, Universidad de La Habana.
// Reportar bugs: ndrscrls@gmail.com
"use strict";
/* Código hash de un string */
String.prototype.hashCode = function() {
var hash = 0, i, chr, len;
if (this.length == 0) return hash;
for (i = 0, len = this.length; i... |
jalangiLabel161:
while (true) {
try {
J$.Se(209, '/home/james/nodejs/HiPar/node_modules/esutils/lib/utils_jalangi_.js', '/home/james/nodejs/HiPar/node_modules/esutils/lib/utils.js');
J$.X1(201, J$.F(193, J$.T(185, function () {
jalangiLabel160:
whi... |
export default {
offsite: {
disabled: true,
},
local: {
disableAltTerms: true,
},
}; |
$PBJQ(document).ready(function(){
//get the initial order TODO - make an array instead of putting the values in a span
$PBJQ('[id$="reorder-list"] .reorder-element').each(function(n){
$PBJQ('#lastMoveArrayInit').append($PBJQ(this).attr('id') + ' ');
$PBJQ('#lastMoveArray').append($PBJQ(this).at... |
/**
* 设备明细(入库)
* 调用时,声明的变量必须唯一
* @class
* @extends Ext.grid.GridPanel
*/
var COMMON_LU = lsys('common');
var DEV_COMMON_LU = lsys('DeviceCommon');
var CHE_OUT_LU = lsys('CheckOut');
var MSG_LU = lsys('msgBox');
var DeviceGrid = Ext.extend(Ext.grid.GridPanel,{
deviceGridStore :null,
constructor:function(cfg){
... |
module.exports = 'not 2'; |
/*
* Copyright Adam Pritchard 2013
* MIT License : http://adampritchard.mit-license.org/
*/
// Called once when the dialog displays
function onLoad() {
// Use the arguments passed to us by the caller
document.getElementById("promptInfo").value = window.arguments[0].inn.promptInfo;
document.getElementById("pro... |
'use strict';
module.exports = {
up: queryInterface => {
return queryInterface.bulkInsert(
'works',
[
{
name: 'Senpai, Sore Hitokuchi Kudasai!',
stub: 'senpai_sore_hitokuchi_kudasai',
uniqid: '56ff02b19f342',
hidden: false,
type: 'Manga',
... |
import React from "react";
import styled from "styled-components";
import { Container, Row, Col } from "react-bootstrap";
import { Title, Button, Section, Box, Text } from "../../components/Core";
import svgCurve from "../../assets/image/svg/l1-curve-cta.svg";
const LeftCard = styled(Box)`
position: absolute;
to... |
import React, { Component } from 'react';
import {
Container,
Row,
Col,
Card,
Input,
} from 'reactstrap';
import { DUMP_DATA } from '../../constants/DumpData';
import Search from './Search';
import NameList from './NameList';
import InfiniteScroll from 'react-infinite-scroller';
const ... |
module.exports = require('./build/createIt'); |
/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Version: 1.3.6
*
*/
(function ($) {
$.fn.extend({
slimScroll: function (options) {
... |
/*
* Copyright (c) 2014 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 ri... |
function counterReducer(currentState = 0, action){
if (action.type === 'INCREMENT')
return ++currentState;
if (action.type === 'DECREMENT')
return --currentState;
return currentState;
}
export default counterReducer; |
module.exports = (function featuresFn() {
'use strict';
var fs = require('fs');
var config = require('./config');
function features(callback) {
return fs.readdir(config.base, function readdir(err, files) {
files = files || [];
callback(files.map(reviewFile));
});
}
function analize(in... |
/*!
* OS.js - JavaScript Cloud/Web Desktop Platform
*
* Copyright (c) 2011-2017, Anders Evenrud <andersevenrud@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistribu... |
import React, { Component } from 'react'
import { graphql } from 'gatsby'
import Helmet from 'react-helmet'
export const query = graphql`
fragment Meta on MarkdownRemark {
frontmatter {
meta {
title
description
noindex
canonicalLink
}
}
}
`
export default class ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.