text
stringlengths
2
1.04M
/* * Generated on 2015-08-19 * generator-assemble v0.5.0 * https://github.com/assemble/generator-assemble * * Copyright (c) 2015 Hariadi Hinta * Licensed under the MIT license. */ 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // '<%= config.src %>/templates/pages/{...
version https://git-lfs.github.com/spec/v1 oid sha256:648edcc5ba1642dd47197010628350aa54722b0aad8ba9b0f6b8f24e0735e921 size 523
'use strict'; //Comprobantes service used to communicate Comprobantes REST endpoints angular.module('finanzas').factory('Finanzas', ['$resource', function($resource) { return $resource('api/finanzas/:finanzaId', { finanzaId: '@_id', e: '@enterprise', last: '@last', limit: '@limit', type: '@type' }, { update: {...
const Models = require('../../../models/index'); const Command = require('../command'); const Utilities = require('../../Utilities'); const ImportUtilities = require('../../ImportUtilities'); const Graph = require('../../Graph'); /** * Free read request command. */ class DHDataReadRequestFreeCommand extends Command...
process.stdin.resume(); process.stdin.setEncoding('ascii'); var input_stdin = ""; var input_stdin_array = ""; var input_currentline = 0; process.stdin.on('data', function (data) { input_stdin += data; }); process.stdin.on('end', function () { input_stdin_array = input_stdin.split("\n"); main(); }); func...
/* * 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 ...
var app = require('electron').app; // Module to control application life. var BrowserWindow = require('electron').BrowserWindow; // Module to create native browser window. require('electron-reload')(__dirname); // Auto reload the app if changes are detected // Keep a global reference of the window object, if you do...
/** * @fileoverview added by tsickle * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * f...
const yaml = require('js-yaml') const fs = require('fs') const path = require('path') const prefs = require('./prefs') const functions = require("./functions.js") let store = prefs.store const { ipcRenderer, remote } = require('electron'); let pageContent = document.querySelector('.container') let configPath...
'use strict'; var broccoli = require('broccoli'); var Watcher = require('broccoli-sane-watcher'); var fs = require('fs'); var rimraf = require('rimraf'); var config = require('../config'); // ----------------------------------------------------------------------------- var tree = broccoli.loadBrocfile()...
/*! For license information please see LICENSES */
module.exports = { 'env': { 'es6': true, 'node': true, 'mocha': true, }, 'extends': [ 'eslint:recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'google', ], 'globals': { 'Atomics': 'readonly', 'SharedArrayBuffer': 'readon...
import mongoose from 'mongoose'; class Database { constructor(){ this.init(); } init() { mongoose.connect('mongodb://localhost:27017/mydb', {useUnifiedTopology: true}, console.log('Mongodb connected')); } } export default new Database();
import React, { Component } from 'react'; import Mole from './Mole.js'; import './Home.less'; export default class Home extends Component { state = { score: 0, remindSec: 0, moles: [ { id: 1, up: false, }, { id: 2, up: false, }, { id: 3, up: false, }, { id: 4, up: false, }, ...
/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version: 1.3.0 * */ (function(f){$.fn.extend({slimScroll:function(h){var a=f.extend({width:"auto",h...
import uuid from 'uuid'; import { SET_ALERT, REMOVE_ALERT } from './types'; export const setAlert = (msg, alertType, timeout = 5000) => dispatch => { const id = uuid.v4(); dispatch({ type: SET_ALERT, payload: { msg, alertType, id } }); setTimeout(() => dispatch({ type: REMOVE_ALERT, payload: id }), ...
/** * Gets the value at `path` of `object`. If the resolved value is * `undefined`, the `defaultValue` is returned in its place. * * @since 3.7.0 * @category Object * @param {Object} object The object to query. * @param {Array|string} path The path of the property to get. * @param {*} [defaultValue] The value r...
"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...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: If the property doesn't have the DontDelete attribute, remove the property esid: sec-delete-operator-runtime-semantics-evaluation description: Checking declared variable ---*/...
import React from 'react' const Divider = ({ ...rest }) => <div {...rest} /> export { Divider }
import Shakespeare from './data/shakespeare.js' let quotes = document.querySelector('#quotes') let inp = document.querySelector('#search') const showQuote = (quote, div) => { let article = document.createElement('article') let p = document.createElement('p') p.innerHTML = quote article.appendChild(p) ...
import React from 'react'; import renderer from 'react-test-renderer'; import MaterialIcon from 'react-native-vector-icons/MaterialIcons'; import Label from '../'; describe('Label', () => { it('renders with all props', () => { expect( renderer.create( <Label handlePress={jest.fn()} ...
const { test } = require('tap') const { join } = require('path') const requireInject = require('require-inject') const ansicolors = require('ansicolors') const OUTPUT = [] const output = (msg) => { OUTPUT.push(msg) } let npmHelpArgs = null let npmHelpErr = null const npm = { color: false, flatOptions: { lon...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0aef18"],{"0be5":function(n,e,p){"use strict";p.r(e);var s={1:"搜索",2:"spu",3:"分类",4:"文创"};e["default"]=s}}]);
/** * Basic Config Variables * redis_url (string) - Redis hostname (defaults to localhost) * ttl (int) - TTL on keys set in redis (defaults to 1 day) */ var REDIS_URL = process.env.REDISTOGO_URL || process.env.REDISCLOUD_URL || process.env.REDISGREEN_URL || process.env.REDIS_URL || 'redis://127.0.0....
import React from 'react' import {connect} from 'react-redux' import PropTypes from 'prop-types' import {auth} from '../store' /** * COMPONENT */ const AuthForm = (props) => { const {name, displayName, handleSubmit, error} = props return ( <div> </div> ) } /** * CONTAINER * Note that we have two ...
/** * Created with JetBrains PhpStorm. * User: taoqili * Date: 12-6-12 * Time: 下午5:02 * To change this template use File | Settings | File Templates. */ UE.I18N['zh-cn'] = { 'labelMap':{ 'anchor':'锚点', 'undo':'撤销', 'redo':'重做', 'bold':'加粗', 'indent':'首行缩进', 'snapscreen':'截图', 'italic':'斜体', 'u...
define({ //common iconSize: 'Ikonas lielums', vertical: 'Vertikāli', horizontal: 'Horizontāli', expand: 'Izvērst', space: 'Atstarpes', appearance: 'Izskats', textAlign: 'Teksta līdzinājums', alignment: 'Līdzinājums', type: 'Veids', states: 'Stāvokļi', textColor: 'Teksta krāsa', background: 'Fo...
const fs = require('fs'); const path = require('path'); const rename = think.promisify(fs.rename, fs); module.exports = class extends think.Controller { // 图片上传 async postAction() { const file = this.file('image'); if (!file) { return this.fail(1000, '请上传文件'); } // path.extname获取文件后缀名,可做上传控...
/** * Copyright (c) Areslabs. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ const top = 80 Component(wx.__bridge.reactCompHelper({ ready() { const method = this.data.onRefresh this.onRefreshMethod = method...
import React, { Component } from "react"; import { injectIntl } from "react-intl"; import { connect } from "react-redux"; import { closePanel } from "./actions"; import { configureProvider, connectProvider } from "../store/providers/actions"; import CancelButton from "./CancelButton"; import Button from "./Button"; imp...
import Screenshot from './app/screenshot.js'; import Settings from './app/settings.js'; import runScript from './app/run-script.js'; const captureFail = (dataUrl) => { return !dataUrl || dataUrl === '' || dataUrl === 'no_video' || dataUrl === 'no_suitable_videos'; }; const getVideoWidthAl...
/** @jsx jsx */ import { jsx } from "theme-ui" import React from "react" import { Link } from "gatsby" import { RiMenu3Line, RiCloseLine } from "react-icons/ri" import Theme from "../components/theme" const MenuItems = [ { path: "/", title: "Início", }, { path: "/sobre-mim", title: "Sobre mim", ...
!function(n){var e,a,t,o,i;i=n(".main-navigation"),n("<button />",{class:"dropdown-toggle","aria-expanded":!1}).append(pet_business_l10n.icon).append(n("<span />",{class:"screen-reader-text",text:pet_business_l10n.expand})),i.find(".menu-item-has-children > a, .page_item_has_children > a"),i.find(".current-menu-ancesto...
/*global process*/ (function() { var request = process.binding('request'); var response = process.binding('response'); var resHeaders = { 'Content-Type': 'text/plain' }; var method = request.getMethod(); var url = request.getURL(); console.log('Request:', method, url); response.writeHead(200, 'OK', ...
// @with { obj; console.log(a); }
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; const NavigationBar = ({ nextStep, onNext, onBack, onShare, onStartAgain, completed }) => { const formButtons = ( <React.Fragment> <button onClick={ onBack } ...
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; import NumberInput from './number-input'; class RGBInput extends React.PureComponent { static propTypes = { id: PropTypes.string.isRequired, theme: PropTypes.object.isRequired, value: PropTypes.number.isRequired, onChange: ...
test('atomic/core/ConvertTest', [ 'tinymce/inlite/core/Convert' ], function (Convert) { var testConvert = function () { assert.eq({x: 1, y: 2, w: 3, h: 4}, Convert.fromClientRect({left: 1, top: 2, width: 3, height: 4})); assert.eq({x: 2, y: 3, w: 4, h: 5}, Convert.fromClientRect({left: 2, top: 3, width: 4, height...
function display(str,x,y,c,a){ push(); textAlign(CENTER); noStroke(); fill(c,a); textSize(30); text(str,x,y); pop(); }
import React from 'react'; import Enzyme, { shallow, mount, render } from 'enzyme'; import toJson from 'enzyme-to-json'; import sinon from 'sinon' import ContentTypeFilter from "../components/checksFilter" //Dummy Data const filters = ['journal-articles', 'books', 'book-chapters', 'conference-papers', 'reports'] ...
const sinon = require('sinon'); const fs = require('fs-extra'); const themePath = require('./utils').themePath; const readZip = require('../lib/read-zip'); /** * Response object from .check is: * { * errors: [], // anything that will cause the theme to break * warnings: [], // anything that is deprecated and w...
/* * Copyright 1999-2018 Alibaba Group Holding 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 * Unless required by applicable law o...
function buildMakeItem({ idMaker }) { return function ({ id = idMaker.make(), user, title, price, description, imageUrls, location, state = 'open', buyerId = '', counts = { chat: 0, favorite: 0, view: 0 }, createdAt = Date.now(), modifiedAt = createdAt } = {}) { i...
var express = require('express'); var fs = require('fs'); var _ = require('underscore'); var getList = require('./index').getList; var app = express(); app.use(express.static(__dirname + '/public')); app.get('/:list', function(req, res){ var listName = req.param('list'); var name = req.query.name.toLowerCase().r...
/** * Root reducer. * @module reducers/root */ import { reducer as reduxAsyncConnect } from 'redux-connect'; import { intlReducer } from 'react-intl-redux'; import actions from '@plone/volto/reducers/actions/actions'; import apierror from '@plone/volto/reducers/apierror/apierror'; import breadcrumbs from '@plone/v...
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/order/order"],{ /***/ 100: /*!***************************************************************************************!*\ !*** C:/Users/Administrator/Documents/HBuilderProjects/uni-yun/pages/order/order.vue ***! \*********************************...
import { withConsumer, Context } from './context'; import Validates from './validates'; import Validate from './validate'; const ValidatesConsumer = withConsumer(Validates); const ValidateConsumer = withConsumer(Validate); export { ValidatesConsumer as Validates, ValidateConsumer as Validate, withConsumer, Co...
function confirm_destroy(url, id){ if(!confirm("Are you sure you want to Delete this?")){ return false; } $.post(url+id, function(){ table.rows('tr#'+id).remove().draw(); }); } function orderMenu(url){ $.post(url, function(data){ console.log(data); location.reload(); }); }
import { catchError } from 'rxjs/operators'; export const mapError = (cb) => (catchError((e, $) => { throw cb(e, $); })); //# sourceMappingURL=map-error.js.map
import { difference, map } from 'lodash'; const IDENTIFIER_REGEX = /{\S+}/g; function getDependencies({ metricDefinition }) { return (metricDefinition.expression.match(IDENTIFIER_REGEX) || []) .map(s => s.substring(1, s.length - 1)); } function getIdentifier({ metricDefinition }) { return metricDefin...
/* elucidata-react-coffee https://github.com/elucidata/react-coffee */ (function(){var n,t,e,r,i,o,u,c,a,f,l,s,p,d,y,m=[].indexOf||function(n){for(var t=0,e=this.length;e>t;t++)if(t in this&&this[t]===n)return t;return-1};p=/function (.+?)\(/,e=this.React||require("react"),t=require("events").EventEmitter,n=functi...
'use strict'; var expect = require('chai').expect; var mockery = require('mockery'); var sinon = require('sinon'); describe('Index unit tests', function () { var subject; var setIdentityPoolRolesStub = sinon.stub(); var event; before(function () { mockery.enable({ useCleanCache: t...
let app = new Vue({ el: "#app", data: { city: " ", zip: "94301", error: "" }, methods: { getCity: function() { let self = this; $.getJSON("https://ZiptasticAPI.com/" + this.zip, function(result) { if (result.error) { self.error = "zip code not found"; self...
/** * @file * JavaScript behaviors for Bootstrap element help text (tooltip). * * @see js/webform.element.help.js */ (function ($, Drupal) { 'use strict'; // @see http://bootstrapdocs.com/v3.0.3/docs/javascript/#tooltips-usage Drupal.webformBootstrap = Drupal.webformBootstrap || {}; Drupal.webformBootst...
'use strict'; const assert = require('assert'); const HTMLBarsMinifier = require('../lib/htmlbars-minifier'); const minifier = new HTMLBarsMinifier('foo', { removeSpacesAroundTags: true, }); describe('removeSpacesAroundTags', () => { it('should escape special chars', () => { const input = '{{#foo}}{{/foo}}';...
class MyProfile { saveProfile(options) { $('.loading-box').show(); axios(options) .then(function (result) { $('.jsFirstName').html(result.data.FirstName); $('.jsLastName').html(result.data.LastName); notification.Success("Update profile s...
import React from 'react'; // @ts-ignore import BrowserSymbol from 'svg-baker-runtime/browser-symbol'; // @ts-ignore import { assign } from 'es6-object-assign'; import { addSpriteSymbol, useIsomorphicLayoutEffect } from '../sprite'; import { SvgIcon } from '../SvgIcon'; var viewBox = '0 0 28 28'; var id = 'list_like_...
var React = require('react'), ButtonOpener = require('./button-opener'), classNames = require('classnames'); var ButtonMenu = React.createClass({ getDefaultProps: function() { return { disabled: false, isPrimary: false, isTextVisible: true, items: [] }; }, render: function() { if (!this.props...
const TokenScalar = require('../scalars/token.scalar'); /** * @name exports * @static * @summary Arguments for the paymentnotice query */ module.exports = { identifier: { type: TokenScalar, description: 'The business identifier of the Eligibility (See http://hl7.org/fhir/SearchParameter/paymentnotice-identifi...
const path = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { entry: path.resolve(__dirname, './src/index.js'), output: { path: path.resolve(__dirname, 'dist'), filename: 'js/bundle.js' }, module: { rules: [ { test: /\.s[ac]ss$/, use:...
import Ember from 'ember'; import {computedCanAddSpider} from '../services/dispatcher'; export default Ember.Component.extend({ browser: Ember.inject.service(), dispatcher: Ember.inject.service(), tagName: '', project: null, canAddSpider: computedCanAddSpider(), actions: { addSpider...
imports.gi.versions.cairo = '1.0'; module.exports = imports.gi.cairo;
import * as React from 'react'; import wrapIcon from '../utils/wrapIcon'; const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", className: className }, React.crea...
import './user_system/user_system' import $ from 'jquery' import Notify from 'handy-notification' // SCROLL TO TOP $('.page_end').on('click', () => $('html, body').animate({ scrollTop: 0 }, 450)) // CREATE POST $('.create_blog').on('click', e => { e.preventDefault() let title = $('.create_username').val(), ...
import React, { useState } from "react"; import { AiOutlineMinus, AiOutlinePlus } from "react-icons/ai"; const Question = ({ title, info }) => { const [showInfo, setShowInfo] = useState(false); return ( <article className="question"> <header> <h4>{title}</h4> <button className="btn" onClic...
function InvocationService(url, auth, auth_cb) { _url = url; this.url = _url; var deprecationWarningSent = false; function deprecationWarning() { if (!deprecationWarningSent) { deprecationWarningSent = true; if (!window.console) return; console.log( ...
const fs = require('fs'); const chalk = require('chalk'); const webpack = require('webpack'); const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages'); const { printFileSizesAfterBuild } = require('react-dev-utils/FileSizeReporter'); const paths = require('../configs/paths'); const { mkDir, rmDir...
'use strict'; var includes = require('es5-ext/array/#/contains') , normalizeOptions = require('es5-ext/object/normalize-options') , unserialize = require('dbjs/_setup/unserialize/value') , Event = require('dbjs/_setup/event') , quickSetup = require('./quick-setup') , driver ...
/*! lg-fullscreen - v1.0.1 - 2016-09-30 * http://sachinchoolur.github.io/lightGallery * Copyright (c) 2016 Sachin N; Licensed GPLv3 */ (function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module unless amdModuleId is set define(['jquery'], f...
import productModel from './product'; import userModel from './user'; const model = { products: productModel, user: userModel, } export default model;
/* 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( 'colorbutton', 'et', { auto: 'Automaatne', bgColorTitle: 'Tausta värv', colors: { '000': 'Must', '800000': 'Kastanpruun', ...
var os = require('os') , util = require('util') , ip = require('ip') , request = require('request') , registrations = require('thalassa-registrations') , EventEmitter = require('events').EventEmitter ; /** * `Client` constructor * @constructor * * @param {number} [opts.apiport=9000] - Port number of Th...
var stringifyWithLimit = require('./stringify-with-limit.js'); var hasOwnProperty = Object.prototype.hasOwnProperty; var CONTAINED_BY = document.DOCUMENT_POSITION_CONTAINED_BY; function unwrap(value, getDevInfo) { var info; while (info = getDevInfo(value)) { if (!info.wrapper || !info.wrapper.target) { ...
var GetCenterX = require('../bounds/GetCenterX'); var GetBottom = require('../bounds/GetBottom'); var SetCenterX = require('../bounds/SetCenterX'); var SetBottom = require('../bounds/SetBottom'); var InBottomCenter = function (gameObject, container, offsetX, offsetY) { if (offsetX === undefined) { offsetX = 0; } ...
/** * Copyright (c) Baidu Inc. All rights reserved. * * This source code is licensed under the MIT license. * See LICENSE file in the project root for license information. * * @file custom-store.js * @author tanglei02 (tanglei02@baidu.com) */ import {Store} from 'san-store'; import {builder} from 'san-update';...
/*! * arr-flatten <https://github.com/jonschlinkert/arr-flatten> * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. */ 'use strict'; module.exports = function flatten(arr) { return flat(arr, []); }; function flat(arr, res) { var len = arr.length; var i = -1; while (len--) { ...
// Generated on 2016-03-21 using generator-angular 0.15.1 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Time how long task...
'use strict'; import MindMap from './index.jsx'; const Node = require('../../../index.js').TreeNode; const $ = require('jquery'); var options = {} class BaseNode extends Node { constructor(opts) { super(opts); } draw = (opts) => { const _this= this; options = opts; let container = $('<div cla...
["^ ","~:resource-id",["~:shadow.build.npm/resource","node_modules/core-js/library/modules/_object-gops.js"],"~:js","shadow$provide.module$node_modules$core_js$library$modules$_object_gops=function(global,process,require,module,exports,shadow$shims){exports.f=Object.getOwnPropertySymbols}","~:source","shadow$provide[\"...
/** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ // Predicates...
import compact from 'lodash/compact'; import isEmpty from 'lodash/isEmpty'; import isFunction from 'lodash/isFunction'; import isString from 'lodash/isString'; import jsyaml from 'js-yaml'; import omitBy from 'lodash/omitBy'; import pickBy from 'lodash/pickBy'; import forIn from 'lodash/forIn'; import uniq from 'lodash...
/* * This file is part of the nivo project. * * Copyright 2016-present, Raphaël Benitte. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { createElement } from 'react' const HeatMapCells = ({ cells, cellComponent, ...
import uuid from 'uuid-js' import { recognizerLogger as logger } from '../../configuration/LoggerConfig' import Constants from '../../configuration/Constants' import * as DefaultTheme from '../../configuration/DefaultTheme' import * as DefaultPenStyle from '../../configuration/DefaultPenStyle' import * as InkModel from...
// flow-typed signature: b22f392637d83226999c945406628126 // flow-typed version: <<STUB>>/babel-jest_v23.2.0/flow_v0.75.0 /** * This is an autogenerated libdef stub for: * * 'babel-jest' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with the ...
var completionSpec = { name: "config", description: "View and edit Cloud SDK properties.", subcommands: [ { name: "config-helper", description: "A helper for providing auth and config data to external tools.", options: [ { name: "--account", description: ...
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
import { PHYSICS_EVENTS } from '../../messages'; export class Dispatcher { sendPhysicsUpdate = dt => postMessage({ event: PHYSICS_EVENTS.UPDATE, dt }) sendReadyEvent = () => postMessage({ event: PHYSICS_EVENTS.READY }); sendTerminateEvent = () => postMessage({ event: PHYSICS_EVENTS.TERMINATE }); send...
var countries = {}; var impactCountries = []; var impactTitle = ''; mapboxgl.accessToken = 'pk.eyJ1IjoiaG90IiwiYSI6IlBtUmNiR1kifQ.dCS1Eu9DIRNZGktc24IwtA'; var map = new mapboxgl.Map({ container: 'map', logoPosition: 'top-left', scrollZoom: false, dragRotate: false, zoom: 1.25, center: [...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeviceEvent = void 0; const Message_1 = require("./Message"); class DeviceEvent extends Message_1.Message { constructor() { super(...arguments); this.type = 'device_event'; this.properties = [ 'd...
import React from "react" import { graphql } from "gatsby" // import Img from "gatsby-image" import Layout from "../components/layout" import SEO from "../components/seo" const BlogPostTemplate = ({ data }) => ( <Layout> <SEO title={data.wordpressPost.title} description={data.wordpressPost.excerpt} ...
import Form from '@admin/components/form' import { connect } from 'react-redux' import PropTypes from 'prop-types' import Desktop from './desktop' import Status from './status' import Sounds from './sounds' import InApp from './inapp' import Email from './email' import Mute from './mute' import Push from './push' impor...
const { gql } = require('apollo-server'); const typeDefs = gql` # QUERY = Get info type Query { # exclamation point indicates this is not nullable: we WILL receive data back or something's wrong launches( """ The number of results to show. Must be >= 1. Default = 20 """ pageSize: I...
$(document).ready (function(){ if($("#id_cxp").val() != "0") { cargaDatosCuenta(); cargaFormasDePago(); consultaPagos(); if($("#carga_pre_pagos").val() == 1) { cargaPrePagos(); } } }); function cargaDatosCuenta() { var id = $("#id_cxp").val(); $.ajax( { async:false, url:'...
const webpack = require('webpack'); const path = require('path'); const ExtractTextPlugin = require("extract-text-webpack-plugin"); module.exports = { entry: { app: './app/app.js', vendor: ['vue', 'axios', 'vuex', 'debounce', 'vue-router'] }, watchOptions: { poll: true }, output: { path: path...
module.exports = app => { // const moduleInfo = app.meta.mockUtil.parseInfoFromPackage(__dirname); const schemas = {}; // layout schemas.layout = { type: 'object', properties: { atomName: { type: 'string', ebType: 'text', ebTitle: 'Name', notEmpty: true, }, ...
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ (function(){function h(c,a){var d=a.feed;this.caseSensitive=a.caseSensitive;this.marker=a.hasOwnProperty("marker")?a.marker:"@";this.minChars=null!==a.min...
'use strict' var test = require('tape').test var msgpack = require('../') var bl = require('bl') test('encoding/decoding 64-bits big-endian signed integers', function (t) { var encoder = msgpack() var table = [ { num: -9007199254740991, hi: 0xffe00000, lo: 0x00000001 }, { num: -4294967297, hi: 0xfffffffe,...
// 根据获取的数据,重置下拉框的选项 function appendSelectOption(jQueryElement, optionData, layuiForm) { let optionHtml = ''; optionData.forEach(function (item) { optionHtml += '<option value = "' + item.id + '">' + item.name + '</option>'; }); jQueryElement.append(optionHtml); jQueryElement.next().is(':hid...
/* * Kendo UI Web v2013.1.319 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx * If you do not own a commercial license, this file shall be governed by the * GN...