text stringlengths 2 1.04M |
|---|
/* eslint-env node */
'use strict';
var fs = require('fs');
var path = require('path');
var MergeTrees = require('broccoli-merge-trees');
var Funnel = require('broccoli-funnel');
module.exports = {
name: 'ember-data-factory-guy',
// borrowed from ember-cli-pretender
_findPretenderPaths: function() {
if (!th... |
/**
* Layout component that queries for data
* with Gatsby's useStaticQuery component
*
* See: https://www.gatsbyjs.com/docs/use-static-query/
*/
import * as React from "react"
import { useStaticQuery, graphql } from "gatsby"
import "./layout.css"
import Navbar from "./Navbar"
import { GlobalStyle } from "./style... |
;(function($){
'use strict';
$(function(){
/* ---------------------------------------------------- */
/* Revolution slider */
/* ---------------------------------------------------- */
if ($('#header').hasClass('style-2')) {
if ($('#rev-slider').length) {
jQuery("#rev-slider").revol... |
const subManager = new SubsManager();
const { calculateIndex, enableClickOnTouch } = Utils;
Template.boardListHeaderBar.events({
'click .js-open-archived-board'() {
Modal.open('archivedBoards');
},
});
Template.boardListHeaderBar.helpers({
title() {
return FlowRouter.getRouteName() === 'home' ? 'my-boar... |
var StorageService = require('../').StorageService;
var express = require('express');
var app = express();
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.set('view engine', 'ejs');
// Create the container
var mkdirp = require('mkdirp');
mkdirp.sync('/tmp/storage/con1');
var h... |
//# sourceMappingURL=webpack-runtime-352b09480a4a1a4681bc.js.map |
import { connect } from 'react-redux';
import { bindActionCreators, compose } from 'redux';
import { createStructuredSelector } from 'reselect';
import injectReducer from '../../utils/injectReducer';
import injectSaga from '../../utils/injectSaga';
import { makeSelectLocation } from '../App/selectors';
import {
makeS... |
import React from 'react';
import Sass from './FormProductsAdmin.sass';
import EditElementService from "./../../../../Services/Admin/Products/EditProduct";
import AddElementService from "./../../../../Services/Admin/Products/AddProduct";
class FormProductsAdmin extends React.Component {
constructor(props) {
super... |
import { Link } from "gatsby"
import React from "react"
function getStyleForPath(activePath, tabType) {
if (activePath === "/" && tabType === "director") {
return "black"
}
if (activePath === "/creative-director/" && tabType === "creative-director") {
return "black"
}
if (activePath === "/contact/"... |
var searchData=
[
['icon_2898',['icon',['../classgui__framework_1_1utility_1_1_base_loadable_holder.html#a4a51f316eaed8d199b7faa998ca407bfabaec6461b0d69dde1b861aefbe375d8a',1,'gui_framework::utility::BaseLoadableHolder::icon()'],['../namespacegui__framework_1_1utility.html#a4bd7b1a1121bbfb16d0a1f9b4ba266deabaec6461b0... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.createREGL = factory());
}(this, (function () { 'use strict';
var isTypedArray = function (x) {
return (
x i... |
/*
* Backpack - Skyscanner's Design System
*
* Copyright 2018 Skyscanner Ltd
*
* 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
*
* Un... |
'use strict';
var nil = require('is-nil');
module.exports = function (options) {
if (nil(options) || nil(options.likelihood)) {
return Math.random() >= 0.5;
}
return Math.random() * 100 < options.likelihood;
}; |
sap.ui.define(['sap/ui/webc/common/thirdparty/base/asset-registries/Icons'], function (Icons) { 'use strict';
const name = "restart";
const pathData = "M16 256l50-96 46 96H80q0 40 15 75t41 61.5 61 41.5 75 15 75-15 61-41 41-61 15-75-15-75-41-61-61-41-75-15V33q47 0 87.5 17.5t71 48 48 71T496 257q0 46-17.5 87t-48 71.5-7... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var errors = require("../errors");
var StringUtils = /** @class */ (function () {
function StringUtils() {
}
StringUtils.isNullOrWhitespace = function (str) {
return typeof str !== "string" || str.trim().length === 0;
}... |
require('dotenv').config()
const fs = require('fs')
const lighthouse = require('lighthouse')
const ReportGenerator = require('lighthouse/lighthouse-core/report/report-generator');
const chromeLauncher = require('chrome-launcher')
const opn = require('opn')
let siteUrl = process.env.DEV_URL
if ( process.env.LIGHTHOUSE_... |
// All symbols with the `Logical_Order_Exception` property as per Unicode v7.0.0:
[
'\u0E40',
'\u0E41',
'\u0E42',
'\u0E43',
'\u0E44',
'\u0EC0',
'\u0EC1',
'\u0EC2',
'\u0EC3',
'\u0EC4',
'\uAAB5',
'\uAAB6',
'\uAAB9',
'\uAABB',
'\uAABC'
]; |
/**
* This file only purpose is to execute any build related tasks
*/
const { resolve, normalize } = require('path');
const { readFileSync, writeFileSync } = require('fs');
const pkg = require('../package.json');
const ROOT = resolve(__dirname, '..');
const TYPES_ROOT_FILE = resolve(ROOT, normalize(pkg.typings));
... |
import {List, ListWrapper} from 'facade/collection';
import {DOM} from 'facade/dom';
import {CompileElement} from './compile_element';
import {CompileStep} from './compile_step';
/**
* Controls the processing order of elements.
* Right now it only allows to add a parent element.
*/
export class CompileControl {
_... |
var loadTimer = performance.now();
var uiConfig;
var uiManager;
var conf = {
key: 'e28cc092-28eb-4f25-aa30-ed9e5b878668',
source: {
title: sources.live.title,
hls: sources.live.hls
},
style: {
ux: false
},
playback: {
autoplay: false,
playsInline: true
},
l... |
//>>built
define({"widgets/Splash/nls/strings":{_widgetLabel:"\u0e40\u0e01\u0e23\u0e34\u0e48\u0e19\u0e19\u0e33",welcomeMessage:"\u0e22\u0e34\u0e19\u0e14\u0e35\u0e15\u0e49\u0e2d\u0e19\u0e23\u0e31\u0e1a\u0e2a\u0e39\u0e48 ArcGIS Web Application!",licenceAgree:"\u0e09\u0e31\u0e19\u0e15\u0e01\u0e25\u0e07",licenceTerm:"\u0e4... |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var mongoose = require('mongoose');
var cors = require('cors');
var index = require('./routes/index... |
'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');
var yosay = require('yosay');
var chalk = require('chalk');
var _ = require('underscore.string');
/**
* Initialization Function.
*/
var AMS = module.exports = function Appgenerator(args, options) {
y... |
import React, { useState } from 'react'
import Slider from 'react-input-slider'
import BackgroundLayout from 'src/layouts/BackgroundLayout'
import Text from 'src/components/Text'
import Wizard from 'src/components/Wizard'
import { routes } from '@redwoodjs/router'
const CoverpagePage = () => {
const [state, setState... |
function Control (_object, type, space = "local") {
let object = _object
var transformControl = new THREE.TransformControls(camera, canvas);
transformControl.addEventListener('dragging-changed', function (event) {
orbitControl.enabled = !event.value;
});
let rotationValues = {};
transformControl.addEv... |
/**
* Contructor
*/
var configs = {};
/**
* Development configurations
*/
configs.development = {
google: {
clientId: '114004784341-bk6g9beaf47m6tlkldi22f5vg7lu1k3m.apps.googleusercontent.com',
},
facebook: {
appId: '196596601435084'
},
apple: {}
};
/**
* Staging configurations
*/
configs.stag... |
var searchData=
[
['saarinfo',['sAARInfo',['../structs_a_a_r_info.html',1,'']]],
['sccfileinfo',['sCCFileInfo',['../structs_c_c_file_info.html',1,'']]],
['semailinfo',['sEmailInfo',['../structs_email_info.html',1,'']]],
['sgeoinfo',['sGeoInfo',['../structs_geo_info.html',1,'']]],
['sledblinkconfig',['sLedBlin... |
import '../../src/less/bundles/skin/ds6/skin.less'; |
var expect = require("chai").expect;
module.exports = function(helpers) {
var targetEl = helpers.targetEl;
var component = helpers.mount(require.resolve("./index"), {
name: "Frank",
messageCount: 10
});
expect(targetEl.innerHTML).to.contain(
"Hello Frank! You have 10 new messa... |
import React, { Component } from "react";
import ReactPlayer from "react-player";
import '../../../css/home/card item page.css';
class Pristine extends Component{
render(){
return(
<div>
<div class="card-wrapper">
<div class="card-inner">
<h2>Pristine</h2>
<div class="video">
<ReactPlay... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var rollup_plugin_typescript2_1 = __importDefault(require("rollup-plugin-typescript2"));
var plugin_comm... |
import Input from './Input.jsx';
import Field from '../Field.jsx';
export default class InputField extends Field {
renderField() {
const props = this.pickProps();
props.children = undefined;
props.dangerouslySetInnerHTML = undefined;
return <Input {...props} />;
}
} |
const mkdirp = require('mkdirp');
const cleanup = require('../../utils/cleanup');
const constants = require('../../utils/generator-constants');
/* Constants use throughout */
const INTERPOLATE_REGEX = constants.INTERPOLATE_REGEX;
const DOCKER_DIR = constants.DOCKER_DIR;
const TEST_DIR = constants.TEST_DIR;
const ROOT_... |
/*
http://www.JSON.org/json2.js
2011-10-19
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE... |
// flow-typed signature: 8901cd018d80d363c24e52d86a1acdb8
// flow-typed version: <<STUB>>/webpack-cli_v^2.0.13/flow_v0.69.0
/**
* This is an autogenerated libdef stub for:
*
* 'webpack-cli'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with t... |
import { makeStyles } from '@material-ui/core';
export const useStyles = makeStyles((theme) => ({
root: {
flexGrow: 1,
width: '100%',
backgroundColor: theme.palette.background.paper
},
tmxDraws: {
width: '100%',
height: '100%',
display: 'flex',
flexDirection: 'column',
justifyCont... |
import React from 'react';
import PropTypes from 'prop-types';
const UilServer = (props) => {
const { color, size, ...otherProps } = props
return React.createElement('svg', {
xmlns: 'http://www.w3.org/2000/svg',
width: size,
height: size,
viewBox: '0 0 24 24',
fill: color,
...otherProps
}... |
//# sourceMappingURL=runtime-main.5c384bb2.js.map |
/*
* Kendo UI Complete v2013.2.918 (http://kendoui.com)
* Copyright 2013 Telerik AD. All rights reserved.
*
* Kendo UI Complete commercial licenses may be obtained at
* https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx
* If you do not own a commercial license, this file shall be gover... |
/*
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { Component, ElementRef } from '@angular/core';
import { ClrPopoverToggleService } from '../../utils/p... |
import { queryProjectNotice,queryProject, delProject, updateProject, addProject,getProjectDetail } from '@/services/api';
export default {
namespace: 'project',
state: {
notice: [],
projectList: [],
total: 0,
projectDetail: {
title: '',
state: '',
content: '',
_id: '',
},
},
effects: {
... |
module.exports = {
purge: ['./src/**/*.{js,jsx,ts,tsx}'],
darkMode: false,
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
} |
const fs = require('fs')
const path = require('path')
const chalk = require('chalk')
const tildify = require('tildify')
const AppError = require('./app-error')
exports.cwd = function (cwd, ...args) {
return path.resolve(cwd || process.cwd(), ...args)
}
exports.ownDir = function (...args) {
return path.join(__dirn... |
if (typeof wx === 'undefined') var wx = getApp().core;
var WxParse = require('../../wxParse/wxParse.js');
Page({
/**
* 页面的初始数据
*/
data: {
score: [1, 2, 3, 4, 5],
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
getApp().page.onLoad(this, options);
... |
/* Script para login de la pagina
Version 1.0
*/
$.ajaxSetup({
headers: { 'X-CSRF-Token' : $('meta[name=_token]').attr('content') }
});
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/e... |
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Goban=e()}}(function(){var define,module,exports;retu... |
import React from "react";
import { name } from "my-lib";
function App() {
return <>{name}</>;
}
export default App; |
const CONFIG = {
TRIGGER: '.menu-item-has-children > a',
ELEM: '.sub-menu',
HREF: '.sub-menu li',
CLASS: 'is-block',
ACTIVE: 'current-menu-item',
};
const submenu = {
init() {
const { TRIGGER, ELEM, CLASS, HREF, ACTIVE } = CONFIG;
this.$triggers = document.querySelectorAll(TRIGGER);
this.$elem ... |
/*!
* @overview Ember - JavaScript Application Framework
* @copyright Copyright 2011-2015 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://ra... |
function equalNeighbors(matrix) {
let equalPairs = 0
const x_matrix = matrix.length
const y_matrix = matrix[0].length
let kill_switch = false
for (let i=1; x_matrix > i; i++) {
for (let b=0; y_matrix > b; b++) {
if (matrix[i - 1][b] === matrix[i][b]) {
equalPai... |
const router = require("express").Router();
module.exports = router;
router.use("/users", require("./users"));
router.use("/products", require("./products"));
router.use("/guestcart", require("./guestCart"));
router.use("/usercart", require("./userCart"));
router.use((req, res, next) => {
const error = new Error("No... |
window.ParsleyConfig = window.ParsleyConfig || {};
(function ($) {
window.ParsleyConfig = $.extend( true, {}, window.ParsleyConfig, {
messages: {
// parsley //////////////////////////////////////
defaultMessage: "Deze waarde lijkt onjuist."
, type: {
email: "Dit lijkt geen ge... |
var img_index = [{"i":"0101/02","k":"adiri,di,diri,dzipari,gasi,gi,gihulo,gikati,gu,guya,hagana,li,mwedo,mwegyo,ndzala,ndzogo,ni,pariyaye,rana,tino,tsigu,vadiri,ya","l":"b","p":"Reginaldo Vicente Manhice"},{"i":"0101/03","k":"di,gi,gihulo,gira,gu,hagana,hi,hina,hongole,karini,kigyo,ku,moyo,ndzogo,ni,pulana,wudzisa,yi",... |
var class_digital_owl_1_1_service_1_1_services_1_1_base_1_1_base_service =
[
[ "BaseService", "class_digital_owl_1_1_service_1_1_services_1_1_base_1_1_base_service.html#ac9ee3ac5b67a3d15783bac44393cd838", null ],
[ "_mapper", "class_digital_owl_1_1_service_1_1_services_1_1_base_1_1_base_service.html#a22f26316be... |
/**
* Copyright 2018 The AMP HTML 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 require... |
import {
isPromise
} from './util.js';
import {
chooseMethod
} from './method-chooser.js';
import {
fillOptionsWithDefaults
} from './options.js';
const BroadcastChannel = function(name, options) {
this.name = name;
this.options = fillOptionsWithDefaults(options);
this.method = chooseMethod(... |
/*! Template: SaveWon v1.0.4 */
(function($){
'use strict';
var $win = $(window), $body = $('body'), $doc = $(document);
// Touch Class
if (!("ontouchstart" in document.documentElement)) {
$body.addClass("no-touch");
}
// Get Window Width
function winwidth () {
return $win.width();
}
var wwCurrent = winw... |
import VueRouter from "vue-router"
import Login from '../pages/Login.vue'
import HomePage from '../pages/HomePage.vue'
import Empty from "../pages/Empty.vue"
import Notice from '../pages/Notice.vue'
import UserInfo from '../pages/UserInfo.vue'
import ChangePasswd from '../pages/ChangePasswd.vue'
import Resource from ... |
function feed(parent, args, context, info) {
return context.prisma.link.findMany()
}
function users(parent, args, context, info) {
return context.prisma.user.findMany()
}
module.exports = {
feed,
users
} |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _gatsby = require("gatsby");
var _internals = require("./internals");
ex... |
document.getElementById('issueInputForm').addEventListener('submit', saveIssue);
function saveIssue(e) {
var issueDesc = document.getElementById('issueDescInput').value;
var issueSeverity = document.getElementById('issueSeverityInput').value;
var issueAssignedTo = document.getElementById('issueAssignedToInput').... |
// Global vars
var pymChild = null;
var isMobile = false;
var dataSeries = [];
/*
* Initialize graphic
*/
var onWindowLoaded = function() {
if (Modernizr.svg) {
formatData();
pymChild = new pym.Child({
renderCallback: render
});
} else {
pymChild = new pym.Child({... |
/**
* Copyright 2010 Google Inc.
*
* 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 applicable law or agreed t... |
// Webpack config for creating the production bundle.
const path = require('path');
const webpack = require('webpack');
const CleanPlugin = require('clean-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const hasuraConfig = require('../hasuraconfig');
const relativeAssetsPath = '../s... |
var http_host_ary=window.location.host.split('.');
http_host_ary.shift();
var http_host=http_host_ary.join('.');
var domain={
www:'http://www.'+http_host,
static:'/static',
img:'http://www.'+http_host,
kf:'http://www.'+http_host,
};
var index_obj={
index_init:function(){
$('#header').hide();
for(i=0; i<shop... |
$(document).on('click', 'th', function() {
var table = $(this).parents('table').eq(0);
var rows = table.find('tr:gt(0)').toArray().sort(comparer($(this).index()));
this.asc = !this.asc;
if (!this.asc) {
rows = rows.reverse();
}
table.children('tbody').empty().html(rows);
});
function comparer(index) {
... |
// TODO: import cornerstone from 'cornerstone';
function getImageFrame (imageId) {
const imagePixelModule = cornerstone.metaData.get('imagePixelModule', imageId);
return {
samplesPerPixel: imagePixelModule.samplesPerPixel,
photometricInterpretation: imagePixelModule.photometricInterpretation,
planarC... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2019 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
var PropertyValueInc = require('./PropertyValueInc');
/**
* Takes an array of Game Objects, or any objects that have... |
var breadcrumbs=[['-1',"",""],['2',"VitNX3 Documentation","topic_00000000000016E1.html"],['789',"VitNX3.Functions.Win32 Namespace","topic_00000000000000C6.html"],['790',"Constants Class","topic_00000000000001C1.html"],['1979',"ResultWin32 Class","topic_00000000000001F4.html"],['1982',"Fields","topic_00000000000001F4_va... |
import { PermissionStatus } from 'unimodules-permissions-interface';
import { LocationAccuracy, } from './Location.types';
import { LocationEventEmitter } from './LocationEventEmitter';
class GeocoderError extends Error {
constructor() {
super('Geocoder service is not available for this device.');
t... |
/*!
* froala_editor v1.2.3 (http://editor.froala.com)
* Copyright 2014-2014 Froala
*/
/**
* Croatian.
*/
$.Editable.LANGS['hr'] = {
translation: {
"Bold": "Masna",
"Italic": "Kurziv",
"Underline": "Crta ispod",
"Strikethrough": "Crta kroz sredinu",
"Font Size": "Veli\u010dina fonta",
"C... |
import React, { Component } from 'react'
import {Redirect} from "react-router-dom"
import axios from 'axios';
import UserService from '../services/UserService'
class comment extends Component {
constructor(props){
super(props)
this.state =
{
details: this.props.location.detai... |
import { useEffect, useState } from 'react';
import { unsplashClient } from '@services/unsplash';
import { mapPhotos } from '@utils/mappers';
import useFetch from './useFetch';
const LIST_PHOTOS_ENDPOINT = '/photos';
const useListPictures = () => {
const [photos, setPhotos] = useState();
const { data, error... |
import { createApi, fetchBaseQuery } from "@reduxjs/toolkit/query/react";
export const contactsApi = createApi({
reducerPath: "contactsApi",
baseQuery: fetchBaseQuery({
baseUrl: "https://6214258e89fad53b1f0be3dc.mockapi.io",
}),
tagTypes: ["Contacts"],
endpoints: (builder) => ({
getContacts: builder.... |
export { default as TxNotificationComponent } from './TxNotificationComponent';
export { default as NotificationListComponent } from './NotificationListComponent';
export { default as NotificationIconComponent } from './NotificationIconComponent'; |
(function() {
'use strict';
// Front
App.BeechDocumentDocumentController = App.ModuleHandlerAjaxController.extend();
App.BeechDocumentDocumentIndexController = App.BeechDocumentDocumentController.extend({
url: MM.url.module.BeechDocumentDocumentIndex
});
App.BeechDocumentDocumentNewController = App.BeechDocume... |
/*
* Copyright 2019 ThoughtWorks, Inc.
*
* 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 applicable law or agr... |
const SolveQuadraticEquation = (a, b, c) => {
let discriminant = Math.pow(b, 2) - 4 * a * c;
const solveSolution1 = () => (-b + Math.sqrt(discriminant)) / (2 * a);
if (discriminant < 0) {
throw Error(`No possible solution for quadratic equation with a: ${a}, b: ${b}, c: ${c}`)
} else if (discrim... |
/*
* wysiwyg web editor
*
* suneditor.js
* Copyright 2017 JiHong Lee.
* MIT license.
*/
'use strict';
import dialog from '../modules/dialog';
import resizing from '../modules/resizing';
import notice from '../modules/notice';
export default {
name: 'image',
display: 'dialog',
add: function (core) {
... |
const SimplePeerJs = require('simple-peerjs')
// 從Recordjs改寫的
let flag = false
const WebRTC = function (source, cfg) {
this.peer = new SimplePeerJs({
secure: true,
})
this.peerId = ''
_init.call(this)
this.context = source.context;
var config = cfg || {};
var bufferLen = config.bufferLen || 4096;
... |
webpackHotUpdate("static\\development\\pages\\index.js",{
/***/ "./pages/index.js":
/*!************************!*\
!*** ./pages/index.js ***!
\************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpac... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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 a... |
$(function () {
Vue.createApp({
template: `
<el-card>
<template #header>
<el-input v-model="text" placeholder="请输入搜索key或其描述查找"/>
</template>
<div class="box">
<section v-for="(list, title) in items">
<template v-if="list.length">
<el-divider>{{ title }}</el-divider>
<p v-for="(item, i) in list" :key="i" v-htm... |
import {useState} from "react";
import axios from "axios";
import {loadRecipeData, patchRecipeData} from "../utils/recipeAPIUtils";
const RECIPES_ROOT = "http://localhost:8000/api/recipes/";
const useRecipeState = (recipeId, setLoading) => {
const [recipe, setRecipe] = useState(null);
const loadRecipe = () =... |
import React, { useState, useEffect } from "react";
import { useParams } from "react-router-dom";
import JoblyApi from "../api/api";
import JobCardList from "../jobs/JobCardList";
import LoadingSpinner from "../common/LoadingSpinner";
/** Company Detail page.
*
* Renders information about company, along with the job... |
const any = require('./any.js');
const boolean = require('./boolean.js');
const string = require('./string.js');
const number = require('./number.js');
const object = require('./object.js');
const email = require('./email.js');
const oneOf = require('./oneOf.js');
const arrayOf = require('./arrayOf.js');
const shape = ... |
// OneBlock
angular.module('oneblock', ['ionic', 'oneblock.controllers', 'ngStorage', 'ngMessages'])
.constant('$myConfig', {
appName: '1Block',
appVersion: '1.0',
appDate: 'Jan 2, 2016',
appUrl: 'https://1block.io/'
})
.run(function($ionicPlatform, $ionicHistory, $rootScope, $localStorage, $sessionS... |
"use strict";
throw new Error("The `emotion-server` package has been renamed to `@emotion/server`. Please import it like this `import { extractCritical, renderStylesToString, renderStylesToNodeStream } from '@emotion/server'`."); |
const style = () => ({
card: {
position: 'relative',
cursor: 'pointer',
'&:hover': {
boxShadow: '3px 3px 10px -2px rgba(0, 0, 0, .5)',
},
},
media: {
backgroundColor: 'gray',
},
});
export default style; |
var searchData=
[
['readedges_47',['readEdges',['../_tools_8h.html#a2cdbb3d0744fef4400279d798245a5f2',1,'Tools.h']]]
]; |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may no... |
/**
* @license
* Visual Blocks Editor
*
* Copyright 2012 Google Inc.
* https://developers.google.com/blockly/
*
* 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.apach... |
import {
createRouter,
createWebHistory,
} from "../../vue-router-next-4.0.0/dist/vue-router.esm-bundler";
import Home from "./components/Home.vue";
import HomeChild from "./components/HomeChild.vue";
import About from "./components/About.vue";
import AboutLeft from "./components/AboutLeft.vue";
import AboutRight ... |
NDFramePage.OnPageTitleLoaded("CSharpClass:WorldEditor.src.scenes.room.gameObjects.logic.RoomGameObjectTree","RoomGameObjectTree");NDSummary.OnSummaryLoaded("CSharpClass:WorldEditor.src.scenes.room.gameObjects.logic.RoomGameObjectTree",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"],... |
class SchemaFieldDefinition {
constructor(body) {
if (!body)
return;
let { data_type, properties } = body;
this.properties = {};
this.setDataType(data_type);
this.setProperties(properties);
}
setDataType(dataType) {
if (!this.constructor.DATA_TYPES.includes(dataType))
throw new Error(`Invalid ... |
// Build configuration, defining source and destination
// directories and patterns
// // srcDir is the source directory
var srcDir = './src',
destDir = './toolshed/static',
bowerDir = './bower_components';
// src holds the values of source folders
var src = {
root: srcDir,
vendorRoot: bowerDir,
css... |
import { Configuration, Query } from "./request.js";
const Constructor = new Proxy(Object, Reflect.construct);
const API = async () => {
const URL = "https://checkpoint-api.hashicorp.com/v1/check/terraform"
const Settings = Configuration(URL);
Settings.prototype = Constructor.prototype;
Settings.proto... |
/*
* Header Messages
*
* This contains all the text for the Header component.
*/
import { defineMessages } from 'react-intl';
export default defineMessages({
header: {
id: 'app.containers.Header.header',
defaultMessage: 'HappyUC Web Wallet',
},
}); |
/** @preserve
jSignature v2 "${buildDate}" "${commitID}"
Copyright (c) 2012 Willow Systems Corp http://willow-systems.com
Copyright (c) 2010 Brinley Ang http://www.unbolt.net
MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
;(function() {
var apinamespace = 'jSignature';
var timeoutValue = 3;
/**... |
import { PrismaClient } from "@prisma/client";
const prisma = global.prisma || new PrismaClient();
if (process.env.NODE_ENV === "development") global.prisma = prisma;
export default prisma; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.