text
stringlengths
2
1.04M
document.querySelectorAll('.sidebar-submenu').forEach(e => { e.querySelector('.sidebar-menu-dropdown').onclick = (event) => { event.preventDefault() e.querySelector('.sidebar-menu-dropdown .dropdown-icon').classList.toggle('active') let dropdown_content = e.querySelector('.sidebar-menu-drop...
// @flow import optionalRequire from '../Utils/OptionalRequire.js'; import { type ExternalEditorOpenOptions } from './ResourceExternalEditor.flow'; import { createOrUpdateResource, getLocalResourceFullPath, } from './ResourceUtils.js'; const electron = optionalRequire('electron'); const path = optionalRequire('pat...
//# sourceMappingURL=chunk-55198bd8.fe9596b2.js.map
//// [assignFromNumberInterface.js] var x = 1; var a; x = a; a = x;
const { declare } = require('@babel/helper-plugin-utils'); module.exports = declare(() => ({ manipulateOptions({ parserOpts }) { parserOpts.plugins.push(['decorators-legacy']); }, }));
(function ($, undefined) { /* Filter menu operator messages */ if (kendo.ui.FilterCell) { kendo.ui.FilterCell.prototype.options.operators = $.extend(true, kendo.ui.FilterCell.prototype.options.operators,{ "date": { "eq": "Eşittir", "gt": "Sonra", "gte": "Sonra ya da eşit", "lt": "Önce", "lte": "Ö...
export default (state = [], action) => { switch (action.type) { case 'INIT_WEB3': return action.payload default: return state } }
$(document).on("change","#image1",function(){var n,t;let i=$(this).parent().attr("id");(console.log(i),console.log(1),n=!this.files?[]:this.files,n.length&&window.FileReader)&&(/^image/.test(n[0].type)?(t=new FileReader,t.readAsDataURL(n[0]),t.onloadend=function(){$("#"+i).css("background-image","url("+this.result+")")...
const puppeteer = require('puppeteer'); const catchAsync = fn => (req, res, next) => { Promise.resolve(fn(req, res, next)).catch(err => next(err)); }; exports.printResume = catchAsync(async (req, res) =>{ const userId = req.query.userId; const auth = req.query.auth; const type = req.query.type; co...
const connectionPool = require('./mysqlConnectionPool') const { errorCodes } = require('./errorCodes') const token = { addToken: (isAdmin, expiresAt, userId, clientId) => { return new Promise((resolve, reject) => { connectionPool.query(`INSERT INTO tokens(is_admin, expires_at, client_id, user_i...
import React from 'react'; import Helmet from 'react-helmet'; import Fonts from '../components/Fonts'; const PageWrapper = ({ children }) => ( <div> <Helmet title="Alexander Madyankin" meta={[ { name: 'description', content: 'Alexander Madyankin. Frontend developer', ...
import typescript from "rollup-plugin-typescript2"; import json from "rollup-plugin-json"; // import resolve from "@rollup/plugin-node-resolve"; export default { external: ["@valeera/eventdispatcher", "@valeera/idgenerator"], input: "src/index.ts", output: [ { file: "build/x.js", format: "umd", globals: ...
export function readStoryNote(btn) { btn.addEventListener("click", (event) => { const txt = event.target.dataset.note; if (txt.length >= 1) { const utterance = new SpeechSynthesisUtterance(txt); window.speechSynthesis.speak(utterance); } }) }
/* * My97 DatePicker 4.8 * License: http://www.my97.net/license.asp */ var $dp,WdatePicker;(function(){var l={ $langList:[ {name:"en",charset:"UTF-8"}, {name:"zh-cn",charset:"gb2312"}, {name:"zh-tw",charset:"GBK"} ], $skinList:[ {name:"default",charset:"gb2312"}, {name:"whyGreen",charset:"gb2312"}, {name:"blue",char...
const db = require("../database/database"); const WEB_HOST = process.env.WEB_HOST exports.getRegistrationRequests = async (req, res, next) => { try{ const registrationRequests = await db.getAllRegistrationRequests() console.log(registrationRequests) return res.status(200).json(registrationR...
var D3 = D3 || {}; D3.Text = function () { function calcFontSizeRaw(text, radius, minimumSize, isMultiline) { minimumSize = minimumSize || 10; var textSize = radius / 3; if (typeof text === "string") { var len = text.substring(0, radius / 3).length + 1.5; textSize *...
var temp = [{_id:""},{_id:"1"}]; //buildMap(temp); //function buildMap(input){ // d3.selectAll("svg").remove; var width = 960, height = 500, centered; var projection = d3.geo.albersUsa() .scale(1070) .translate([width / 2, height / 2]); var path = d3.geo.path() .projection(projection); var s...
export default { SEARCH_PRODUCT_IN_CATALOG: (state, value) => { state.searchValue = value; }, SWITH_MOBILE: (state) => { state.isMobile = true; state.isDesktop = false; }, SWITH_DESKTOP: (state) => { state.isDesktop = true; state.isMobile = false; }, SET_PRODUCTS_TO_STATE: (state, prod...
"use strict"; var React = require('react'); var Input = React.createClass({ propTypes: { name: React.PropTypes.string.isRequired, label: React.PropTypes.string.isRequired, onChange: React.PropTypes.func.isRequired, placeholder: React.PropTypes.string, value: React.PropTypes.string, ...
import {createStore, combineReducers, applyMiddleware, compose} from 'redux'; import thunk from 'redux-thunk'; import expensesReducer from '../reducers/expenses'; import filtersReducer from '../reducers/filters'; import authReducer from '../reducers/auth'; const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_CO...
import { Colors, Metrics, Fonts } from '../../Themes/' export default { container: { position: 'absolute', top: 0, left: 0, right: 0, height: Metrics.navBarHeight, paddingTop: Metrics.smallMargin, paddingHorizontal: 5, backgroundColor: Colors.igniteBackground, flexDirection: 'row'...
import * as React from 'react'; import Box from '@mui/material/Box'; import Paper from '@mui/material/Paper'; export default function Card() { return ( <Paper elevation={3} > </Paper> ); }
"use strict"; var _babelHelpers = require("./utils/babelHelpers.js"); exports.__esModule = true; var _react = _babelHelpers.interopRequireDefault(require("react")); var _Icon = require("./Icon"); var _fragments = require("./fragments"); var OutlineCake = /*#__PURE__*/ function OutlineCake(props) { return _react...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
describe('Location Blacklist Controller', function () { var $scope, $controller, $parentScope, $httpBackend, Table, Modal, Notifications; beforeEach(module('adminNg')); beforeEach(module(function ($provide) { $provide.value('Language', { configureFromServer: function () {}, ...
import React, { Component } from 'react' import { connect } from 'dva' import moment from 'moment' import BooleanOption from '../../components/BooleanOption'; import BaseTool from '../../common/Base.tool' import { Tag, Button, Row, Col, Icon, Card, Tabs, Table, Radio, DatePicker, Tooltip, Menu, Dropdown,Badge, Switch,S...
module.exports = (sequelize, DataTypes) => { return sequelize.define("warns", { id: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true, autoIncrement: true, }, server: DataTypes.STRING, user: DataTypes.STRING, warnedBy: DataTypes.STRING, reason: DataTypes.TEX...
var webpack = require('webpack'); var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin"); module.exports = { entry: { index:'./public/html/js/index.js', main:'./public/html/js/main.js' }, output: { filename: '[name].js' }, module: { loaders: [{ test: /\.js$/, ...
'use strict'; var gulp = require("gulp"); var sass = require("gulp-sass"); var plumber = require("gulp-plumber"); var postcss = require("gulp-postcss"); var autoprefixer = require("autoprefixer"); var mqpacker = require("css-mqpacker"); // consolidate all styles var minify = require("gulp-csso"); // minification css v...
/* * Copyright © 2016 Cask Data, 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...
/* * watch-test.js: Tests for restarting forever processes when a file changes. * * (C) 2010 Nodejitsu Inc. * MIT LICENSE * */ var assert = require('assert'), path = require('path'), fs = require('fs'), vows = require('vows'), forever = require('../../lib/forever'); vows.describe('forever/monito...
const fs = require("fs"); const axios = require("axios"); const BLIZZARD_URL = "https://eu.battle.net/oauth/token"; // Create axios interceptor that on Authorization will refresh the access token const connection = axios.create(); connection.interceptors.response.use( (res) => { return res; }, async (err) =...
import { md5 } from './md5'
function addWidgetsfrmCal() { var label121049260345 = new kony.ui.Label({ "id": "label121049260345", "isVisible": true, "skin": "lblSub", "text": "Default view" }, { "containerWeight": 100, "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT, "hExpand"...
/* @flow */ import EventEmitter from 'events'; import crypto from 'crypto'; import warning from 'warning'; import { LineClient } from 'messaging-api-line'; import LineContext from '../context/LineContext'; import LineEvent, { type LineRawEvent } from '../context/LineEvent'; import { type Session } from '../session/S...
module.exports = { plugins: [ { resolve: "gatsby-plugin-antd", options: { style: true } }, { resolve: "gatsby-plugin-less", options: { javascriptEnabled: true, modifyVars: { "primary-color": "#26475F", "l...
const util = require("util"); const fs = require("fs"); const sharp = require("sharp"); const { isInt, uploadFile, deleteFile } = require("./helpers"); const unlinkFile = util.promisify(fs.unlink); const getUserStars = async (req, res) => { if (!isInt(req.params.userId)) { res.status(400).end(); return; }...
var error = require('../../serror') var res = require('../../res'); var protocol = require('../../../network/protocol'); var nodes = require('../../../db/entity/network/nodes') module.exports = function (params) { var peers = protocol.getNodeList(), peerinfo = {}; for (var i in peers) { var d = nodes....
// No need for this now, update next time const uploadElements = { chooseUploadListing: '//*[@id="ngf-label-upload-button-listing"]/input[@id="ngf-upload-button-listing"]', uploadButton: '.btn.btn-ai-success', listingUploadText: '//chpl-upload/div/div/chpl-upload-listings/div/div[2]/div', uploadSuccessfulText:...
macDetailCallback("6c0b84000000/24",[{"d":"2014-07-29","t":"add","a":"141, Lane 351, TaiPing Road, Sec.1\nTsao-Tuen Nan-Tou 54261\n\n","c":"TAIWAN, PROVINCE OF CHINA","o":"Universal Global Scientific Industrial Co.,Ltd."},{"d":"2015-08-27","t":"change","a":"141, Lane 351, TaiPing Road, Sec.1\nTsao-Tuen Nan-Tou 5426...
/* * @flow strict-local * Copyright (C) 2020 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 bugTra...
//Script copyright (c) 2005 BR Fletcher & R Williams //Portions of the code in this file are from www.quirksmode.org //BUILD 8/12/2005 11:18AM /*onscreen, */ /*the valid vertical positions for notes. element 0 is top G, element 1 is F below top G. This is used to lock the notes to the nearest line or space in the st...
/*! WebUploader 0.1.5 */ /** * @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。 * * AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。 */ (function( root, factory ) { var modules = {}, // 内部require, 简单不完全实现。 // https://github.com/amdjs/amdjs-api/wiki...
// Last updated April 28, 2019. var SHOPIFY_APPS = [ { name: 'Fera.ai', // Keep this under 20 characters short_description: 'Customer reviews, photos, counters, events, etc', // Keep this under 75 characters long_description: 'Collect and grow your customer reviews, photos, videos, testimon...
$(function () { $("#jqGrid").jqGrid({ url: '/admin/carousels/list', datatype: "json", colModel: [ {label: 'id', name: 'carouselId', index: 'carouselId', width: 50, key: true, hidden: true}, {label: '轮播图', name: 'carouselUrl', index: 'carouselUrl', width: 180, formatte...
import React from "react" import styled from "@emotion/styled" import ShellWrapper from "./ShellWrapper" import { palette, breakpoints, spacings } from "../utils/variables" const SplitWrapper = ({ children }) => ( <Wrapper> <FlexWrapper>{children}</FlexWrapper> </Wrapper> ) export const Wrapper = styled.div` ...
var DateTime = artifacts.require("./DateTime.sol"); var ProofOfExistence = artifacts.require("./ProofOfExistence.sol"); module.exports = function(deployer) { deployer.deploy(DateTime); deployer.link(DateTime, ProofOfExistence); deployer.deploy(ProofOfExistence); };
import axios from 'axios'; export const FETCH_POSTS = "fetch_posts"; export const CREATE_POST = "create_post"; const ROOT_URL='http://reduxblog.herokuapp.com/api'; const API_KEY='?key=agparadiso'; export function fetchPosts() { const request = axios.get(`${ROOT_URL}/posts${API_KEY}`); return { type: ...
define(["exports"],(function(e){"use strict";let t,l;const s=e=>{let t=e.target.parentElement.querySelector(".hoo-mdldialog-outer");t.classList.remove("is-hidden"),t.classList.add("is-visible")},o=e=>{let t=e.target.closest(".hoo-mdldialog-outer");t.classList.remove("is-visible"),t.classList.add("is-hidden")};e.registe...
const path = require('path'); const merge = require('webpack-merge').merge; const scssTask = require('./webpack.scss'); const es5Task = require('./webpack.es5'); let BundleAnalyzerPlugin; if (process.env.APOS_BUNDLE_ANALYZER) { BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; } modul...
const express = require('express'); const app = express(); app.get('/', (req, res) => { res.send('Hello Express JS'); }); app.post('/home', (req, res) => { res.send('Hello Home'); }); app.put('/about', (req, res) => { res.send('Hello About'); }); app.delete('/contact', (req, res) => { res.send('Hello Contact')...
"use strict"; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ Object.defineProperty(exports, "__esModule", { value: true }); const command_1 = require("../models/com...
export { AlpacaClient } from './client.js'; export { AlpacaStream } from './stream.js'; import { AlpacaClient } from './client.js'; import { AlpacaStream } from './stream.js'; export default { AlpacaClient: AlpacaClient, AlpacaStream: AlpacaStream, };
import React, { useState, useLayoutEffect } from "react"; // Components import Layout from "../components/layout"; import SEO from "../components/seo"; // Images import Astronaut from '../images/404/Astronaut-big.png' import BalloonLost from '../images/404/Balloon Lost-big.png' import BrokenClock from '../images/404/...
/* * Copyright © 2020 VMware, Inc. All Rights Reserved. * SPDX-License-Identifier: BSD-2-Clause */ 'use strict' const connectorExplang = require('connector-explang') const btoa = require('btoa') const service = require('../services/zendesk-tasks-service') const mfCommons = require('@vmw/mobile-flows-connector-commons...
var app = angular.module('mybuilder', []); app.controller('mybuildercontroller', function ($scope, $http) { $http.get("/files/user_data.json").then(function (dados) { $scope.list = dados.data; }, function (err) { console.log("ERRO GET: " + err); }); });
// (C) Copyright 2016 Hewlett Packard Enterprise Development LP import AnnotatedMeter from './components/AnnotatedMeter'; import FilterControl from './components/FilterControl'; import ListPlaceholder from './components/ListPlaceholder'; import Query from './utils/Query'; import SideSplit from './components/SideSplit'...
import React from "react"; const Container = (props) => { return ( <div className={props.hideXOverflow ? "overflow-x-hidden" : ""} {...(props.dataCy ? {'data-cy': props.dataCy} : {})}> <div className="mx-auto px-4 md:px-6 lg:px-8 max-w-[90rem]"> {props.children} </div> </div> ); }...
/** * * create by ligx * * @flow */ import { unZip, unZipCopyData, zip, zipCopyData } from '../src'; import LayoutFile from './LayoutFile'; import LayoutFileZip from './LayoutFileZip'; import CopyDataZip from './copydata_zip'; import CopyData from './copydata'; import LugiaDFile from './lugiaDFile'; import LugiaD...
const express = require('express') const router = express.Router() const { signup } = require('../../../controllers/signup') // Tutte le routes definite in questo file saranno di tipo /api/v1/signup/* router.post('/', signup) // POST /api/v1/signup/ module.exports = router
const express = require("express"); const app = express(); let PORT = 3000; let alunos = [ { id: 0, nome: "Jose", }, { id: 1, nome: "Paulo", }, { id: 2, nome: "Maria", }, { id: 3, nome: "Pedro", }, ]; // urlencoded são dados vindos por form // P...
var c = document.getElementById("c"); // set up size to fill the page c.height = 0.96*window.innerHeight; c.width = 0.96*window.innerWidth; var newx = c.width/2, newy = c.height/2; var ctx = c.getContext("2d"); var snowflake = { x:Math.random()*c.width, y:Math.random()*c.height, radius:30 }; // a function to u...
/*! * remark (http://getbootstrapadmin.com/remark) * Copyright 2017 amazingsurge * Licensed under the Themeforest Standard Licenses */
Clazz.declarePackage ("J.g3d"); Clazz.load (["J.api.JmolRendererInterface", "JU.GData", "JU.P3i", "$.V3"], "J.g3d.Graphics3D", ["java.lang.NullPointerException", "java.util.Arrays", "javajs.awt.Font", "JU.AU", "J.api.Interface", "J.c.STER", "J.g3d.CylinderRenderer", "$.LineRenderer", "$.Pixelator", "$.PixelatorScreened...
/** * Index Component Spec Test */ 'use strict'; var React = require('react'); var IndexComponent = React.createFactory(require('../../../client/scripts/components/index<% if (useJsx) { %>.jsx<% } %>')); describe('Index Component', function() { var ReactTestUtils; var reactRender; beforeEach(function() { ...
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 ABOUT THIS NODE.JS EXAMPLE: This example works with the AWS SDK for JavaScript version 3 (v3), which is available at https://github.com/aws/aws-sdk-js-v3. This example is in the 'AWS SDK for JavaScript v3 Develope...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ 'use strict'; const path = require('path'); const rimraf = require('rimraf'); const webpack = require('webpack'); const H...
'use strict'; // MODULES // var betaincinv = require( 'compute-betaincinv/lib/ibeta_inv_imp.js' ); // QUANTILE // /** * FUNCTION: quantile( p, alpha, beta ) * Evaluates the quantile function for a Beta distribution with first shape parameter `alpha` and second shape parameter `beta` at a probability `p`. * * @para...
var crypto = require("crypto"); var transParams = (data) => { let params = new URLSearchParams(); for (let item in data) { params.append(item, data["" + item + ""]); } return params; }; //data 是准备加密的字符串,key是你的密钥 function encryption(data, key) { var iv = ""; var cipherEncoding = "base64"; var cipher ...
// Required: Initialize bugsplat with database name, app name, and version const BugSplat = require("bugsplat-node"); const bugsplat = new BugSplat("fred", "my-node-crasher", "1.0.0.0"); bugsplat.setDefaultAppKey("AppKey"); bugsplat.setDefaultUser("Fred"); bugsplat.setDefaultEmail("fred@bedrock.com"); bugsplat.setDefau...
const User = require('./user') const Products = require('./products') const Type = require('./type') const Bussines = require('./bussines') /** * If we had any associations to make, this would be a great place to put them! * ex. if we had another model called BlogPost, we might say: * * BlogPost.belongsTo(User)...
import express from 'express'; import agentRoutes from './agent/agent.route'; import authRoutes from './auth/auth.route'; import pusherRoutes from './pusher/pusher.route'; import organizationRoutes from './organization/organization.route'; import taskRoutes from './task/task.route'; import teamRoutes from './team/team....
module.exports = { len: function (obj) { return obj.length; }, when: function (operand_1, operator, operand_2, options) { switch (operator) { case 'eq': case '=': case '==': case '===': return operand_1 == operand_2; case 'neq': case 'noteq': case '!=': ...
const given = require('../../steps/given') const when = require('../../steps/when') const then = require('../../steps/then') describe('When a user signs up', () => { it("The user's profile should be saved in DynamoDB", async () => { const { password, name, email } = given.a_random_user() const user = await ...
webpackJsonp([69,73],{202:function(t,s,i){var n=i(1)(null,i(320),null,null);t.exports=n.exports},320:function(t,s){t.exports={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"container"},[i("topComponent",{attrs:{title:"如何注册账号"}}),t._v(" "),i("div",{staticClass:"reportRegStep...
// @flow import * as React from 'react'; import { withRouter } from 'react-router'; import styles from './style.scss'; const BackTabbar = props => ( <div className={styles.tabbar}> <button onClick={() => { props.history.goBack(); }} className={`${styles.navLink}`} > Back <...
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
import AppBar from '@material-ui/core/AppBar'; import Button from '@material-ui/core/Button'; import Hidden from '@material-ui/core/Hidden'; import Backdrop from '@material-ui/core/Backdrop'; import CircularProgress from '@material-ui/core/CircularProgress'; import Grid from '@material-ui/core/Grid'; import React, { Su...
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-04-28 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(r...
import logger from './util/logger' import parseString from './parseString' import denormalise from './denormalise' import toSVG from './toSVG' import toPolylines from './toPolylines' import groupEntitiesByLayer from './groupEntitiesByLayer' export default class Helper { constructor (contents) { if (!(typeof cont...
const { Schema, model } = require("mongoose"); const OperationSchema = new Schema( { balance_last: { type: Number, required: true }, balance_now: { type: Number, required: true }, rollback: Date, credit_id: { type: Schema.Types.ObjectId, ref: "Credi...
\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||_.trim()){_="["+_+"]";var D=new RegExp("^"+_+_+"*"),P=new RegExp(_+_+"*$");String.prototype.trim=function(){return String(this).replace(D,"").replace(P,"")}}var F=fun...
const path = require('path'); const webpack = require('webpack'); module.exports = function override(config, env) { config.resolve.alias = { ...config.resolve.alias, CodeMirror: path.join(__dirname, 'node_modules', 'codemirror'), jQuery: path.join(__dirname, 'node_modules', 'jquery'), ...
import React, { Component } from 'react'; import '../../semantic/dist/semantic.min.css'; import { Button, Card } from 'semantic-ui-react'; class YupikNounPossessor extends Component { render() { return ( <Card> <Card.Content> <Card.Header> It is owned by someone? </Car...
import sanityClient from "@sanity/client"; export default sanityClient({ projectId: "dbi6o2or", dataset: "production", apiVersion: "2021-05-18", useCdn: false });
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("devtools","sq",{title:"Të dhënat e elementit",dialogName:"Emri i dritares së dialogut",tabName:"Emri i fletës",elementId:"ID e elementit",elementType...
module.exports = Object.freeze({ PATH_TO_LIBS_DIR: './e2e/config/apps/libs/', PATH_TO_KARMA_CONFIG: './e2e/config/karma.conf.js', PATH_TO_TEST_DIR: './e2e/tests/', PATH_TO_TEST_COLLECTION_DIR: './e2e/tests/temp-test-collection/', PATH_TO_APPS_DIR: './e2e/config/apps/', HTTP_SERVER_PORT: 4242, ...
import { auth, initialState } from './auth' import { SAVE_AUTH, DELETE_AUTH } from '../../config/constants'; describe('auth reducer', () => { it('SAVE_AUTH stores auth token', () => { const action = { type: SAVE_AUTH, token: 'ABC123' } const expectedState = { token: 'ABC123' } ...
function submitForm(){var e=$("#contactform"),t=document.getElementById("submsg"),n=document.getElementById("name").value,d=document.getElementById("email").value,a=document.getElementById("msg").value;""!=n||""!=d||""!=a?(e[0].submit(),e[0].reset(),t.textContent="Successfully submitted!",t.style.color="green",$(".fade...
describe("Core", function () { before(function () { fixture.setBase("test/fixtures"); }); beforeEach(function () { fixture.load('basic_elements.html'); }); afterEach(function () { fixture.cleanup(); }); describe("Jamon", function () { it("should exist", function () { expect(Jamon).to.not.be.undefi...
/* */ "format cjs"; (function(factory) { if (typeof define === 'function' && define.amd) { define(['moment'], factory); } else if (typeof exports === 'object') { module.exports = factory(require('../moment')); } else { factory((typeof global !== 'undefined' ? global : this).moment); } }(function(mo...
/** * ueditor完整配置项 * 可以在这里配置整个编辑器的特性 */ /**************************提示******************************** * 所有被注释的配置项均为UEditor默认值。 * 修改默认配置请首先确保已经完全明确该参数的真实用途。 * 主要有两种修改方案,一种是取消此处注释,然后修改成对应参数;另一种是在实例化编辑器时传入对应参数。 * 当升级编辑器时,可直接使用旧版配置文件替换新版配置文件,不用担心旧版配置文件中因缺少新功能所需的参数而导致脚本报错。 **************************提示***************...
// Copyright 2012 Traceur 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 applicable law or agreed ...
import React, { useState } from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import RawQRCode from 'qrcode.react'; import { currency } from 'components/Common/Ticker.js'; import { CopyToClipboard } from 'react-copy-to-clipboard'; import { Event } from 'utils/GoogleAnalytics'; imp...
// Copyright (c) Facebook, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the LICENSE // file in the root directory of this source tree. // // RUN: echo continue | %hdb %s | %FileCheck --match-full-lines %s // REQUIRES: debugger print("continue") // CHECK-LABEL: continue fun...
import _typeof from "@babel/runtime/helpers/esm/typeof"; import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import toArray from "rc...
import Message from './message'; import SSHHandle from './sshbus'; import ExecHandle from './execbus'; import Subscription from './subscription'; /** * Drop in replacement for webos-service, but using SSH shell to call luna-send-pub instead. */ export default class Service { /** * * @param {Service|null} ser...
import React from 'react'; const Textarea = () => { return ( <div className="flex-auto w-full mb-1 text-sm space-y-2"> <label className="font-semibold text-gray-600 py-2">Description</label> <textarea required="" name="message" id="" className="w-full min-h-[100px] max...