text stringlengths 2 1.04M |
|---|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* English (United Kingdom) language.
*/
/**#@+
@type String
@example
*/
/**
* Contains the ... |
'use strict';
module.exports = require('next/dist/server/document.js');
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVua25vd24iXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsInJlcXVpcmUiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLE9BQWpCIiwiZmlsZSI6InVua25vd24iLCJ... |
/**
* Select level asset
*
* @author Thanh Tuan <tuan@httsolution.com>
*
* @type {Void}
*/
var selectLevel = angular.module('modalSelectLevel', []);
'use strict';
var version = 3;
selectLevel.directive("modalSelectLevel", ['$timeout', '$filter', '$modal', '$parse', function($timeout, $filter, $modal, $parse) {
... |
/**
* Tạo một đối tượng student gồm các property name, sex, age
* Example:
name: "CodersX",
sex: "Male",
age: 1
* Viết hàm showInfo trả về object đó
*/
var student = {
name: 'Some One',
sex: 'male',
age: 18
}
function showInfo(obj) {
// viết code ở đây
return obj;
} |
var b = require('pkg-b'); |
/**
* dojox - A version of dojox.js framework that ported to running on skylarkjs.
* @author Hudaokeji, Inc.
* @version v0.9.0
* @link https://github.com/skylark-integration/dojox/
* @license MIT
*/
define({ltr:"從左到右文字方向",rtl:"從右到左文字方向"});
//# sourceMappingURL=../../../../sourcemaps/editor/plugins/nls/zh-tw/BidiS... |
require("elf.js");
reader = require("reader");
compiler = require("compiler");
system = require("system");
var to_string = function (l) {
var _s = "";
var sep;
var __x = l;
var __n = __x.length || 0;
var __i = 0;
while (__i < __n) {
var _x1 = __x[__i];
if (sep) {
_s = _s + sep;
} else {
... |
export { default as checkFormValidity } from './checkFormValidity';
export { default as formatAPIErrors } from './formatAPIErrors';
export { default as getAttributesToDisplay } from './getAttributesToDisplay';
export { default as retrieveGlobalLinks } from './retrieveGlobalLinks';
export { default as retrievePluginsMen... |
// Copyright 2008 The Closure Library 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 requ... |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
/*
Gherkin mode - http://www.cukes.info/
Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues
*/
// Following Objs from Brackets implementation: https://github.com/tregust... |
/**
* @license Highcharts JS v7.0.3 (2019-02-06)
*
* Indicator series type for Highstock
*
* (c) 2010-2019 Wojciech Chmiel
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.... |
'use strict'
const got = require('got')
const fs = require('fs-extra')
const execa = require('execa')
const diffparser = require('diffparser')
const { DateTime } = require('luxon')
module.exports = {
processMembershipRequests,
openMembershipRequests,
processPR,
getApprovals
}
const DEFAULTS = {
label: 'memb... |
export const BTN = ( event_type, data, token ) => ({
event_type: event_type,
msg_type: 'EVT_MSG',
data: data,
token: token,
}); |
"use strict";
import * as core from "./core.js";
import tag from "./tag.js";
/**
* opt : {tagoption}
*/
const defaultOption = {
tag: "span",
};
export default class span extends tag {
constructor(...opt) {
super(...opt);
}
get data() {
return super.data;
}
set data(opt) {
super.data = core.extend({}, d... |
module.exports = (filename) => {
cy.goToAppealStatementSubmission();
cy.get('#appeal-upload-file-name')
.invoke('text')
.then((text) => {
expect(text).to.eq(filename);
});
cy.validateIndividualFileUpload('#appeal-upload-file-name');
cy.wait(Cypress.env('demoDelay'));
}; |
/**
* flowground :- Telekom iPaaS / azure-com-azsadmin-table-services-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed under the Apache 2.0 License. For details
* see the file LICENSE on the toplevel directory.
*/
const elasticio = r... |
'use strict';
let VERTEX_SHADER = ``;
let FRAGMENT_SHADER = `
struct Material
{
int image;
vec3 ambient;
vec3 diffuse;
vec3 specular;
float shininess;
int shading;
int type;
};
uniform sampler2D u_image;
`;
export default {
VERTEX_SHADER: VERTEX_SHADER,
FR... |
/*
* Elements
*/
const instructionsElement = document.querySelector('.js-instructions');
const drawElement = document.querySelector('.js-draw');
const context = drawElement.getContext('2d');
/*
* Variables
*/
let isDrawing = false;
let lastX = 0;
let lastY = 0;
let hue = 0;
let growing = false;
/*
* Functions
... |
"use strict";
/***
* Copyright (c) 2017 [Arthur Xie]
* <https://github.com/kite-js/kite>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitat... |
export const federalPovertyLineLevels = {
"2017": {
"1": 11880,
"2": 16020,
"3": 20160,
"4": 24300,
"5": 28440,
"6": 32580,
"7": 36730,
"8": 40890
},
"2016": {
"1": 11770,
"2": 15930,
"3": 20090,
"4": 24250,
"5": 28410,
"6": 32570,
"7": 36730,
"8": 4... |
const test = require('test');
test.setup();
run('./pass.js');
run('./pass_contract.js');
run('./pass_unlock.js');
run('./parameter_excreate.js');
run('./parameter_exchange.js');
run('./parameter_extransfer.js');
run('./parameter_exunlock.js');
run('./parameter_precision.js');
run('./parameter_new_exchange.js');
run(... |
import React from 'react'
import PropTypes from 'prop-types'
import {connect} from 'dva'
import {Input, Icon, Row, Table, Modal, Upload, Button} from 'antd'
import {config} from 'utils'
import {Page} from 'components'
import styles from './index.less'
import {Search, UploadModal} from '../../components/index'
import Up... |
import React from 'react';
import { Switch, Route } from 'react-router';
import routes from './constants/routes';
import App from './containers/App';
import Expenses from './components/Expenses/Expenses';
import KitchenStock from './components/KitchenStock/KitchenStock';
import ReportPage from './components/Report/Repo... |
const Employee = require("./employee");
class Engineer extends Employee {
constructor(name, id, email, github){
super(name, id, email);
this.github = github;
}
getGithub() {
return this.github
}
getRole() {
return "Engineer"
}
}
module.exports = Engineer... |
'use strict'
// Template version: 1.2.6
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
// Various Dev Server settings
host: 'localhost', /... |
export const chordList = [
{
id: "1",
name: "F",
startString: 1,
structure: {
strings: {
sixthString: [1],
fifthString: [1, 3],
fourthString: [1, 3],
thirdString: [1, 2],
secondStrind: [1],
firstString: [1]
}
}
},
{
id: "2",
n... |
var Redux = require('redux');
var Boards = require('./boards');
var Sudoku = require('./sudoku');
var cloneDeep = require('lodash.clonedeep');
var Store = Redux.createStore(function(state, action) {
if (!state) {
state = {};
} else {
state = cloneDeep(state);
}
switch (action.type) {
case 'RESUME_G... |
/** @jsx h */
import h from '../../../helpers/h'
export const input = (
<value>
<document>
<paragraph>
<link>one</link>
</paragraph>
</document>
</value>
)
export const output = {
object: 'value',
document: {
object: 'document',
data: {},
nodes: [
{
objec... |
const contractABI = [
{
constant: true,
inputs: [],
name: "hello",
outputs: [
{
internalType: "string",
name: "",
type: "string",
},
],
payable: false,
stateMutability: "pure",
type: "function",
},
]
const contractAddress = "0xF6a597409aa565840d05... |
function(instance, context) {
instance.data.clearSelected();
} |
'use strict';
const base64 = require('base-64');
const client = require("../../../DataBase/data");
const bcrypt = require("bcrypt");
require("dotenv").config();
module.exports = async (req, res, next) => {
try {
if (req.headers.authorization) {
let basic = req.headers.authorization.split(' ').pop();
... |
'use strict'
const path = require('path')
const utils = require('./utils')
const config = require('../config')
const vueLoaderConfig = require('./vue-loader.conf')
const cesiumSource = '../node_modules/cesium/Source'
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
module.exports = {
context: ... |
<Counter
iconLeft={() => (
<Icon name="moneyBag" className="u-textGray" size="medium" />
)}
label="Next Pay Day in"
number={() => (
<span className="u-text600 u-fontMedium">
<span>07</span>
:
<span>17</span>
:
<span>21</span>
</span>
)}
>
<Overlay.Tr... |
'use strict';
const Alexa = require('alexa-sdk');
const coreHandlers = require('./core.handlers');
const { mixinHandlers, delegateSlotCollection, isSlotValid } = require('../modules/utils');
const SKILL_STATES = require('../enums').SKILL_STATES;
const res = require('../responses');
const getUserProfile = require('../m... |
import ZTextarea from './ZTextarea.vue'
import ZFormGroup from './ZFormGroup'
export {
ZTextarea,
ZFormGroup
} |
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */
//
// Copyright (c) Microsoft and contributors. 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 th... |
Ext.define('logsystem.view.main.Register', {
extend: 'Ext.form.Panel',
xtype: 'registerView',
controller: 'register',
ui: 'navigation',
header: {
style: 'background: #13bdc6',
layout: {
align: 'stretchmax'
},
title: {
text: '宏腾管理平台',
... |
const assert = require('assert');
const request = require('supertest');
const apiHelper = require('../helpers/api');
const ids = require('../data/ids');
describe('Certificates', () => {
beforeEach(() => {
return apiHelper.create()
.then(api => {
this.api = api.api;
this.workflow = api.workf... |
suite('rb/utils/urlUtils', function() {
describe('getLocationHash', function() {
beforeEach(function() {
window.xss = function() {};
});
afterEach(function() {
if (window.hasOwnProperty('xss')) {
delete window.xss;
}
});
i... |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("a11yhelp","de-ch",{title:"Barrierefreiheitinformationen",contents:"Hilfeinhalt. Um den Dialog zu schliessen die Taste ESC drücken... |
define({"topics" : [{"title":"Configuring a Test Origin","href":"datacollector\/UserGuide\/Pipeline_Design\/TestOrigin.html#task_v5f_yfc_j2b","attributes": {"data-id":"task_v5f_yfc_j2b",},"menu": {"hasChildren":false,},"tocID":"task_v5f_yfc_j2b-d46e23464","topics":[]},{"title":"Using a Test Origin in Data Preview","hre... |
// Copyright (C) 2017 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
's' entry's presence is determined by `s` flag
esid: sec-get-regexp.prototype.flags
info: >
21.2.5.3 get RegExp.prototype.flags
10. Let dotAll be T... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.validate = validate;
var _invariant = require('../jsutils/invariant');
var _invariant2 = _interopRequireDefault(_invariant);
var _error = require('../error');
var _visitor = require('../language/visitor');
var _schema = require... |
/*! WebUploader 0.1.8-alpha */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function( root, factory ) {
var modules = {},
// 内部require, 简单不完全实现。
// https://github.com/amdjs/amdjs-ap... |
import React from 'react';
import { Link } from 'react-router-dom';
function Pager(props) {
const { category } = props;
return (
<div className="pager">
<div><a href="next" className="next">← Prev</a></div>
<ul className='counter'>
<li><Link to={category +... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CONSTANTS = void 0;
exports.CONSTANTS = {
REGEX_VALID_URL: new RegExp("^" +
// protocol identifier
"(?:(?:https?|ftp)://)" +
// user:pass authentication
"(?:\\S+(?::\\S*)?@)?" +
"(?:" +
... |
var iso = require('osh-iso-test');
var ReceiveUpload = {
/**
* The first time we readAndWrite the upload is in the browser using
* ajax.
*/
write: function(pages, redirect) {
// Better be on the server.
if ('undefined' != typeof window) {
iso.fail('Upload was not POSTed to the server');
... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/Latin-Modern/Size4/Regular/Main.js
*
* Copyright (c) 2013-2015 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... |
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for(var i = 0; i < props.length; i++){
var descriptor = props[i];
descriptor.enumerabl... |
/* Main manages two things:
1. Electron windows/processes
2. Communication with serial devices */
/* ===========================================================
In this block Main makes the window instance
and assign certain configuration for that.
===============================================... |
"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 = _interopRequireWildcar... |
import React from 'react'
import { Header } from './styles';
export default () => <Header>stir.</Header> |
/**
* A `Cancel` is an object that is thrown when an operation is canceled.
*
* @class
* @param {string=} message The message.
*/
// 这这个是啥呢?就是你取消请求的时候抛出去的错误类型的类
// 很简单,就是个message
function Cancel(message) {
this.message = message;
}
// 把它转换成字符串的toString方法的自定义实现
Cancel.prototype.toString = function toString() {
... |
body
p.help-block.search-filter
| Enter an
a(href='javascript:void(0);' onclick='filterSearch('address', this)') address
| ,
a(href='javascript:void(0);' onclick='filterSearch('tx_hash', this)') transaction hash
| ,
a(href='javascript:void(0);' onclick='filterSearch('block_hash',... |
const { JOB, QUEUE } = require('../constants');
const { publishJob } = require('../queues');
const Event = require('../model/event');
/**
* Scheduler which finds unprocessed SushiswapSwap events and publishes
* jobs to create their associated fills. Decoupling scheduling from fill
* creation ensures that SushiswapS... |
import Vue from 'vue'
const SET_BREADCRUMS = 'SET_BREADCRUMS'
const PUSH_BREADCRUMS = 'PUSH_BREADCRUMS'
const SET_CHIPS = 'SET_CHIPS'
/** breadcrums item struct
* {
* disabled: true/false
* text: ''
* path: ''
* }
* related chip struct
* {
* text: ''
* path: ''
* }
**/
// state
const state = {
b... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[179],{
/***/ "./frontend/src/views/settings/create_vehicle_categories.vue":
/*!*******************************************************************!*\
!*** ./frontend/src/views/settings/create_vehicle_categories.vue ***!
\*******************************... |
import React, {useState, useMemo, createContext, useContext} from "react";
function Store() {
const context = createContext();
// We need to give the provider a way to take the initial state so that every
// time we have a different piece of state we can give it the initial value
const Provider = ({ ... |
import template from './sw-users-permissions-user-listing.html.twig';
import './sw-users-permissions-user-listing.scss';
const { Component, Data, Mixin, State } = Shopware;
const { Criteria } = Data;
Component.register('sw-users-permissions-user-listing', {
template,
inject: [
'userService',
... |
var searchData=
[
['m_5fallocator_1178',['m_allocator',['../classAws_1_1Crt_1_1Http_1_1HttpMessage.html#ad8b14bbca8abb0f1535903e7e6cba5f2',1,'Aws::Crt::Http::HttpMessage::m_allocator()'],['../classAws_1_1Crt_1_1Io_1_1InputStream.html#a336d789eab234c8a4f5226ce535c7c7d',1,'Aws::Crt::Io::InputStream::m_allocator()'],['.... |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.5.1 (2020-10-01)
*/ |
/** @file Observes a JSInterpreter and logs to the designated browser console. */
'use strict';
import Observer from './Observer';
/**
* Observer responsible for logging to the provided browser console when
* the interpreter it is observing raises log-worthy events.
* @constructor
* @param {Console} window consol... |
import { set, parsePath } from "@10xjs/form";
export const REQUIRED = "VALIDATION_REQUIRED";
export const UNIQUE_CONSTRAINT = "VALIDATION_UNIQUE_CONSTRAINT";
export const requiredError = () => ({
code: REQUIRED,
});
export const uniqueConstraintError = () => ({
code: UNIQUE_CONSTRAINT,
});
export const formatVa... |
export default {
'app.result.error.title': '提交失败',
'app.result.error.description': '请核对并修改以下信息后,再重新提交。',
'app.result.error.hint-title': '您提交的内容有如下错误:',
'app.result.error.hint-text1': '您的账户已被冻结',
'app.result.error.hint-btn1': '立即解冻',
'app.result.error.hint-text2': '您的账户还不具备申请资格',
'app.result.... |
// Modules
import React from "react";
import { withRouter } from "react-router-dom";
import Swal from "sweetalert";
// Assets
import Methods from "../../methods";
// Components
import Notification from "./notification";
// Services
import AccountOwnerService from "../../services/account-owners-service";
import Permi... |
#!/usr/bin/env node
'use strict';
var Cesium = require('cesium');
var fsExtra = require('fs-extra');
var GltfPipeline = require('gltf-pipeline');
var path = require('path');
var Promise = require('bluebird');
var yargs = require('yargs');
var zlib = require('zlib');
var databaseToTileset = require('../lib/databaseToTil... |
const axios = require("axios");
const mysql = require("mysql");
const util = require("util");
//Function for getting historical data
exports.history_hour = (requestNumber, unixTime, looping, tableName, currency_op, coin) => {
var requestLimit = requestNumber; //Max 2000
var table = tableName;
var loopRepeat = lo... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement(React.Fragment, null, React.createElement("path", {
fill: "none",
d: "M0 0h24v24H0V0z"
}), React.createElement("path", {
fillOpacity: ".3",
d: "M22 8V2L2 22h16V8h4z"
}), React.createEle... |
import Store from 'data/abstract_store';
QUnit.module('Abstract Store', function() {
class MyStore { }
QUnit.test('registerClass', function(assert) {
Store.registerClass(MyStore, 'my-store');
const
customStore = Store.create('my-store');
assert.ok(customStore instanceof MySt... |
/**
* Auto-generated action file for "Slicebox" API.
*
* Generated at: 2019-05-07T14:44:06.330Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / slicebox-local-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed under... |
const mqtt = require("mqtt");
const NodeHelper = require("node_helper");
var servers = [];
module.exports = NodeHelper.create({
log: function (...args) {
if (this.config.logging) {
console.log(args);
}
},
start: function () {
console.log(this.name + ": Starting node helper");
this.loaded ... |
/*
* @Description:过滤器
* @Version:
* @Autor: 申豪强
* @Date: 2020-05-20 14:56:49
* @LastEditTime: 2020-05-26 14:37:04
*/
import axios from '@/utils/axios'
export default {
// /添加过滤器
addBimFilter(data) {
return axios.design.post('/bim/bimFilter/add', data)
},
// 删除过滤器
deleteFilter(id) {
return axios.... |
import styled from '@emotion/styled';
const InputGroup = styled.div`
display: flex;
align-items: center;
height: 42px;
width: 100%;
`;
InputGroup.defaultProps = { className: 'input-group' };
export default InputGroup; |
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.seed = function (knex) {
// Deletes ALL existing entries
return knex('users')
.del()
.then(function () {
// Inserts seed entries
return knex('users').insert([
{
auth0Id: 'auth0|1234',
... |
const API = require('./API');
const ApiMap = require(`./transportResolvers/ApiMap`);
const DeviceTypeListQuery = require('../models/query/DeviceTypeListQuery');
const DeviceTypeCountQuery = require('../models/query/DeviceTypeCountQuery');
const DeviceTypeDeleteQuery = require('../models/query/DeviceTypeDeleteQuery');
... |
import React, { Component } from 'react';
import { UserSession, Person } from 'blockstack';
import NavBar from './NavBar';
import { jsonCopy, remove, add, check } from '../assets/utils';
import { appConfig, TASKS_FILENAME } from '../assets/constants';
import '../styles/Profile.css';
class Profile extends Component {
... |
/**
* Helper to manage className attribute on node or nodelist
* eg.
* removeClass(el, 'myClass'); or
* addClass(document.querySelectorAll('li'), 'list-item'); or
* hasClass(el, 'is-open');
*/
export function addClass(node, classString) {
if (node.length) {
return Array.prototype.forEach(node, (el) => {... |
const Attachment = require('discord.js').Attachment;
const apiService = require('../services/api-service');
const relink = require('./relink');
module.exports = {
name: 'migrate-all',
args: false,
ownerOnly: true,
cooldown: 3,
sortIndex: 0,
usage: '',
execute: async function (message, args)... |
import Ember from 'ember';
export default Ember.Route.extend({
title() {
let stack = this.modelFor('stack');
return `${stack.get('handle')} Certificates`;
},
model() {
let stack = this.modelFor('stack');
return stack.get('certificates');
},
setupController(controller, model) {
let stack... |
'use strict'
class Checkout {
constructor () {
const $ = document.querySelector.bind(document)
// props
this.cardNumber = $('#numero-do-cartao-front')
this.cardNumberBack = $('#numero-do-cartao-back')
this.cardName = $('#nome-front')
this.cardNameBack = $('#nome-back')
this.cardDate = $(... |
var plugins = require('electron-plugins'),
ipc = require('electron').ipcMain;
document.addEventListener('DOMContentLoaded', function () {
var context = { document: document }
plugins.load(context, function (err, loaded) {
if(err) return console.error(err)
console.log('Plugins loaded success... |
/**
* This file purpose is just to write `src/assets/version.json` file that
* contains current version information about this application. This file
* is executed on `postinstall` process.
*
* This static file will be used later on to check if frontend application
* has been updated during user has been used it ... |
import React from "react";
import axios from "axios";
import { withRouter } from "react-router";
import { NavLink } from "react-router-dom";
const NavigationComponent = props => {
const dynamicLink = (route, linkText) => {
return (
<div className="nav-link-wrapper">
<NavLink to={route} activeClassN... |
var https = require('https');
var solrApi={
getRequestParam: function(options){
var requestParam={
"search_intent": options.search_intent,
"min_inr": options.minRent,
"max_inr": options.maxrent,//
"house_type": options.houseTypes,
"bed_rooms": options.bedRooms,
"page": 1,
"c... |
import React, { memo, useMemo, useCallback } from "react";
import { View, StyleSheet } from "react-native";
import type { App } from "@ledgerhq/live-common/lib/types/manager";
import type { State, Action } from "@ledgerhq/live-common/lib/apps";
import { useNotEnoughMemoryToInstall } from "@ledgerhq/live-common/lib/a... |
const resources = {
state: {
resources:{
}
},
mutations: {
SET_RESOURCE (state, obj){
if(obj.resources)
state.resources[obj.menuId] = obj.resources
}
},
actions:{
setResources({ commit }, obj){
commit('SET_RESOURC... |
//# sourceMappingURL=v2-sdk.cjs.production.min.js.map |
/**
* Copyright 2016 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... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[20],{
/***/ "./node_modules/react-chat-widget/lib/index.js":
/*!*****************************************************!*\
!*** ./node_modules/react-chat-widget/lib/index.js ***!
\*****************************************************/
/*! no static expor... |
import React from 'react'
import Logo from '../../Logo/Logo'
import NavigationItems from '../NavigationItems/NavigationItems'
import DrawerToggle from '../SideDrawer/DrawerToggle/DrawerToggle'
import classes from './Toolbar.module.css'
const toolbar = (props) => (
<header className={classes.Toolbar}>
<DrawerTo... |
const theme = {
colors: {
primaryBackground: '#0A1128',
secondaryBackground: '#dc143c',
white: '#FFF',
mediumGray: '#DDD',
},
font: {
family: {
default: "'Opens Sans', sans-serif",
secondary: "'Montserrat', sans-serif",
},
sizes: {
small: '1.6rem',
xsmall: '8rem... |
$(document).ready(function () {
// const domain = window.location.origin;
const domain = "../services.html";
var trackAppForm = document.createElement("form");
trackAppForm.method = "POST";
trackAppForm.action = domain+"/citizenApplication.html";
trackAppForm.target = "iframe_a";
$('.c... |
/**
* EditorManager.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function(tinymce) {
/**
* @class tinymce
*/
// Shorten names
var each = tinymce.each, extend = t... |
$(document).ready(function() {
/* =================================================================
Basic
================================================================= */
$('#exampleBasic').wizard({
templates: {
buttons: function(){
var options = this.options;
... |
export { MenuButton } from './MenuButton' |
$(document).ready(function(){
if ($('#map').length) {
var lat = 57.651774;
var log = 39.829889;
var urlBaby = window.location.hostname;
var markerUrl = 'static/img/assets/contacts/marker.svg';
var myMap;
var myPlacemark;
var init = function init() {
myMap = new ymaps.Map("map", {
... |
import React from 'react'
import { Styled, Box } from 'theme-ui'
export default props => (
<>
<Box
sx={{
px: 1,
opacity: 0.4
}}
>/
</Box>
<Box
sx={{
px: 1
}}
>
<Styled.h2
{...props}
/>
</Box>
</>
) |
import { Box, ListTable, Screen } from '@pres/components'
const screen = Screen.build({
dump: process.cwd() + '/logs/dock.log',
smartCSR: true,
dockBorders: true,
warnings: true
})
const topleft = Box.build({
parent: screen,
left: 0,
top: 0,
width: '50%',
height: '50%',
border: {
type: 'line',... |
import { Trans } from 'react-i18next';
export default function TransTemplator({
t,
children,
}) {
return (
<Trans
t={t}
components={{
bold: <b />,
blue: <span className="blue-text" />,
green: <span className="green-text" />,
red: <span className="red-text" />,
... |
/*
*
* NavigationContainer reducer
*
*/
import { fromJS } from "immutable";
import { DEFAULT_ACTION } from "./constants";
const initialState = fromJS({
items: [
{
fname: "Elmer",
lname: "Altermatt"
},
{
fname: "Marina",
lname: "Matros"
},
{
fname: "Tanya",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.