text
stringlengths
2
1.04M
// SHA-256 function from // https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest export async function sha256(str) { // We transform the string into an arraybuffer. const buffer = str2ab(str) return crypto.subtle.digest('SHA-256', buffer).then(function(hash) { return hex(hash) }) } function...
const filterInput = document.getElementById("filterInput"); document.addEventListener("DOMContentLoaded", function(event) { registerEventListeners(); }); function registerEventListeners() { filterInput.addEventListener("keyup", filterVenues); } function filterVenues(e) { const text = e.target.value.toLowerCase...
import { Component, Fragment } from 'inferno'; import { useBackend, useLocalState } from '../backend'; import { Box, Button, Flex, Grid, Icon, LabeledList, Modal, NoticeBox, Section, Table, Tabs } from '../components'; import { NtosWindow } from '../layouts'; const CONTRACT_STATUS_INACTIVE = 1; const CONTRACT_STATUS_A...
/** * @copyright 2016-2019, Miles Johnson * @license https://opensource.org/licenses/MIT */ import Email, { EmailProps } from './Email'; import EmailMatcher from './EmailMatcher'; import Hashtag, { HashtagProps } from './Hashtag'; import HashtagMatcher from './HashtagMatcher'; import IpMatcher from './IpMatche...
export default { menu: [ { key: 'node', to: '/node/', title: { id: 'node', default: 'Node' } }, { key: 'contact', to: '/node/', title: { id: 'contacts', default: 'Contacts' }, subtype: 'contact', count: 'contacts',...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
/* String Column Sizes Information * (From: https://github.com/TryGhost/Ghost/pull/7932) * * Small strings = length 50 * Medium strings = length 191 * Large strings = length 1000-2000 * Text = length 65535 (64 KiB) * Long text = length 1,000,000,000 */ module.exports = { posts: { id: {type: 'string'...
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'preview', 'eu', { preview: 'Aurrebista' } );
const { html, Component } = require('htm/preact'); const { dispatch } = require('../lib/state/zeroFux'); const timeout = require('../lib/timeout'); // Notifcation component. class Notification extends Component { state = { fadeOut: false }; async componentDidMount() { const { time } = this.props.notification;...
module.exports = function() { return async context => { const res = await context.app.service('authentication').create({ strategy: 'local', phone: context.data.phone, password: context.data.password, }); return context; }; };
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _CanvasPoster = _interopRequireDefault(require("./components/CanvasPoster")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } /* * @Author: foxfly * @Co...
const Base = require('./base'); class Component extends Base { // 配置 getDefaultCfg() { return { // 顶层标志位 _id: null, // 用于动画 // 容器 canvas: null, container: null, // html,可选 group: null, // G Group,可选 // 交互属性 capture: false, // props coord: null, ...
/*! * Bootstrap-select v1.7.7 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) */ !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"ob...
/* * SignUpPage */ import React, { useEffect, memo, useState } from 'react' import PropTypes from 'prop-types' import { Helmet } from 'react-helmet' import { injectIntl, FormattedMessage, FormattedHTMLMessage } from 'react-intl' import { connect } from 'react-redux' import { bindActionCreators, compose } from 'redu...
export class Conta{ constructor(saldoInicial, cliente, agencia) { if (this.constructor == "Conta") { throw new Error("Você não deveria instanciar uma conta desse tipo diretamente."); } this._saldo = saldoInicial; this._cliente = cliente; this._agencia = agencia; ...
//# sourceMappingURL=chunk-55fde8c5.33483109.js.map
var gulp = require('gulp'); var source = require('vinyl-source-stream'); var browserify = require('browserify'); var exec = require('child_process').exec; var http = require('http'); var st = require('st'); var Router = require('routes-router'); var main = require('./package.json').main; gulp.task('watch', function()...
import i18n from '@/core/plugins/vue-i18n' const MenuQuy = () => import('../../views/PhanHe/Quy/Menu') const MenuMuaHang = () => import('../../views/PhanHe/MuaHang/Menu') const MenuBanHang = () => import('../../views/PhanHe/BanHang/Menu') const MenuNganHang = () => import('../../views/PhanHe/NganHang/Menu') const Menu...
'use strict' /* eslint-env mocha */ /* eslint-disable no-unused-expressions */ const { expect } = require('chai') const { cleanup, clientConnect, parallel, startService } = require('./testutils') const { cleanupTimeout, user1, user2, user3, roomName1 } = require('./config') module.exports = function () { ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[9],{4886:function(t,a,i){"use strict";i.r(a);var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[i("figure",[i("q-zoom",{attrs:{"background-color":"blue-grey-1",scale:"","initial-scale":5,"no-wheel-scale":""}},[i("img",{staticClass:"m...
import { Clock, LinearFilter, Mesh, OrthographicCamera, PlaneBufferGeometry, RGBAFormat, Vector2, WebGLRenderTarget } from "../../../build/three.module.node.js"; import { CopyShader } from "../shaders/CopyShader.js"; import { ShaderPass } from "../postprocessing/ShaderPass.js"; import { MaskPass } from "../post...
var class_subclone_seeker_1_1_subclone = [ [ "Subclone", "class_subclone_seeker_1_1_subclone.html#a966cdc066da8f49c184ae6741ed74e36", null ], [ "addEventCluster", "class_subclone_seeker_1_1_subclone.html#adfea140ad531ba7ea4dfab378950b7bb", null ], [ "bindObjectToStatement", "class_subclone_seeker_1_1_subclo...
async function asdf() { (await 1) || (await 2); (await b)(); new (await b)(); true ? await 1 : await 2; await (1 ? 2 : 3); await await 1; await (a || b); } async function a(b) { (await xhr({ url: "views/test.html" })).data; }
var bip39 = require('bip39'); var hdkey = require('hdkey'); var ethUtil = require('ethereumjs-util'); //const mnemonic: string = bip39.generateMnemonic() var mnemonic = 'prepare wide tomorrow congress order purpose awesome fiscal quantum lizard wonder story'; var seed = bip39.mnemonicToSeed(mnemonic); setTimeout(funct...
'use strict'; const manager = require('simple-node-logger').createLogManager(); const logger = manager.createLogger('[database]'); logger.setLevel('debug'); function save(data) { logger.debug(`save`); } function get(index) { logger.debug(`get, index=${index}`); return 'result for index=' + index; } modul...
//functions in here will attach commands to the buttons and execute those commands via an XMLHttpRequest function attachButtons(){ //attach commands to all the buttons //do I need to do this for touch also? //pan d3.selectAll('.pan').on('click',function(){ var dir = d3.select(this).attr('id'); moveWWT(dir); ...
var helper = require('./specHelper'); var crypto = require('crypto'); describe("crypto diffie-hellman", function() { it( "should be able to get groups by name", function() { var g = crypto.getDiffieHellman( "modp2" ); expect( g ).not.toBe( undefined ); expect( g.generateKeys().length ).toBe( 128 ); ...
"use strict"; var publishLast_1 = require('../operators/publishLast'); /** * @return {ConnectableObservable<T>} * @method publishLast * @owner Observable */ function publishLast() { //TODO(benlesh): correct type-flow through here. return publishLast_1.publishLast()(this); } exports.publishLast = publishLast...
import React from "react"; import Dropdown from 'react-dropdown'; import 'react-dropdown/style.css'; import "assets/scss/eris.scss"; import { Card, CardHeader, CardBody, CardTitle, Row, Col, } from "reactstrap"; import overviewLogo from "../assets/img/hitachi_vantara/svg/overview.svg"; import 'react-bootstr...
(function( factory ) { if ( typeof define === "function" && define.amd ) { define( ["jquery", "../jquery.validate"], factory ); } else if (typeof module === "object" && module.exports) { module.exports = factory( require( "jquery" ) ); } else { factory( jQuery ); } }(function( $ ) { /* * Translated default ...
/** * @author mrdoob / http://mrdoob.com/ * @author greggman / http://games.greggman.com/ * @author zz85 / http://www.lab4games.net/zz85/blog * @author kaypiKun */ import { LinearFilter, Mesh, OrthographicCamera, PerspectiveCamera, PlaneBufferGeometry, RGBFormat, Scene, ShaderMater...
export const UPDATE_GLOBAL_USER_IN_GROUP_INVALID = 'UPDATE_GLOBAL_USER_IN_GROUP_INVALID'; export const UPDATE_GLOBAL_USER_IN_GROUP_REQUESTING = 'UPDATE_GLOBAL_USER_IN_GROUP_REQUESTING'; export const UPDATE_GLOBAL_USER_IN_GROUP_SUCCESS = 'UPDATE_GLOBAL_USER_IN_GROUP_SUCCESS'; export const UPDATE_GLOBAL_USER_IN_GRO...
Undo = {} const { HTMLProjectionNode, sync, buildTransform, animateDelta, addScaleCorrector, correctBoxShadow, correctBorderRadius, htmlVisualElement, } = Projection addScaleCorrector({ borderRadius: { ...correctBorderRadius, applyTo: [ "borderTopLeftRad...
import PageLayout from './src/components/page-layout'; import React from 'react'; export const onRenderBody = ( {setPostBodyComponents, setHeadComponents}, {ffWidgetId} ) => { if (ffWidgetId) { setHeadComponents([ <script key="feedback" dangerouslySetInnerHTML={{ __html: ` ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[142],{2371:function(module,exports,__webpack_require__){module.exports=__webpack_require__(12)("biL7")}}]); //# sourceMappingURL=react-syntax-highlighter_languages_refractor_xquery.662822987faa05fa847b.bundle.js.map
'use strict'; const { MessageEmbed, } = require('discord.js'); function buildEmbedAnswerTemplate(text, author, footer, color='#AFFF00') { let embed = new MessageEmbed() .setAuthor(...(typeof author === 'string') ? [author] : author) .setColor(color) .setDescription('**' + text + '**') .se...
import React from "react" import { useStaticQuery, graphql } from "gatsby" import Img from "gatsby-image" /* * This component is built using `gatsby-image` to automatically serve optimized * images with lazy loading and reduced file sizes. The image is loaded using a * `useStaticQuery`, which allows us to load the ...
function capitalizeTheWords(input) { console.log(input.split(' ').map(x => x.toLowerCase()).map(x => x.charAt(0).toUpperCase() + x.slice(1)).join(' ')); }
import React from 'react'; import { useDispatch } from 'react-redux'; import PropTypes from 'prop-types'; import OfferItem from './OfferItem'; import Pagination from './Pagination'; function OfferList ({ data }) { const dispatch = useDispatch(); const [pageList, setPageList] = React.useState([]); const...
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { animate, style, transition, trigger } from '@angular/animations'; import { Platform } from '@angular/cdk/platform'; import { DOCUMENT ...
const mixinProps = { props: { size: { type: String, default() { return 'default'; } }, theme: { type: String, default() { return 'default'; } }, disabled: { typ...
module.exports.blendini = { serialPort: '/dev/ttyAMA0' };
/*! * @copyright Copyright (c) 2016 IcoMoon.io * @license Licensed under MIT license * See https://github.com/Keyamoon/svgxuse * @version 1.1.23 */ (function(){if(window&&window.addEventListener){var e=Object.create(null),l,r,d=function(){clearTimeout(r);r=setTimeout(l,100)},p=function(){},t=functio...
/** * DevExtreme (animation/presets/presets.js) * Version: 19.1.5 * Build date: Tue Jul 30 2019 * * Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var Component = require("../../core/component"), ...
/** * @author 薛定谔的猫<hh_2013@foxmail.com> * @copyright 2017 薛定谔的猫. All rights reserved. * See LICENSE file in root directory for full license. */ 'use strict' // ------------------------------------------------------------------------------ // Requirements // --------------------------------------------------------...
$("#tos").on("click", function(event) { if ($("#tos").hasClass("index")) { window.open("privacy/tou.html","_self"); } else { window.open("../privacy/tou.html","_self"); } }); $("#priv").on("click", function(event) { if ($("#priv").hasClass("index")) { window.o...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transformArguments = exports.IS_READ_ONLY = void 0; exports.IS_READ_ONLY = true; function transformArguments(pattern) { const args = ['PUBSUB', 'CHANNELS']; if (pattern) { args.push(pattern); } return args; } ex...
/* eslint-disable */ import { createMacro } from 'babel-plugin-macros'; import icons from '@ibmduo/icons/ibm-icons.json'; import { iconTemplate } from './templates'; import { converge, identity, propEq, pipe, find, __, filter, join, map, lensPath, view, defaultTo, prop, } from 'ramda'; /**...
angular.module('portainer.app') .factory('ContainersInterceptor', ['$q', 'EndpointProvider', function ($q, EndpointProvider) { 'use strict'; var interceptor = {}; interceptor.responseError = responseErrorInterceptor; function responseErrorInterceptor(rejection) { if (rejection.status === 502 |...
import React from "react"; import { Router } from "react-router-dom"; import { ToastContainer } from "react-toastify"; import GlobalStyles from "./styles/global"; import "bootstrap/dist/css/bootstrap.min.css"; import Routes from "./routes"; // import Header from './components/Header'; import './config/ReactotronConfi...
'use strict'; const Alexa = require("alexa-sdk"); var data = require('./data.js'), config = require('./config.js'); exports.handler = function(event, context) { const alexa = Alexa.handler(event, context); alexa.appId = config.alexaAppId; alexa.registerHandlers(handlers); alexa.execute(); }; const...
/** * @name VueJS VueCore Store (vue-core-store) * @description Library for Vue.js 2.0 */ // Vuex import VuexLoad from '@/vuex/modules/load' import VuexGetters from '@/vuex/getters' import VuexActions from '@/vuex/actions' import VuexMutations from '@/vuex/mutations' export { VuexLoad, VuexGetters, VuexAction...
import React from 'react'; import PropTypes from 'prop-types'; import { Container } from './styles'; function Button({ children, ...rest }) { return ( <Container type="button" {...rest}> {children} </Container> ); } Button.propTypes = { children: PropTypes.any.isRequired, }; export default Butto...
import { refreshQuestions, paginateQuestions, } from '@codetanzania/emis-api-states'; import { Button, Checkbox, Col, Pagination, Row } from 'antd'; import PropTypes from 'prop-types'; import React from 'react'; import { notifyError, notifySuccess } from '../../../../util'; import './styles.css'; /** * @function ...
import React, { Component } from 'react'; import { Link, Navigate } from 'react-router-dom'; import { connect } from 'react-redux'; import { profilUserAction } from '../actions/authenticationActions'; class ProfilPage extends Component { onHandleRegistration = (event) => { event.preventDefault(); let name ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{498:function(a,s,t){"use strict";t.r(s);var r=t(9),i=Object(r.a)({},(function(){var a=this,s=a.$createElement,t=a._self._c||s;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h1",{attrs:{id:"flashair-sd-产品"}},[t("a",{staticClass:"hea...
/** * Created by meetsc on 27/11/16. */ /*! Hammer.JS - v2.0.8 - 2016-04-23 * http://hammerjs.github.io/ * * Copyright (c) 2016 Jorik Tangelder; * Licensed under the MIT license */ //# sourceMappingURL=hammer.min.js.map
import { attachIdSystem, auctionDelay, init, requestBidsHook, setSubmoduleRegistry, syncDelay } from 'modules/userId/index.js'; import {config} from 'src/config.js'; import * as utils from 'src/utils.js'; import events from 'src/events.js'; import CONSTANTS from 'src/constants.json'; import {unifiedIdSubmod...
import SamsungRemote from 'node-samsung-remote'; const exec = require('child_process').exec; const IP = '192.168.1.138'; export const isOn = () => new Promise(resolve => { exec(`ping -c 1 ${IP}`, error => { resolve(!error); }); }); export const turnOff = () => new Promise(resolve => { const r...
module.exports = { can: require('./can'), toAuthorizedJSON: require('./to-authorized-json'), useReqUser: require('./use-req-user'), hasRole: require('../lib/hasRole'), };
var express = require('express'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'); var TVDB = require('node-tvdb'); var async = require('async'); var _ = require('lodash'); var Poster = require('../models/posters'); var Verify = require('./verify'); var posterRouter = express.Router(); ...
// ufuzz.js // derived from https://github.com/qfox/uglyfuzzer by Peter van der Zee "use strict"; // check both CLI and file modes of nodejs (!). See #1695 for details. and the various settings of uglify. // bin/uglifyjs s.js -c && bin/uglifyjs s.js -c passes=3 && bin/uglifyjs s.js -c passes=3 -m // cat s.js | node &&...
import React from "react"; import Footer from "../components/footer.js"; import NavHeader from "../components/navheader" export default ({ children }) => ( <div> <NavHeader /> {children} <Footer /> </div> )
import React from 'react' import renderer from 'react-test-renderer' import data from 'sample-chart-data' import HorizontalBarChart from '~components/charts/horizontal-bar-chart' describe('Components : Charts: Area chart', () => { it('renders correctly', () => { const tree = renderer .create( <Hori...
const STYLE = { action: 'font-weight:bold;font-size:1.1em', state: 'color:blue;', }; /** * @function logger * @description Redux Middleware for logging all actions and upcoming state * @param store * @returns {function} */ export default function logger(store) { return (next) => { return (action) => { let...
export default (onStop, onScroll=false, delay=66) => { var isScrolling window.addEventListener('scroll', ()=> { if( typeof onScroll === 'function' && onScroll() ) { onScroll(); } window.clearTimeout(isScrolling) isScrolling = setTimeout(()=> { if( typeof onStop === 'function' && onSt...
// ==UserScript== // @name Mope.io free bots // @namespace OP-Bots free // @version 1.0.0 // @description Mope.io bots // @author SizRex, Neon, NuclearC, Maf1oZRex, MrShadow, Xenon -> OP Bots Team // @match *://mope.io/* // @grant none // ==/UserScript== ((target) => { class c...
/** * Gets an element from the document based on if * @param {String} id * @returns {Element} */ export const getElement = (id) => { const element = document.getElementById(id); return element; };
jest.mock('../index', () => ({ plugin: jest.fn() })); jest.unmock('/src/index'); require('jasmine-expect'); const runner = require('../index'); const plugin = require('/src/index'); describe('plugin:projextRunner', () => { it('should register all the services', () => { // Given const app = 'projextApp'; ...
//// [privateNameNestedClassFieldShadowing.ts] class Base { #x; constructor() { class Derived { #x; testBase(x: Base) { console.log(x.#x); } testDerived(x: Derived) { console.log(x.#x); } } } } ////...
/** * @fileoverview added by tsickle * Generated from: languages/time-picker/sl_SI.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Alibaba.com All Rights Reserved. * * Use of this source code is...
/** PURE_IMPORTS_START _symbol_observable PURE_IMPORTS_END */ import { observable as Symbol_observable } from '../symbol/observable'; /** * Subscribes to an object that implements Symbol.observable with the given * Subscriber. * @param obj An object that implements Symbol.observable */ export var subscribeToObserva...
import Ember from 'ember'; export default Ember.Component.extend({ maps: Ember.inject.service(), didInsertElement() { this._super(...arguments); let location = this.get('location'); let mapElement = this.get('maps').getMapElement(location); this.$('map-container').append(mapElement); } });
macDetailCallback("70b3d526d000/36",[{"d":"2019-06-13","t":"add","s":"ieee-oui36.csv","a":"Unit 12 Magreal ind. est Ladywood, Birmingham West Midlands GB B16 0QZ","c":"GB","o":"Sorion Electronics ltd"}]);
username = "gptesting"; password = "test12341234"; database = "burgers_db"; port = "3306"; host = "database-1.cm4p7piy3acq.us-west-1.rds.amazonaws.com"; module.exports = { username, password, database, port, host };
import React from 'react'; class Footer extends React.Component{ render(){ let styles = { fontSize: '18px', color: '#fff', backgroundColor: '#607D8B', fontWeight: 'bold', padding: '20px 10px', marginTop: '30px', textAlign: 'right' } return( <div style={styl...
// window._ = require('lodash'); /** * We'll load jQuery and the Bootstrap jQuery plugin which provides support * for JavaScript based Bootstrap features such as modals and tabs. This * code may be modified to fit the specific needs of your application. */ // try { // window.Popper = require('popper.js').defa...
/* * @license * angular-socket-io v0.6.1 * (c) 2014 Brian Ford http://briantford.com * License: MIT */ angular.module('btford.socket-io', []). provider('socketFactory', function () { 'use strict'; // when forwarding events, prefix the event name var defaultPrefix = 'socket:', ioSocket; ...
/////////////////////////////////////////////////////////////////////////////// // Property Adder extension to be used to add properties to components // by Denis Grigor, March 2019 // /////////////////////////////////////////////////////////////////////////////// class PropertyAdderExtension extends Autodesk.Viewing....
import React, {Component} from 'react'; import PropTypes from 'prop-types'; import {withStyles} from '@material-ui/core/styles'; // Import custom components import MiniDrawer from '../drawer/MiniDrawer'; const styles = theme => ({ root: { width: '100%', height: 'auto', zIndex: 1, o...
/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; var React = require('react-native'); var SearchBar = require('react-native-search-bar'); var SearchBarExample = React.createClass({ render: function() { return ( <SearchBar placeholder='Search' te...
import consts from './consts'; import { createElement, classNames, getParsedDate, isSameDate, isDateSmaller, isDateBigger, isDateBetween, } from './utils'; import './datepickerCell.scss'; export default class DatepickerCell { constructor({type, date, dp, opts, body} = {}) { thi...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Body = Matter.Body; let engine; let world; var ball; var ground; var wall,wedge var angle=60 function setup() { createCanvas(400,400); engine = Engine.create(); world = engine.world; var ball_options = { rest...
document.getElementById('purple').onclick = partyPurple document.getElementById('green').onclick = partyGreen document.getElementById('blue').onclick = partyBlue document.getElementById('black').onclick = partyBlack function partyPurple() { document.querySelector('body').style.backgroundColor = 'rgba(241,63,247,1)'...
import React, {Component} from 'react'; import {Text, View} from 'react-native'; import Calendar from '../calendar'; import styleConstructor from './style'; class CalendarListItem extends Component { static displayName = 'IGNORE'; static defaultProps = { hideArrows: true, hideExtraDays: true }; co...
// var model = { // boardSize: 7, // numShips: 3, // shipLength: 3, // shipsSunk: 0, // // ships: [ // { locations: [0, 0, 0], hits: ["", "", ""] }, // { locations: [0, 0, 0], hits: ["", "", ""] }, // { locations: [0, 0, 0], hits: ["", "", ""] } // ], // // // original ha...
angular.module('MyApp') .controller('HomeCtrl', function($scope, $http) { });
module.exports = 'this is a file mock'
/*********************************************************************************************************** * @Author : nanyuantingfeng **********************************************************************************************************/ var app, page, nf; nf = sm("do_Notification"); app = sm("do_App"); page =...
import React from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; import variables from '../../common/styles/variables'; import Tree from '../../common/utils/Tree'; import { Icon } from '../../components/Icon'; import treeViewStyles from './styles'; export class TreeView extends React.Component { ...
import React from 'react'; import ServiceOne from '../elements/ServiceOne'; const HomeSlider = ({ data }) => ( <div className="slider-activation"> <div className="slide slide-style-1 slider-fixed--height d-flex align-items-center bg_image bg_image--1" data-black-overlay="6" > <div className...
// 'use strict'; // var Extensions = require('periodicjs.core.extensions'), // ExtensionCore = new Extensions({ // dirname: __dirname // }); // ExtensionCore.install({ // }, // function (err, status) { // if (err) { // throw new Error(err); // } // else { // console.log(status); // } // }); // //...
/** * @license Copyright 2017 The Lighthouse 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 required by applica...
/* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable import/no-commonjs */ require('v8-compile-cache'); const { app, BrowserWindow, ipcMain, protocol, screen, session } = require('electron'); const path = require('path'); const Store = require('electron-store'); const args = process.argv.slice(1...
/* * @flow * Copyright (C) 2018 MetaBrainz Foundation * * This file is part of MusicBrainz, the open internet music database, * and is licensed under the GPL version 2, or (at your option) any * later version: http://www.gnu.org/licenses/gpl-2.0.txt */ import * as React from 'react'; import {ArtistResultsInlin...
// sql语句 // sqlMap.js——SQL 语句映射文件,供 API 调用 var sqlMap = { user: { add: 'insert into user(userName,password) values (?,?)' } } module.exports = sqlMap
/* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a different devtool...
import React, { useState, useEffect } from "react"; import { Drawer, IconButton, List } from "@material-ui/core"; import { Home as HomeIcon, Person as PersonIcon, NotificationsNone as NotificationsIcon, FormatSize as TypographyIcon, FilterNone as UIElementsIcon, BorderAll as TableIcon, QuestionAnswer as S...
var CopyInterceptorPolicy = draw2d.policy.canvas.SingleSelectionPolicy.extend({ init : function() { this._super(); this.cloneOnDrag = false; }, /** * @method * * @param {draw2d.Canvas} canvas * @param {Number} x the x-coordinate of the mouse down event ...
module.exports = (connection, DataTypes) => { const ImagemGaleria = connection.define( "ImagemGaleria", { id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true, }, produto_id: { type: DataTypes.INTEGER, }, img_url: { type: Da...