text
stringlengths
2
1.04M
/* angular-file-upload v1.1.5 https://github.com/nervgh/angular-file-upload */ //# sourceMappingURL=angular-file-upload.min.map
// pages/view/advance/webview/WebView.js /** * wx view webview * ref: * ---https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html * trap: * #1.打开网页失败,错误信息:不支持打开非业务域名 * ---测试版本支持设置不校验webview业务域名 * ---http://html51.com/info-44386-1/ * ---https://www.qinziheng.com/xiaochengxudev/4307.htm * */ ...
// Cannot implicitly shard accessed collections because of collection existing when none // expected. // @tags: [assumes_no_implicit_collection_creation_after_drop] // Integration tests for the collation feature. (function() { 'use strict'; load("jstests/libs/analyze_plan.js"); load("jstests/libs/get_inde...
import React from 'react'; import {Component} from 'react'; import Modal from 'react-bootstrap/Modal' import Toast from 'react-bootstrap/Toast' class Usuario extends Component { constructor(){ super(); this.state ={ usuario_tb:[], sucursales:[], sucurs...
module.exports = { build: { vendor: ['vue-apollo', 'apollo-client'] }, router: { middleware: 'apollo' }, plugins: [ // Will inject the plugin in the $root app and also in the context as `apolloProvider` { src: '~plugins/apollo.js', injectAs: 'apolloProvider' } ] }
import React from 'react'; function Header() { return( <a href='/'> <h1>Alex Centeno</h1> </a> ) } export default Header;
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import { Auth0Provider } from './providers/Auth0'; import { ApiProvider } from './providers/Api'; import config from './config.json'; import history from './utils/history'; const onRedirectCallback = appState => { history.push( ...
var data = { snails: { all: false, superfamily: {} }, taxonomers: { all: false, list: [] } }; var router; function updateUri() { function getData(...args) { var d = data; while(args.length > 0) { if(d[args[0]] == undefined) return undefined; d = d[args.shift()]; } return d; } function...
import Ajax from 'framework/common/utils/Ajax'; import Register from 'framework/common/utils/Register'; import { createLoaderOverlay, showLoaderOverlay } from 'framework/common/utils/loaderOverlay'; import Window from '../utils/Window'; import Translator from 'bazinga-translator'; export default class Login { sho...
import React from "react"; import { Link } from "react-router-dom"; import './NewsLetter.css'; class NewsLetter extends React.Component { render() { return ( <div > <div class="title fadeInDown"> Stay Updated With Our <div class="accent">Monthly New...
const _ = require('lodash'); const path = require('path'); const { createFilePath } = require('gatsby-source-filesystem'); const { fmImagesToRelative } = require('gatsby-remark-relative-images'); exports.createPages = ({ actions, graphql }) => { const { createPage } = actions; return graphql(` { allMark...
(function (HC) { /*** Each indicator requires mothods: - getDefaultOptions() - returns object with default parameters, like period etc. - getValues(chart, series, options, points) - returns array of calculated values for indicator - getGraph(chart, series, options, values...
import util from './util' let isUse = false class Vut { constructor (options) { this.modules = {} this.plugins = [] util.callInstanceHook(this, 'beforeCreate') util.callInstanceHook(this, 'created') isUse = true } addModules (path, moduleOptions) { if (typeof path !== 'string') { u...
module.exports = function (config) { config.set({ // base path, that will be used to resolve files and exclude basePath: './', // frameworks to use frameworks: ['jasmine'], // list of files / patterns to load in the browser files: [ { pa...
import { ObjectId } from "mongodb"; import cloneDeep from "lodash/cloneDeep"; import crypto from "crypto"; import userEdit from "./data/userEdit.json"; export default () => ({ async handler(req, rep) { const { log, response, auth, acl } = req.zoia...
import * as config from './config' import * as book from './book' import * as user from './user' export default { config, book, user }
module.exports = { EMAIL_USERNAME: 'karierosferamail@gmail.com', EMAIL_PASSWORD: 'karierosfera', EMAIL_HOST: 'smtp.gmail.com', MAIL_CONTACT: 'kontakt@karierosfera.pl', MAIL_AMBASSADOR: 'cvambasadorzy@wiggor.pl', MAIL_NEWIDEA: 'kontakt@karierosfera.pl', MAIL_NEWSLETTER: 'kontakt@karierosfera.pl', STATIC_...
import { FETCH_ALL, FETCH_BY_SEARCH, FETCH_BY_CREATOR, FETCH_POST, CREATE_POST, UPDATE_POST, DELETE_POST, LIKE, COMMENT, START_LOADING, END_LOADING } from "../constants/actionTypes"; const initialState = { loadingPost: true, posts: [] , post: null } export default (state = initialState, action) => { ...
var Checker = require('../../../lib/checker'); var assert = require('assert'); describe('rules/disallow-spaces-in-call-expression', function() { var checker; beforeEach(function() { checker = new Checker(); checker.registerDefaultRules(); checker.configure({ disallowSpacesInCallExpress...
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2019, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
/* * Copyright © 2016-2018 The BeiDouApp 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 ...
var searchData= [ ['quaternionreference',['QuaternionReference',['../class_sophus_1_1_rx_s_o3_group_base.html#a3575bb8e7108073f73835ed59623d94a',1,'Sophus::RxSO3GroupBase::QuaternionReference()'],['../class_sophus_1_1_rx_s_o3_group.html#a01e579c31ebe7063ef5b737f53cd99cb',1,'Sophus::RxSO3Group::QuaternionReference()']...
import Route from '@ember/routing/route'; import SidebarNavigationMixin from 'ember-nrg-ui/mixins/sidebar-navigation'; export default Route.extend(SidebarNavigationMixin, { sidebarLabel: 'context-menu', });
(() => { function update(id = '', start = {}) { const dom = document.querySelector(id); const ts = new Date(start.year, start.month - 1, start.day).getTime(); return () => { let offset = parseInt((new Date().getTime() - ts) / 1000, 10) if(offset < 0) { dom.innerHTML = "0天0时0分0秒...
// @flow import React from 'react'; import styled from 'styled-components'; import { media } from '../../style-utils'; import type { Theme } from '../../theme'; const Wrapper = styled.div` height: 100px; `; const Input = styled.input` width: 300px; height: 44px; opacity: 0.7; font-size: 17px; font-style: ...
import Record from 'Types/Record'; import { DateTime } from 'luxon'; export default Record({ announcementId: undefined, type: undefined, title: undefined, description: undefined, imageUrl: undefined, createdAt: undefined, viewed: undefined, buttonUrl: undefined, buttonText: undefined }, { idKey: 'a...
/* #天天压岁钱 京喜App-下方中间-天天压岁钱 33 0,14,20 * * * jx_ttysq.js ############# PS:(不是玩代码的人,写代码有bug很正常!!) */ const $ = new Env('天天压岁钱'); //Node.js用户请在jdCookie.js处填写京东ck; const jdCookieNode = $.isNode() ? require('./jdCookie.js') : ''; const notify = $.isNode() ? require('./sendNotify') : ''; //IOS等用户直接用NobyDa的jd cookie let c...
const base = require('./webpack.config') const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = Object.assign({}, base, { mode: 'development', plugins: [ new HtmlWebpackPlugin({ template: 'index.html' }) ] })
import React, { Component, PropTypes } from 'react'; import classSet from 'classnames'; class PageButton extends Component { constructor(props) { super(props); } pageBtnClick = e => { e.preventDefault(); this.props.changePage(e.currentTarget.textContent); } render() { const classes = class...
export default { repository: 'https://github.com/FotieMConstant/revind', titleSuffix: ' – Revind', logo: ( <> <span className="mr-2 font-extrabold hidden md:inline">revind ui</span> <span className="text-gray-600 font-normal hidden md:inline"> v0.1 </span> </> ), head: ( ...
module.exports = function(grunt) { grunt.config.merge({ replace: { combine_inline_script: { src: ['<%= proj.dist %>/*.html', '<%= proj.dist %>/*.vm', '!<%= proj.dist %>/latelyCourse.vm', '<%= proj.dist %>/qqlive/*.html'], overwrite: true, // overwr...
'use strict'; const modal = document.querySelector('.modal'); const overlay = document.querySelector('.overlay'); const btnCloseModal = document.querySelector('.btn--close-modal'); const btnsOpenModal = document.querySelectorAll('.btn--show-modal'); const navLinks = document.querySelector('.nav__links'); const heade...
export default { items: [{ k: 'Agíl Coach', h: 'https://www.iebschool.com/blog/agile-coach-y-funciones-agile-scrum/', v1: 'Experto en agilidad con las competencias y aptitudes necesarias para ayudar a las personas en la adopción de la mentalidad agile, lo que le permite comprender los principios...
var cmd = 'set'; var logger = require('../../../utility/logger'); var messageHelper = require('../../../utility/message'); var serverModel = require('../../../DB/server'); var winston = logger.getT(); var i18nBean = require('../../../utility/i18nManager'); var t = i18nBean.getT(); var execute = function (message) { ...
"use strict"; const path = require("path"); const fs = require("fs"); const {MongoClient, ObjectID} = require("mongodb"); const secretaryTypes = ["砲戦系", "水雷系", "空母系"]; const materielTypes = ["鋼材(燃料)", "弾薬", "ボーキ"]; const itemsFile = path.join(__dirname, "..", "src", "data", "items.json"); const dataDir = path.join(__...
// @ts-nocheck 'use strict'; const Base = require('./Base'); const ApplicationCommandPermissionsManager = require('../managers/ApplicationCommandPermissionsManager'); const { ApplicationCommandOptionTypes, ApplicationCommandTypes } = require('../util/Constants'); const SnowflakeUtil = require('../util/SnowflakeUtil'); ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.Rating = undefined; var _Rating2 = require('./components/Rating'); var _Rating3 = _interopRequireDefault(_Rating2); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.Rating =...
import React, { Component } from 'react'; import { compose } from 'redux'; import { Form as FinalForm } from 'react-final-form'; import { injectIntl, FormattedMessage } from '../../util/reactIntl'; import classNames from 'classnames'; import { Form, Button, FieldCurrencyInput, PrimaryButton } from '../../components'; i...
(function(){ 'use strict'; angular .module('gaddum.mood') .directive('emotionReaderFeedback', emotionReaderFeedback) .directive('emotionReaderCameraState', emotionReaderCameraState) .directive('emotionReaderResultMenu', emotionReaderResultMenu); emotionReaderFeedback.$inject = [ 'emotionReaderSe...
const Blockquote = ({ children }) => ( <blockquote> {children} <style jsx>{` blockquote { color: #4a4a4a; font-style: italic; margin: 30px 20px; } blockquote:before, blockquote:after { content: ""; background: #eaeaea; height: 1px; ...
import express from 'express' import { createReloadable } from '@artsy/express-reloadable' const app = express() const PORT = process.env.PORT || 3000 const mountAndReload = createReloadable(app, require) app.use(mountAndReload('./app.js')) app.listen(PORT, () => console.log(`Listening on ${PORT}`))
// @flow import * as Constants from '../../constants/chat' import * as Inbox from '.' import * as Creators from '../../actions/chat/creators' import * as I from 'immutable' import { pausableConnect, compose, lifecycle, withState, withHandlers, createSelector, createImmutableEqualSelector, type TypedStat...
"use strict"; /* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a dif...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); //# sourceMappingURL=media.like.options.js.map
(function(scope){ 'use strict'; function F(arity, fun, wrapper) { wrapper.a = arity; wrapper.f = fun; return wrapper; } function F2(fun) { return F(2, fun, function(a) { return function(b) { return fun(a,b); }; }) } function F3(fun) { return F(3, fun, function(a) { return function(b) { return function(c...
export default { blockHash: '0xf2b45b688de58833f11ed80c18aa9bdc9e6058d7522e0752bf3b46e4cba8b84c', blockNumber: 3577529, contractAddress: null, cumulativeGasUsed: 21000, gasUsed: 21000, logs: [{ address: '0xa74476443119a942de498590fe1f2454d7d4ac1d', blockHash: '0x225c988572025048f56879174f72268fc5b58...
module.exports = { siteMetadata: { title: "Pandas Eating lots" }, plugins: [ { resolve: `gatsby-source-filesystem`, options: { name: `src`, path: `${__dirname}/src/` } }, `gatsby-transformer-remark`, `gatsby-plugin-emotion`, 'gatsby-plugin-react-helmet', ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); const wrapIcon_1 = require("../utils/wrapIcon"); const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 ...
import * as sender from './sender' import * as panel from './panel' sender.connect(); panel.setup(); window.launch = sender.launch window.introduce = sender.introduce window.setParameter = sender.setParameter window.shade = sender.shade
import Vue from 'vue' import { ToastPlugin, ModalPlugin } from 'bootstrap-vue' import VueCompositionAPI from '@vue/composition-api' import router from './router' import store from './store' import App from './App.vue' // Global Components import './global-components' // 3rd party plugins import '@/libs/portal-vue' i...
'use strict'; import config from '../config'; import gulp from 'gulp'; import gzip from 'gulp-gzip'; gulp.task('gzip', function() { return gulp.src(config.gzip.src) .pipe(gzip(config.gzip.options)) .pipe(gulp.dest(config.gzip.dest)); });
(function (console) { "use strict"; var $estr = function() { return js_Boot.__string_rec(this,''); }; Math.__name__ = true; var Std = function() { }; Std.__name__ = true; Std.string = function(s) { return js_Boot.__string_rec(s,""); }; var js_Boot = function() { }; js_Boot.__name__ = true; js_Boot.__string_rec = funct...
const _ = require('../helpers/database'); // eslint-disable-line no-unused-vars const { start, stop, graphqlQuery } = require('../helpers/integration-server'); const catFactory = require('../factories/mocks/cat'); describe('getCatsByOwner root query', () => { let app; let cat1; let cat2; let cat3; // TODO @d...
////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014-present, Egret Technology. // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // /...
module.exports = { verbose: true, collectCoverage: true, coveragePathIgnorePatterns: ['/node_modules/', '/test/assets/'], reporters: [ 'default', [ 'jest-junit', { outputDirectory: 'tests/results', outputName: 'report.xml', }, ], [ 'jest-html-reporter', ...
import React from 'react'; import PropTypes from 'prop-types'; import { Anchor } from './_htmlComponents/anchor'; import { navigate } from 'gatsby'; const Link = ({ to, linkStyle, ...rest }) => ( <Anchor href={to} onClick={e => { navigate(to); e.preventDefault(); }} {...rest} /> ); Lin...
import styled from 'styled-components' export const Wrapper = styled.div` display: flex; height: auto; min-height: 100%; ` export const SidebarWrapper = styled.div` background-color: rgb(46, 51, 54); width: 230px; ` export const PageWrapper = styled.div` width: 100%; height: auto; min-height: 100%; d...
/*! @license Firebase v4.0.0 Build: rev-c054dab Terms: https://firebase.google.com/terms/ */ /** * Copyright 2017 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...
/**************************************************************************** Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, wo...
/** * Copyright 2013-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. * * @providesModule ...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'print', 'fo', { toolbar: 'Prenta' } );
import React, {Component} from 'react'; import { Link } from 'react-router'; import MainStore from '../stores/main-store.js' import CookieNotice from './cookie-notice.js'; import BrowserCookies from 'browser-cookies'; import Translate from 'react-translate-component'; import Tags from './tags'; import assets from '../l...
const handlers = {}; export const regHandlers = newHandlers => { Object.assign(handlers, newHandlers); }; export const reducer = (state, action) => handlers[action.type] ? handlers[action.type](state, action) : state;
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = sequentialPromise; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperty(obj, key, value) { if ...
const {app, BrowserWindow} = require('electron') // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage collected. let win function createWindow () { // Create the browser window. win = new BrowserWindow({width: 800, height: ...
import { OPTIONAL_ASSET_PREFIX } from './constants' const detectErrors = (stats, forward) => forward ? stats .filter( (val) => !val.compilation.name.startsWith(OPTIONAL_ASSET_PREFIX) ) .reduce((acc, val) => acc || (val != null && val.hasErrors()), false) : stats .fil...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PublicKey = void 0; const tslib_1 = require("tslib"); const class_validator_1 = require("class-validator"); class PublicKey { } tslib_1.__decorate([ class_validator_1.IsDefined() ], PublicKey.prototype, "id", void 0); tslib_1.__dec...
const app = require("./app"); const express = require('express') const router = express.Router() const userController = require('./controllers/userController') //router.get('/', userController.home) // function respont(res){ // console.log('in da function') // app.render(`<h1> HELLLOU </h1>`) // } // respont() rout...
p5.disableFriendlyErrors = true; var img; function preload() { img = createVideo('../dom/fingers.mov'); img.hide(); } function setup() { // put setup code here createCanvas(windowWidth, windowHeight); background(0); noStroke(); rectMode(CENTER); } function draw() { translate((width - img.width) / 2, ...
const form = document.querySelector('form'); const loadingElement = document.querySelector('.loading'); const API_URL = window.location.hostname === 'localhost' ? 'http://localhost:5000/octos' : 'https://octochat-api.vercel.app/octos' const octosElement = document.querySelector('.octos'); loadingElement.style.display...
import 'cypress-file-upload' describe('Test sensitive word', () => { before(() => { cy.intercept('post', 'https://www.blog1997.com/api/oauth/currentUser', { fixture: 'user' }).as('user') }) /** * 访问页面 */ it('Visit page', () => { cy.intercept('get', 'htt...
/* * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by ap...
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
/***************************************************************************/ /* */ /* Copyright 2018-2022 by */ /* Vily(vily313@126.com) */ /* ...
app.controller( "hgsCtrl", function ( $scope, $rootScope, kendoExt, $linq, $timeout, $localStorage, $base64, $modalInstance, TumAracListesi ) { var araclar = $linq .Enumerable() .From(TumAracListesi) .Where(function (x...
const base = require('quick.db'); const { Client, GuildMember, TextChannel } = require('discord.js'); const ModeratorErrors = require('discord-moderator/src/ModeratorErrors.js'); const ModeratorError = require('discord-moderator/src/ModeratorError.js'); const { Mute } = require('discord-moderator/structures/Moderator.j...
angular.module('account.purchaseHistory.one', ['config', 'account.settings.social', 'security.service', 'security.authorization', 'services.accountResource', 'services.utility','ui.bootstrap', 'directives.serverError']); angular.module('account.purchaseHistory').config(['$routeProvider', 'securityAuthorizationProvider'...
import { parse } from 'qs'; import enhancedModelExtend, { advancedList } from '@/utils/extend'; import { detail } from '@/services/report'; export default enhancedModelExtend(advancedList, { namespace: 'reportdetail', state: { item: {}, report_id: '', showList: true, }, effects: { *fetch({ pay...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = _default; var _lodash = _interopRequireDefault(require("lodash.isequal")); var _isPlainObject = _interopRequireDefault(require("is-plain-object")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? o...
Ext.define('Ext.theme.material.MessageBox', { override: 'Ext.MessageBox', config: { buttonToolbar: { layout: { pack: 'end' } } } });
const router = require('express').Router(); const sequelize = require('../../config/connection'); const { Post, User, Comment, Tag, Category, PostTag } = require('../../models'); const withAuth = require('../../utils/auth'); //Get all Tags router.get('/', (req, res) => { Tag.findAll({ attributes: [ ...
import React from 'react'; import {render} from 'react-dom'; import {Provider} from 'react-redux'; import {Store} from 'react-chrome-redux'; import injectTapEventPlugin from 'react-tap-event-plugin'; import Raven from 'raven-js'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import Chip from 'mate...
/*! * @license * Copyright 2018 Alfresco Software, 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 la...
import React, {useState, useEffect, useRef} from "react"; import {InputWithLabel,TextButton,MessageContainer,MessageLink,FormContainer,FormFooter} from '../app-layout'; import * as pageControlUtil from './pageControlUtil'; import SelectExample from './SelectExample'; export default ({globalInputApp,domain,toPageContro...
const express = require('express'); const cluster = require('cluster'); const os = require('os'); const app = express(); const numCpu = os.cpus().length; console.log('num of cpu:', numCpu); app.get('/', (req, res) => { for (let i = 0; i < 1E8; i++) { // some long } res.send(`Ok...${process.pid}`); cluste...
import Vue from 'vue' import VueRouter from 'vue-router' Vue.use(VueRouter) const Channel = { template: '<div>group {{ $route.params.gid }} Channel{{ $route.params.cid }} </div>' } // const Foo = { template: '<div>foo</div>' } // const Bar = { template: '<div>bar</div>' } const routes = [ { path: '/group/:gid/c...
import { $, $$ } from 'common-sk/modules/dom' import { SCHEMA } from './schema' let currentJSON = {}; // Call setupListeners with the container element of the JSON editor // after it has been created with new JSONEditor(container, options). // setupListeners adds listeners to respond to the user interacting // with ...
const url = require('url'); const _ = require('lodash'); const testUtils = require('../../../utils'); const schema = require('../../../../server/data/schema').tables; const API_URL = '/ghost/api/v2/admin/'; const expectedProperties = { // API top level posts: ['posts', 'meta'], pages: ['pages', 'meta'], ...
/* * @author : Alexis Chretienne * @email : alexis.chretienne@fr.ibm.com * * Sample code allowing to understand how to code API in Javascript * */ //The API Developer Portal URL var url_api_devloper_portal = "https://api.us.apiconnect.ibmcloud.com/spbodieusibmcom-prod/developer-contest/mplbank"; // Your API ...
L.Map = L.Map.extend({ openPopup: function (popup, latlng, options) { // (Popup) or (String || HTMLElement, LatLng[, Object]) this._popup = popup; return this.addLayer(popup).fire('popupopen', { popup: this._popup }); } }); var map = new L.Map('map', { 'center': [0, 0], ...
import { useTheme } from 'utils/theme_context'; import { Header } from 'components/Header'; import { Footer } from 'components/Footer'; export default function Layout({ children }) { const { theme } = useTheme(); return ( <div className={`content-transition duration-200 flex-auto flex flex-col min-h-sc...
const customerCode = $("#customer-code"); const customerName = $("#customer-name"); const customerGender = $("#customer-gender"); const customerAddress = $("#customer-address"); const customerCity = $("#customer-city"); const formContainerCustomer = $("#insert-customer"); const formActionCustomer = $("#action_customer...
import styles from './template.css'; import template from './template'; import AoflElement from '@aofl/web-components/aofl-element'; /** * @summary IconRoundTabletMacElement * @class IconRoundTabletMacElement * @extends {AoflElement} */ class IconRoundTabletMacElement extends AoflElement { /** * Creates an in...
import PositionReducer from './position-reducer'; import * as actions from './position-actions'; import * as fileActions from '../interactive-file-actions'; import * as rowActions from './rows-actions'; import * as searchActions from './search-actions'; const DefaultState = { x: 0, y: 0, }; describe('Position set...
jasmine.TrivialReporter = function(doc) { this.document = doc || document; this.suiteDivs = {}; this.logRunningSpecs = false; }; jasmine.TrivialReporter.prototype.createDom = function(type, attrs, childrenVarArgs) { var el = document.createElement(type); for (var i = 2; i < arguments.length; i++) ...
var class_in_control_1_1_touch_input_device = [ [ "TouchInputDevice", "class_in_control_1_1_touch_input_device.html#ac905d8886fb3e3f174d1162f2ab7c08a", null ] ];
/* * Copyright (c) AXA Group Operations Spain S.A. * * 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 limitation the rights to use, copy, modify,...
/** * Bootstrapping code for line chart */ import * as d3 from 'd3'; import gChartframe from 'g-chartframe'; import gChartcolour from 'g-chartcolour'; import * as parseData from './parseData.js'; import * as cartogram from './drawChart.js'; import * as ss from 'simple-statistics'; import * as gLegend from 'g-legend'...
'use strict' const config = require('../config') const jwt = require('jsonwebtoken') const encryptor = require('simple-encryptor')(config.ENCRYPTOR_SECRET) module.exports = data => { const tokenOptions = { expiresIn: '1h', issuer: 'https://auth.t-fk.no' } const tokenData = { data: encryptor.encrypt(...
Polymer({ is: "iron-autogrow-textarea", behaviors: [Polymer.IronFormElementBehavior, Polymer.IronValidatableBehavior, Polymer.IronControlState], properties: { bindValue: { observer: "_bindValueChanged", type: String }, rows: { type: Number, ...