text stringlengths 2 1.05M |
|---|
/*************************************************
* Copyright (c) 2015 Ansible, Inc.
*
* All Rights Reserved
*************************************************/
/**
* @ngdoc function
* @name controllers.function:Jobs
* @description This controller's for the jobs page
*/
export default ['$state', '$rootScope'... |
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* monaco-languages version: 1.6.0(858705e74270e53559a241fdee187e7a6ae53b23)
* Released under the MIT license
* https://github.com/Microsoft/monaco-languages/blob/master/LICENS... |
// ES5 syntax as it's node
// Import the rest of our application.
module.exports = require('./calculator_example.js')
// the state variables is the wrong structure so it will not run
// module.exports = require('./number_with_exponent_example_via_redux.js')
|
/*
* jquery.zoomooz-helpers.js, part of:
* http://janne.aukia.com/zoomooz
*
* LICENCE INFORMATION:
*
* Copyright (c) 2010 Janne Aukia (janne.aukia.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL Version 2 (GPL-LICENSE.txt) licenses.
*
*/
/*jslint sub: true */
if(!$.zoomooz) {
$.zoomooz = ... |
'use strict';
const find = require('unist-util-find');
const findAllAfter = require('unist-util-find-all-after');
const rule = require('unified-lint-rule');
const toString = require('mdast-util-to-string');
const visit = require('unist-util-visit');
module.exports = rule('remark-lint:awesome/license', (ast, file) => {... |
/*! highlight.js v9.3.0 | BSD3 License | git.io/hljslicense */
!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(... |
// Camera
$(document).on("click","#cam",function(){
navigator.camera.getPicture(onSuccess, onFail,{
quality: 50,
destinationType: Camera.DestinationType.DATA_URL,
saveToPhotoAlbum: true
});
function onSuccess(ImageData){
var image = document.getElementById('#img');
image.src = "data:image/jpe... |
"use strict";(self.webpackChunkAkr_textile_site=self.webpackChunkAkr_textile_site||[]).push([[676],{8591:function(e,t,r){r.r(t),r.d(t,{default:function(){return m}});var n=r(7294),a=r(4905),l=r(4850),c=r(1293),u=r(3287),i=r(5250);function m(){return n.createElement(a.Z,null,n.createElement(c.Z,null,n.createElement(u.Z,... |
(function(window) {
var svgSprite =
'<svg><symbol id="icon-wo" viewBox="0 0 1026 1024"><path d="M513.342578 1023.975441c-282.754852 0-511.975441-229.220588-511.975441-511.975441s229.220588-511.975441 511.975441-511.975441 511.975441 229.220588 511.975441 511.975441S796.09743 1023.975441 513.342578 1023.9754... |
const _ = require('lodash');
class ExportFunctionsPlugin {
constructor(serverless) {
this.serverless = serverless;
this.provider = this.serverless.getProvider('aws');
this.hooks = {
'deploy:compileEvents': this.execute.bind(this),
};
}
execute() {
if (!t... |
// SLALOM
//
// Converted from BASIC to Javascript by Oscar Toledo G. (nanochess)
//
function print(str)
{
document.getElementById("output").appendChild(document.createTextNode(str));
}
function input()
{
var input_element;
var input_str;
return new Promise(function (resolve) {
... |
define(['ractive'], function (Ractive) {
'use strict';
/*
amd-loader
Adapted from https://github.com/guybedford/amd-loader by Guy Bedford
MIT License: https://github.com/guybedford/amd-loader/blob/master/LICENSE
*/
var loader = function (pluginId, ext, allowExts, compile) {
if (arguments.leng... |
exports = module.exports = {
} |
/** ****************************************************************************
*
* Parses the linked libraries to retrieve the exported name.
*
* lib.js is just a literal object that contains a set of functions. It
* can't be intantiated.
*
*
* Private Functions:
* . _computeLink computes the... |
export const errorType = {
WARNING: 'warning',
INFO: 'info',
INFO_AND_HIDDEN: 'hidden'
}
|
function get_template() {
const template_string =
"<div class='title'>" +
" <h1>Welcome to Your Setup Page!</h1>" +
"</div>" +
"<div class='setup container'>" +
" <div class='left'>" +
" <h2>Overview</h2>" +
" This setup page will create/modify two files i... |
import { unstable_createResource as createResource } from 'react-cache';
const ListingResource = createResource(
sdkClient.listings.byWmId
)
const ListingCard = (wmid) => {
const listing = ListingResource.read(wmid);
return (
<Card>
<Title>{listing.name}</Title>
</Card>
)
} |
sap.ui.define(["sap/ui/webc/common/thirdparty/base/UI5Element","sap/ui/webc/common/thirdparty/base/renderer/LitRenderer","./types/TitleLevel","./types/WrappingType","./generated/templates/TitleTemplate.lit","./generated/themes/Title.css"],function(e,t,r,a,n,i){"use strict";function l(e){return e&&typeof e==="object"&&"... |
/*!
* OpenUI5
* (c) Copyright 2009-2019 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(function(){"use strict";return{Multi:"Multi",Single:"Single"};},true);
|
'use strict';"use strict";
var lang_1 = require('angular2/src/facade/lang');
var forms_1 = require('./forms');
var directives_1 = require('./directives');
/**
* A collection of Angular core directives that are likely to be used in each and every Angular
* application. This includes core directives (e.g., NgIf and NgF... |
//= require jquery3.min
//= require popper
//= require bootstrap-sprockets
//= require flatpickr
document.addEventListener('DOMContentLoaded', function() {
flatpickr('.created-at', {
altInput: true,
altFormat: "F j, Y H:i",
dateFormat: "Y-m-d H:i:s",
enableTime: true,
time_24hr: true,
});
})
|
nv.models.ohlcBar = function() {
"use strict";
//============================================================
// Public Variables with Default Settings
//------------------------------------------------------------
var margin = {top: 0, right: 0, bottom: 0, left: 0}
, width = nul... |
/**
* `modules/tagmanager` data store: versions.
*
* Site Kit by Google, Copyright 2021 Google LLC
*
* 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
*
* https://www.apache.org/lice... |
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); }
f... |
Page({
mixins: [require('../../mixin/themeChanged')],
data: {
inputShowed: false,
inputVal: ""
},
showInput: function () {
this.setData({
inputShowed: true
});
},
hideInput: function () {
this.setData({
inputVal: "",
inp... |
import React, { useState } from 'react';
import { LoginArea, LoginLogo, LoginButtonWrapper, RecoverPasswordFieldWrapper, InputArea, InputImage, Input, LoginButton, ErrorArea, LoginContainerArea, RecoverPasswordField } from './styledLogin';
import { connect } from 'react-redux';
import { signin } from '../../__redux/act... |
const express = require('express');
const mongoose = require('mongoose');
mongoose.Promise = require('bluebird');
var UserSchema = mongoose.Schema({
email :{
type: String,
required : true
},
name :{
type:String,
required: true
}
});
const User = module.exports = mongoose.model('Users',UserS... |
function double(value, callback) {
setTimeout(() => callback(value * 2), 1000);
}
double(3, (x) => console.log(`I was given: ${x}`));
// I was given: 6 (printed after roughly 1000ms)
|
#!/usr/bin/evn node
//var assert = require('assert');
var expect = require('chai').expect
describe('testest', function(){
describe('nesttest', function(){
it('should be 1', function(){
expect(1+0).to.be.equal(1);
});
});
describe('nestnesttest', function(){
it('should ... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
describe('A chosen module', function () {
'use strict'
var chosen
var element
beforeEach(function () {
element = $('<div></div>')
chosen = new GOVUKAdmin.Modules.Chosen()
})
it('creates a chosen select box when it starts', function () {
spyOn(element, 'chosen')
chosen.start(element)
e... |
import React, {Component} from 'react'
import Menu from './nav/Menu'
import Routes from './nav/Routes'
import {AppBar} from 'material-ui'
import {textAlignCenter} from './style/commonStyles'
class App extends Component {
render() {
return (
<div>
<header style={textAlignCenter}>
<AppBar showMenuIconButt... |
const RFI_STATE = ['PENDING', 'MERGED', 'REJECTED', 'CANCELLED'].reduce((state, key, index) => {
state[key] = index
return state
}, {})
const RFL_STATE = ['PENDING', 'ACCEPTED', 'ISSUED', 'REJECTED', 'CANCELLED', ].reduce((state, key, index) => {
state[key] = index
return state
}, {})
module.exports ... |
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d... |
var Waypoint = function(game, x, y, wptype) {
Phaser.Sprite.call(this, game, x, y, 'waypoint');
this.waypoints = {};
this.type = wptype;
this.occupied = false;
this.anchor.setTo(0.5, 0.75);
this.width = 48;
this.height = 72;
this.inputEnabled = true;
this.events.onInputDown.add(this.... |
var Match = require ('../match');
/**
* Charset recognizer for UTF-8
*/
module.exports = function() {
this.name = function() {
return 'UTF-8';
};
this.match = function(det) {
var hasBOM = false,
numValid = 0,
numInvalid = 0,
input = det.fRawInput,
trailBytes = ... |
var cacheStr = window.sessionStorage.getItem("cache"),
oneLoginStr = window.sessionStorage.getItem("oneLogin");
layui.use(['form','jquery',"layer"],function() {
var form = layui.form,
$ = layui.jquery,
layer = parent.layer === undefined ? layui.layer : top.layer;
//判断是否web端打开
if(!/http(... |
"use strict";var root_1=require("./util/root"),toSubscriber_1=require("./util/toSubscriber"),observable_1=require("./symbol/observable"),Observable=function(){function r(r){this._isScalar=!1,r&&(this._subscribe=r)}return r.prototype.lift=function(o){var t=new r;return t.source=this,t.operator=o,t},r.prototype.subscribe... |
var webpack = require("webpack");
module.exports = {
entry: ['./lib/index.js'],
target: 'node',
output: {
library: 'djvu',
libraryTarget: 'umd',
filename: 'djvu.js',
sourceMapFilename: '[file].map'
},
plugins: [
new webpack.optimize.UglifyJsPlugin()
]
}; |
!function(e){function r(r){for(var n,l,p=r[0],f=r[1],i=r[2],c=0,s=[];c<p.length;c++)l=p[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(a&&a(r);s.length;)s.shift()();return u.push.apply(u,i||[]),t()}function t(){for(var e,r... |
// import firebase from 'firebase/app'
// import 'firebase/database'
// import 'firebase/storage'
// import { Firechat } from './firechat.js'
const firebase = require('firebase')
require('firebase/database')
require('firebase/storage')
const Firechat = require('./firechat')
// firebase init goes here
const dbConfig ... |
/*
* $Id: base64.js,v 2.15 2014/04/05 12:58:57 dankogai Exp dankogai $
*
* Licensed under the MIT license.
* http://opensource.org/licenses/mit-license
*
* References:
* http://en.wikipedia.org/wiki/Base64
*/
(function (global) {
'use strict';
// existing version for noConflict()
var _Base... |
import React, { createRef, Fragment, useEffect, useState } from 'react';
import {
Breadcrumb,
BreadcrumbItem,
Card,
CardBody,
Col,
Form,
FormGroup,
Input,
Label,
Row,
Spinner,
Pagination,
PaginationItem,
PaginationLink
} from 'reactstrap';
import Cascader from 'rc-cascader';
import RealtimeC... |
var class_game_framework_1_1_display_1_1_placement_1_1_position_helper =
[
[ "GetBoundsFromColliders", "class_game_framework_1_1_display_1_1_placement_1_1_position_helper.html#af96ad0647ebdd32f48cef931850026bb", null ],
[ "GetPositionOnPlane", "class_game_framework_1_1_display_1_1_placement_1_1_position_helper.... |
import { connect } from 'react-redux'
import { LAYOUTS } from '../../configs/configs'
import { getCurrentPageMessages } from '../../reducers/stage'
import LayoutBuilder from './LayoutBuilder'
class MessageLayoutBuilder extends LayoutBuilder {
getLayouts = () => {
return LAYOUTS
}
mapSection = (key... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2... |
/**
* @author Charlie Calvert
*/
/* global angular:true */
angular.module('characterMod', []).factory('people', function() {'use strict';
return {
races : [{
name : 'Dwarves',
description : 'Typically about 4 feet tall, stocky, lifespan of 300-400 years. Thick hair and beards',
hitDie : 1,
language... |
'use strict';
const Homey = require('homey');
class MCOhomeApp extends Homey.App {
onInit() {
this.log('MCOhomeApp is running...');
this.actionStartDimLevelChange = new Homey.FlowCardAction('action_DIM_startLevelChange')
.register()
.registerRunListener(this._actionStartDimLevelChangeRunListen... |
console.log("Datastructures in Javascript");
|
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
extend: {
boxShadow: {
'outline-primary': '0 0 0 3px rgba(164, 201, 254, 0.45)'
},
colors: {
primary: {
'50': '#ebf5ff',
... |
/**
* Auto-generated action file for "Gitlab" API.
*
* Generated at: 2019-05-07T14:41:02.328Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / gitlab-com-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed under the A... |
module.exports = {
apiUrl: 'https://api.graph.cool/simple/v1/cj8lbqhc500ws0106i7y1yevv'
}
|
mycallback( {"CONTRIBUTOR OCCUPATION": "Wealth Management", "CONTRIBUTION AMOUNT (F3L Bundled)": "500.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "WheelerFrost Associates Inc", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "3624 Fenalon St", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDI... |
import * as ls from 'app/lib/ls';
import { getEnsuredAccessToken } from 'app/lib/destinyAuth';
const log = require('app/lib/log')('telemetry');
function getNameFromBungieProfile(bungieNetProfile) {
const { psnDisplayName, xboxDisplayName, uniqueName } = bungieNetProfile;
const nameArr = [
psnDisplayName && `... |
const UTIL = require('./util');
let Discord;
const EMOJI_JOIN = '⚔️';
const EMOJI_START = '🦸🏿♂️';
const EMOJI_CANCEL = '❌';
const EMOJI_GO_TOP = ':point_up_2:';
const EMPTY_SLOT_SYMBOL = '-';
const Q_TIMEOUT_T = 1000 * 60 * 60;
const Q_SLOT_1 = 0;
const Q_SLOT_2 = 1;
const Q_SLOT_3 = 2;
const Q_SLOT_4 = 3;
cons... |
import { bindActionCreators } from "redux"
import PropEvent from "./PropEvent"
import { strictEqual, shallowEqual } from "./utils.js"
export default class PropMap {
// state of application
state = null;
// props passed to your component
ownProps = null;
// dispatch function
dispatch = null;
// select... |
const { supporterCount } = require("../bots/supporter-count");
const tester = async () => {
const botId = "0xcbdf824467c0dcc859e7a23a65f79774";
// const botId = "0x3502c19ee6d9656301b005dfa028bbf3";
// const botId = "0xfa145d550027aa68d1167a8d3218afac";
const event = {
pathParameters: {
tokenId: bot... |
import { Meteor } from "meteor/meteor";
import { Template } from "meteor/templating";
import { ReactiveVar } from "meteor/reactive-var";
import moment from "moment";
import { SignupGap } from "/imports/lib/both/signup-gap";
import "./alert-signup-gap.html";
Template.AlertSignupGap.onCreated(function onCreated() {
... |
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
/* Layout */
import Layout from '@/layout'
/**
* Note: sub-menu only appear when route children.length >= 1
* Detail see: https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
*
* hidden: true ... |
// negative/b.js
// @priority -10
|
//
// Copyright 2012 Wade Alcorn wade@bindshell.net
//
// 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 ... |
// unfinished GPS Track recorder
g.clear();
var gpsTrack = require("Storage").open(".track", "w");
var gpsTrackLen = 0;
var recording = false;
var inMenu = false;
var currentFix;
function drawIcons() {
g.clearRect(220, 110, 240, 130);
if (recording) {
g.fillRect(225, 115, 235, 125);
} else {
... |
/**
* 商品常量
*/
export default {
MERCHANT_PRODUCT_CAN_SALE: { 0: '否', 1: '是' },
YES_NO: { 0: '否', 1: '是' },
ATTRIBUTE_NAME_TYPE: { 1: '商品属性', 2: '销售属性' },
CATEGORY_TYPE: { 1: '后台类目', 2: '前台类目' },
MERCHANT_CATEGORY_TYPE: { 4: '商家类目', 6: '店铺类目' },
ATTRIBUTE_INPUT_TYPE: { 1: '多选', 2: '单选', 3: '手工输入' },
VISIB... |
import React from 'react';
import Component from './Content';
import {IntlProvider} from 'react-intl';
import {isArray, isString, chain} from 'lodash';
import {render} from 'react-native-testing-library';
import 'intl';
import 'intl-pluralrules';
import 'intl/locale-data/jsonp/en';
import '@testing-library/jest-native... |
config.devServer = Object.assign(
{},
config.devServer || {},
{
proxy: [
{
context: ["/api/**"],
target: 'http://localhost:5000',
}
]
}
)
|
import React, { useContext } from 'react'
import StoreContext from '../../context/StoreContext'
import LineItem from './LineItem'
import EmptyCart from './emptyCart'
import styled from 'styled-components'
const CheckOutButton = styled.button`
position:relative;
bottom:10px;
width:90%;
text-align:center;
ov... |
import React from "react";
import { graphql } from "react-apollo";
import {
withSitecoreContext,
resetExperienceEditorChromes
} from "@sitecore-jss/sitecore-jss-react";
/**
* Higher order component that abstracts common JSS + Apollo integration needs.
*
* This component works similar to react-apollo's graphql()... |
/**
* @author fernandojsg / http://fernandojsg.com
* @author Don McCurdy / https://www.donmccurdy.com
* @author Takahiro / https://github.com/takahirox
* @author et al. / https://github.com/mrdoob/three.js/blob/master/examples/js/exporters/GLTFExporter.js
*/
( function () {
class GLTFExporter {
constructor()... |
/*
* Copyright (c) 2014-2020 Bjoern Kimminich.
* SPDX-License-Identifier: MIT
*/
const chai = require('chai')
const expect = chai.expect
describe('utils', () => {
const utils = require('../../lib/utils')
describe('toSimpleIpAddress', () => {
it('returns ipv6 address unchanged', () => {
expect(utils.... |
/**
* Definition of an UInt32, an unsigned 32 bit integer
* range: 0 to 4294967295
* uses BitBuffer functions for write/read
*/
import compareInts from './compare/compareIntegers.js';
var UInt32 = {
'min': 0,
'max': 4294967295,
'bits': 32,
'compare': compareInts,
'write': 'writeUInt32',
'read':... |
const DBUtils = require('./DBUtils');
class DBRoles {
constructor() {
this.dbUtils = new DBUtils();
this.getRoles = (res) => {
try {
let db = this.dbUtils.getDb();
const get = db.prepare("SELECT * FROM roles");
const results = get.all();
res.send({ roles: results });
... |
var guanwang = {};
guanwang.index = {};
guanwang.index.smallboss = {
changeLabel: function(){
$(".aleTab>li:eq(1)").addClass("on");
$(".aleTab>li:eq(0)").removeClass("on");
$(".aleCon>.tab").hide();
$(".aleCon>.tab").eq($(".aleTab>li:eq(1)").index()).show();
}
}
// ... |
export const bottomTags = [{
id: '5768ed19406be01000c69077',
name: '人權',
},
{
id: '5783582ec380321000c0fbeb',
name: '司法',
},
]
|
'use strict';
var
chai = require('chai'),
chaiAsPromised = require('chai-as-promised'),
Values = require('./../../../../../lib/platforms/saucelabs/values').Values
chai.use(chaiAsPromised)
var
expect = chai.expect,
should = chai.should()
describe('Values', function() {
describe('js', function() {
t... |
angular.module('App', ['ionic', 'firebase'])
.config(function ($stateProvider, $urlRouterProvider) {
$stateProvider
.state('home', {
url: '/',
templateUrl: 'views/home/home.html'
})
.state('login', {
url: '/login',
templateUrl: 'views/login/login.html',
controller: ... |
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
var fs = require('fs');
module.exports = function(grunt) {
grunt.registerTask('move', 'move a file', function(src, dest) {
grunt.log.write('mo... |
import { connect } from 'react-redux';
import Canvas from './Canvas.jsx';
const mapStateToProps = (state) => {
return {
state: state.app,
active_droplet_id: state.UI.active_droplet_id
};
};
const CanvasContainer = connect(
mapStateToProps
)(Canvas);
export default CanvasContainer; |
var log = require( "whistlepunk" ).log;
log( {} );
module.exports = log;
|
import _cloneDeep from 'lodash/cloneDeep'
import _merge from 'lodash/merge'
import _isEmpty from 'lodash/isEmpty'
// redux actions
export const ADD_KEYBOARD_SHORTCUT_GROUP = 'ADD_KEYBOARD_SHORTCUT_GROUP'
export const REMOVE_KEYBOARD_SHORTCUT_GROUP = 'REMOVE_KEYBOARD_SHORTCUT_GROUP'
export const ADD_KEYBOARD_SHORTCUT =... |
var growly = require('../lib/growly.js');
var notifications = [
{ label: 'muffin', dispname: 'Muffin' },
{ label: 'cake', dispname: 'Cake' }
],
muffinopts = { label: 'muffin', icon: 'muffin.png' },
cakeopts = { label: 'cake', title: 'Cake is ready!', icon: 'cake.png', sticky: true };... |
var path = require('path');
var utils = require('./utils');
var webpack = require('webpack');
var config = require('../config');
var merge = require('webpack-merge');
var baseWebpackConfig = require('./webpack.base.conf');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var ExtractTextPlugin = require('extract-... |
deepmacDetailCallback("c8028f000000/24",[{"d":"2016-06-22","t":"add","a":"Room B706ï¼Met Plaza, No.268 Tongxie Road, Changning District\nShanghai 200335\n\n","c":"CN","o":"Nova Electronics (Shanghai) Co., Ltd."},{"d":"2016-06-24","t":"change","a":"Room B706, 7th Floor, MET Plaza, No.268 Tongxie Road Shanghai Changn... |
/**
* Created by Orz on 2018/5/08.
*/
import React, { Component } from 'react'
import { StyleSheet, SafeAreaView } from 'react-native'
import Table from '../index.js'
export default class App extends Component {
constructor(props) {
super(props)
this.state = {
header: ['id', 'name'],
body: [[1,... |
import { derived, writable } from "svelte/store";
const WS_URL = `ws://${window.location.hostname}:3000/ws`;
import { Ws } from "./ws.js";
export const user = writable({});
export const ws = new Ws(WS_URL, user);
export const sendWsMessage = (message) => {
return ws.sendReq(message);
};
export const isLoggedIn =... |
"use strict";
function LockedInspector(parent, object)
{
Inspector.call(this, parent, object);
// Name
this.form.addText(Locale.name);
this.name = this.form.addText("");
this.form.nextRow();
// Type
if(Editor.settings.general.showType)
{
this.form.addText(Locale.type);
this.type = this.form.addText("");
... |
import React from 'react';
import PropTypes from 'prop-types';
import Helmet from 'react-helmet';
const SEO = ( { author, description, lang, meta, metaTitle, keywords, title } ) => {
return (
<Helmet
htmlAttributes={ { lang } }
title={ title }
titleTemplate={ `%s | ${ metaTitle }` }
meta=... |
// @flow
export default {
checkedBg: '#737373',
defaultBg: '#f9f9f9',
defaultBgStart: '#fff',
defaultBgEnd: '#ebebeb',
defaultShadow: [
['0 1px 0 0 rgba(0, 0, 0, 0.15)'],
['0 0 0 1px rgba(0, 0, 0, 0.15)']
],
defaultShadowArrow: '1px -1px 0 0 rgba(0, 0, 0, 0.15)',
defaultHoverBgStart: '#f2f2f2',... |
/*=========================================================================================
File Name: line-multi-axis.js
Description: Chartjs multi axis line chart
----------------------------------------------------------------------------------------
Item Name: Stack - Responsive Admin Theme
Auth... |
import { all } from 'redux-saga/effects';
import applicationSaga from './application';
import contentSaga from './content';
import schemaSaga from './schema';
import { watchDblogRequests } from './reports';
import { watchRequestedRolesWithCancel } from './roles';
export default function* rootSaga() {
yield all([
... |
'use strict';
var defaults = require('lodash.defaults');
var through = require('through2');
var map = require('through2-map');
var gs = require('glob-stream');
var File = require('vinyl');
var getContents = require('./getContents');
var getStats = require('./getStats');
var formatStream = map.ctor({
objectMode: tr... |
// export { ElementService } from './Element'
export { ModuleElementService } from './ModuleElement'
export { RoleService } from './Role'
export { ModuleService } from './Module'
export { ResourceAuthorityService } from './ResourceAuthority'
export { UserService } from './User'
export { GateLogService } from './GateLog... |
import React from 'react';
// import DatePicker from 'react-date-picker';
import DayPicker from 'react-day-picker';
import 'react-day-picker/lib/style.css';
export default class SingleCal extends React.Component {
constructor(props) {
super(props);
this.handleDayClick = this.handleDayClick.bind(this);
... |
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ramjet=e()}(this,function(){"use strict";function t(){L||document.body.appendChild(I),L+=1}function e(){L-=1,L||document.body.removeChild(I)}function n(t){for(var e=1;t instanceof Ele... |
const secp256k1 = require(`secp256k1`);
const cryptoUtils = require(`./crypto-utils`);
class Multisig {
// TODO: Error handling (class-wide)
/**
* @param {String} msg Message
*/
constructor(msg) {
this.msg = null;
this.formattedMsg = null;
this.signatures = {};
if (msg) {
this.setMs... |
module.exports = {
extends: 'eslint:recommended',
env: {
node: true,
es6: true
},
rules: {
'no-console': 0
}
}
|
const { Schema, model} = require("mongoose");
const ReceitaSchema = new Schema({
nomeReceita:{
type: String,
required: true,
},
ingredientes: {
type: Array,
required: true,
},
modoPreparo:{
type:String,
required: true,
},
infoNutri:{
t... |
module.exports={A:{A:{"2":"J E F G A B lB"},B:{"2":"C K L D M N O","194":"P Q R U V W X Y Z a b c S d e H"},C:{"2":"0 1 2 3 4 5 6 7 8 9 mB dB I f J E F G A B C K L D M N O g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB eB KB fB LB MB T NB OB PB QB RB SB TB UB VB WB XB YB ZB aB P Q R nB U V W X Y ... |
/*******************************************************************************
* (c) Copyright 2017 Hewlett Packard Enterprise Development LP 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 ... |
const EventEmitter = require('events').EventEmitter; //node 0.10 compatibility;
const Db = require('./db');
const plans = require('./plans');
class Boss extends EventEmitter{
constructor(config){
super();
this.db = new Db(config);
this.config = config;
this.archiveCommand =... |
(function(e, a) { for(var i in a) e[i] = a[i]; if(a.__esModule) Object.defineProperty(e, "__esModule", { value: true }); }(exports,
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ([
/* 0 */
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var __importDe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.