text
stringlengths
2
1.04M
/************************************************/ /* IPB3 Javascript */ /* -------------------------------------------- */ /* ips.facebook.js - Facebook SDK functionality */ /* (c) IPS, Inc 2012 */ /* -------------------------------------------- */ /* Author: Matt Mecham */ /*************************...
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.dialog.add("paste",function(c){function k(a){var b=new CKEDITOR.dom.document(a.document),g=b.getBody(),d=b.getById("cke_actscrpt");d&&d.remove();g...
var searchData= [ ['question',['Question',['../group___enumerations_gaae85628862e3db5a13e7c21a90589c1d.html#ggaae85628862e3db5a13e7c21a90589c1daa97ea56b0e00b2379736ae60869ff66a',1,'fabgl']]] ];
const { request } = require('graphql-request') const create = zip => { return `{ currentWeather(zip: ${zip}) { name weather { main description } main { temp } } }` } const get = input => { const url = process.env.WEATHER_URL return request(url, cre...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><defs><path id="a" d="M0 0h24v24H0V0z" /></defs><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88...
import { CHANGE_USERNAME } from './chatActions' const intialState = { currentUsername: 'Anon' } export function chatRootReducer(state = intialState, action = {}) { switch (action.type) { case CHANGE_USERNAME: return { ...state, currentUsername: action.newUsername } default: ...
(this["webpackJsonpbazzon-app"]=this["webpackJsonpbazzon-app"]||[]).push([[38],{542:function(p,a,n){}}]); //# sourceMappingURL=38.819b9ba3.chunk.js.map
/* * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/) * * 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...
// show only the reviews section var meta = document.getElementById('bookMeta'); var reviews = document.getElementById('other_reviews'); if (meta && reviews) { document.body.innerHTML = '<div class="siteHeader__logo"></div>' + '<div id="mainContent" style="padding: 0 12px 5px; max-width: 750px;"></div>'; ...
module.exports = function check(str, bracketsConfig) { let tempStr; while(str){ tempStr = str; bracketsConfig.forEach(twoBrackets => str = str.replace(twoBrackets.join(""), "")); if(tempStr == str) return false; } if(str == "") return true; else return false; }
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === '...
// load dependencies const logger = require('winston'); const db = require('../models'); // configure logging require('../helpers/configureLogger.js')(logger); const userName = process.argv[2]; logger.debug('user name:', userName); const oldPassword = process.argv[3]; logger.debug('old password:', oldPassword); const ...
import styled from 'styled-components'; import { lighten } from 'polished'; import colors from '~/styles/colors'; export const Menu = styled.div` position: absolute; width: 130px !important; border: 1px solid ${lighten(0.4, colors.border)}; border-radius: 4px; display: flex; padding: 10px 15px; flex-dire...
'use strict' /** * Date: 02/05/2020 * Author: Edwin Anaya H. * Url: https://documentation.com/ */ module.exports = { PORT: process.env.PORT || process.env.LOCAL_PORT, DB: process.env.MONGODB_URI || process.env.LOCAL_DB, SECRET_TOKEN: process.env.SECRET_TOKEN }
/** * jQuery asSpinner v0.4.3 * https://github.com/amazingSurge/jquery-asSpinner * * Copyright (c) amazingSurge * Released under the LGPL-3.0 license */ (function(global, factory) { if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else if (typeof exports !== 'undefined') { fa...
import React from 'react'; import './Logo.css'; const logoDesign = "{CM}"; const logo = (props) => ( <div className="Logo"> <p>{logoDesign}</p> </div> ) export default logo;
/** @param { import('express').Express} app */ module.exports = app => { /** * Get All */ app.get('/categories', (_, res) => { app.db('categories') .orderBy('id', 'desc') .then(data => { console.log(data) if (data.length) { res.status(200).json(data) } else ...
import React from 'react'; import { shallow } from 'enzyme'; import Form from '../TokenForm'; describe('<TokenForm />', () => { it('should render an <form> tag', () => { const renderedComponent = shallow(<Form />); expect(renderedComponent.type()).toEqual('form'); }); it('should have a className attrib...
const path = require("path"); module.exports = { publicPath: process.env.NODE_ENV === 'production' ? '/pets-vue/' : '/pets-vue/', outputDir: path.resolve(__dirname, "./docs") }
import axios from '@/libs/api.request' import api from './interface.js' export const login = ({user, password}) => { const data = { user, password } return axios.request({ url: api.register.login, data, method: 'post' }) }
/* eslint no-unused-expressions: 0 */ import PathHelpers from "src/victory-primitives/path-helpers"; describe("path-helpers", () => { const x = 0; const y = 0; const size = 1; describe("circle", () => { it("draws a path for a circle at the correct location", () => { const pathResult = PathHelpers.cir...
;(function () { BX.namespace("BX.Report.Dashboard"); BX.Report.Dashboard.Cell = function(options) { this.height = options.height || 400; this.widget = options.widget; this.flexValue = options.flexValue || 1; this.row = options.row; this.empty = true; this.rendered = false; this.id = options.id; th...
const path = require('path'); const HtmlWebpackPlugin = require("html-webpack-plugin"); const htmlWebpackPlugin = new HtmlWebpackPlugin({ template: path.join(__dirname, "./examples/src/index.html"), filename: "./index.html" }); module.exports = { entry: path.join(__dirname, "./examples/src/index.js"), o...
// get numbers put into array var numberArray = process.argv.slice(2); // variable for sum var sum = 0; numberArray.forEach(function(element, index, array) { sum += Number(element); }); console.log(sum);
/** * @license * Copyright 2018 Google LLC. 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 required by a...
const HtmlWebpackPlugin = require("html-webpack-plugin"); const { VueLoaderPlugin } = require("vue-loader"); const { join } = require("path"); const dealWithServer = require("./dealWIthServer"); const publicPath = "/"; module.exports = async function (env, argv) { return { entry: "./src/index.js", output: {...
/* jQuery elevateZoom 3.0.7 - Demo's and documentation: - www.elevateweb.co.uk/image-zoom - Copyright (c) 2013 Andrew Eades - www.elevateweb.co.uk - Dual licensed under the LGPL licenses. - http://en.wikipedia.org/wiki/MIT_License - http://en.wikipedia.org/wiki/GNU_General_Public_License */ "function"!==typeof Object.c...
import { createStore, applyMiddleware } from 'redux'; import thunk from 'redux-thunk'; import reducers from './reducers'; import { composeWithDevTools } from 'redux-devtools-extension'; const store = createStore( reducers, composeWithDevTools(applyMiddleware(thunk)) ); export default store;
const XBOT = 'AMPIBI'; // Nama Bot Whatsapp const instagram = 'https://instagram.com/affis_saputro123'; // Nama Instagramlu cok const nomer = 'https://Wa.me/+6281216795577'; // Nomor whatsapplu cok const aktif = 'Tergantung kuota'; // Kapan bot lu aktif const groupwa = 'comming soon'; // OFFICIAL GRUP LU 1 const youtu...
'use strict' var test = require('tape') var sinon = require('sinon') var insane = require('..') test('succeeds because of sensible defaults', function (t) { t.equal( insane('<div>bar<span>foo</span></div>'), '<div>bar<span>foo</span></div>' ) t.end() }) test('succeeds because of whitelist approach', fu...
$(document).ready(function(){ $("#btn_paso_01").click(function(){ $("#contactForm").submit(); }); }); $(document).ready(function(){ $("#aceptar_terminos_popUp").click(function(){ $('.bs-example-modal').modal('hide'); $("input[type='checkbox']").attr('checked',':checked'); }); }); //F...
import React, { useState, useEffect } from "react"; const calcTimeLeft = (file) => { const ttd = file.timeCurrent - file.timeStarted; const uploadSpeed = file.uploaded / (ttd / 1000); if (uploadSpeed > 0) { const tl = Math.round((file.size - file.uploaded) / uploadSpeed); return new Date(tl * 1000).toIS...
import React from 'react'; import PropTypes from 'prop-types'; import styled from '@emotion/styled'; import { monoFonts } from '@storybook/components'; import Indicator from './Indicator'; import colors from '../colors'; const Pre = styled.pre({ margin: 0, ...monoFonts, }); const FlexContainer = styled.div({ ...
// Spell console.log("spell.js loaded!"); function Spell(name){ this.name = name; this.damage = 0; this.affect = 0; this.manaCost = 0; }
import React from 'react'; import iconSvg from '../icons/normalized/path-logo.svg'; function IconRender(props) { const paths = /^\<svg [^>]+\>(.*)<\/svg>/ig.exec(iconSvg)[1] return ( <svg {...props} xmlns="http://www.w3.org/2000/svg" baseProfile="full" viewBox="0 0 24 24" classNam...
import React, { forwardRef } from 'react'; import { renderPathForWeight } from '../lib/index.esm.js'; import IconBase from '../lib/IconBase.esm.js'; /* GENERATED FILE */ var pathsByWeight = /*#__PURE__*/new Map(); pathsByWeight.set("bold", function (color) { return React.createElement(React.Fragment, null, React.cre...
import React, { useState, useEffect, state } from "react"; import EmployeeFetch from "../../../api/EmployeeFetch" import Select from 'react-select'; import ProjectFetch from "../../../api/ProjectFetch" import { useTranslation } from 'react-i18next'; import RemoveBox from '../../messageBox/RemoveBox' import InfoBox from...
/** * Copyright 2016 Facebook, Inc. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source code or binary * form for use in connection with the web services and APIs provided by * Facebook. * * As with any software that integrat...
const fs = require("fs-extra"); const path = require("path"); const prettier = require("prettier"); const klawSync = require("klaw-sync"); const files = klawSync("./tests", { nodir: true }); const javaSamples = files.filter(file => { return file.path.endsWith(".java"); }); javaSamples.forEach(sample => { const te...
var expando = require("../expando"), hasProp = require("../functions").hasProp; var Renderer; /// #if typeof NODE_ENV === "undefined" || NODE_ENV !== "production" var translator = require("../messages/translator"); /// #endif module.exports = function controlOptionSelected(evt) { var target = evt.target; ...
import React, { useState, useEffect } from 'react'; import { FlatList, SafeAreaView, Platform, Text, View } from 'react-native'; import fetch from 'node-fetch'; import styles from '../../../assets/styles'; import Story from '../story'; import { APIurl, version } from '../../../assets/constants/API'; i...
module.exports = { /* Invisible reCaptcha site key Create one in https://www.google.com/recaptcha/intro/ */ RECAPTCHA_SITE_KEY: process.env.RECAPTCHA_SITE_KEY, // Google analytics tracking ID GOOGLE_ANALYTICS_ID: process.env.GOOGLE_ANALYTICS_ID, };
/** * IMPORTANT: FIXME: These tests are referring to the source of plugins at their * master branch, so if you’re checking this out from the future, it’s probably * not going to run the tests. */ /** * TODO: * - Conditional skip inside of tests: https://github.com/visionmedia/mocha/issues/591 */ var Mocha = re...
(function () { if (window.myBookmarklet !== undefined) { myBookmarklet(); } else { document.body.appendChild(document.createElement('script')).src = 'https://b3dd5dcb.ngrok.io/static/bookmarklet.js?r='+ Math.floor(Math.random()*99999999999999999999); } })();
import {debounce} from "@/common/utils"; export const itemListenerMixin = { mounted() { const refresh = debounce(this.$refs.scroll.refresh, 500) this.itemImgListener = () => { refresh() } this.$bus.$on('imageLoad', this.itemImgListener) // console.log('----混入mixin------'); } }
import { useEffect, useState, useRef } from 'react'; import { getContactChannels } from 'api/getContactChannels'; import { getContactChannelDetail } from 'api/getContactChannelDetail'; import { getContactChannelSummary } from 'api/getContactChannelSummary'; import { getContactProfile } from 'api/getContactProfile'; imp...
const test = require('ava') const { fromAngleDegrees } = require('./index') const { compareVectors } = require('../../../../test/helpers/index') test('vec2: fromAngleDegrees() should return a new vec2 with correct values', (t) => { const obs1 = fromAngleDegrees(0) t.true(compareVectors(obs1, [1.0, 0.0])) const...
<<<<<<< HEAD var tabButtons=document.querySelectorAll(".tabContainer .buttonContainer button"); var tabPanels=document.querySelectorAll(".tabContainer .tabPanel"); function showPanel(panelIndex,colorCode) { tabButtons.forEach(function(node){ node.style.backgroundColor=""; node.style.color=""; ...
const axios = require('axios'); const ipaddr = require('ipaddr.js'); import GeoLocationAddressObject from './geolocation-address-object.js'; import SocketAddress from 'common/sockets/socket-address' import GeoHelper from 'node/lists/geolocation-lists/geo-helpers/geo-helper' class GeoLocationLists { /* geo...
/** * Created by Admin on 21.09.2017. */ /*! * Parsley.js * Version 2.8.0 - built Wed, Sep 13th 2017, 11:04 pm * http://parsleyjs.org * Guillaume Potier - <guillaume@wisembly.com> * Marc-Andre Lafortune - <petroselinum@marc-andre.ca> * MIT Licensed */ function _toConsumableArray(e){if(Array.isArray(e)){for(var...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["contentful"] = factory(); else root["co...
import Vue from 'vue' import App from './App.vue' import {initRouter} from './router' import './theme/index.less' import Antd from 'ant-design-vue' import Viser from 'viser-vue' // import '@/mock' import store from './store' import 'animate.css/source/animate.css' import Plugins from '@/plugins' import {initI18n} from ...
import React from 'react'; import {StyledDisplay} from './styles/StyledDisplay'; const Display = ({ gameOver, text}) => ( <StyledDisplay gameOver={gameOver}> {text} </StyledDisplay> ) export default Display;
const router = require('express').Router(); const log4js = require('log4js'); const mongoose = require('mongoose'); const JWT = require('jsonwebtoken'); const config = require('../config'); const securityUtils = require('../utils/security.utils'); const cacheUtils = require('../utils/cache.utils'); const logger = log...
#!/usr/bin/env node require('../lib/bin/patternplate-test');
var dom = document.getElementById("gdzc-final-chart"); var myChart_gdzc_final = echarts.init(dom); var app = {}; option = null; app.title = '固定资产分类金额汇总条形图'; option = { tooltip: { trigger: 'axis', axisPointer: { // 坐标轴指示器,坐标轴触发有效 type: 'shadow' // 默认为直线,可选为:'line' | 'sh...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.TimePickerProps = undefined; var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _definePropert...
import { useEffect } from 'react' const useWebcam = (videoRef, onLoaded) => { useEffect(() => { if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) { navigator.mediaDevices .getUserMedia({ audio: false, video: { facingMode: 'user', width: {...
import aqua from './products/image-aqua.png'; import rose from './products/image-rose.png'; import steel from './products/image-steel.png'; import yellow from './products/image-yellow.png'; import image from './products/image.png'; export default { aqua, rose, steel, yellow, image };
// @flow import { Action, Store } from 'redux' import type { ReduxState } from '../reducer' export default (store: Store<ReduxState>) => ( next: (action: Action) => ReduxState ) => (action: Action) => { console.log(`dispatching: ${action.type}`) const result = next(action) console.log(`next state: ${JSON.strin...
module.exports={A:{A:{"2":"I F E D A B fB"},B:{"2":"C N v O H J K","328":"RB M"},C:{"2":"oB FB lB eB","161":"0 1 2 3 4 5 6 7 8 9 G T I F E D A B C N v O H J K U V W X Y Z a b c d e f g h i j k l m n o p q r s t u P w x y z QB EB BB CB AB R GB Q IB JB KB LB MB NB OB PB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G T I F E D A B C N v...
jQuery(function ($) { InitializeEUCookieLawPopup(); }); function InitializeEUCookieLawPopup() { if ($("$popup_element_jquery_selector").length > 0) { $(document).euCookieLawPopup().init({ cookiePolicyUrl: "$cookiePolicyUrl", popupPosition: "$popupPosition", colorStyle: ...
const clean = require('../clean/main') const copy = require('../copy/main') const html = require('../html/main') const js = require('../js/main') const css = require('../css/main') const img = require('../img/main') const run = async () => { await clean() await copy() await html() await js() await css() aw...
import React from 'react'; const CaseGallery = ({ images, ImageCover }) => ( <section className="section"> <div className="container"> <div className="columns is-multiline"> {images.map(items => ( <div className={ImageCover == 'half' ? 'column is-6' : 'column is-4'}> <figure c...
(typeof Crypto=="undefined"||!Crypto.util)&&function(){var f=window.Crypto={},k=f.util={rotl:function(b,c){return b<<c|b>>>32-c},rotr:function(b,c){return b<<32-c|b>>>c},endian:function(b){if(b.constructor==Number)return k.rotl(b,8)&16711935|k.rotl(b,24)&4278255360;for(var c=0;c<b.length;c++)b[c]=k.endian(b[c]);return ...
import React from "react"; const StrikesInfoCards = () => ( <> <div className="wrapper"> <div className="card"> <div className="card-title">Мне говорят, что забастовки незаконны</div> <div className="card-body"> Право на забастовку является неотъемлемым и прописано в{" "} ...
// Cart.js // version: 0.4.3 // author: Gavin Ballard // license: MIT
/* # Copyright 2016 Chaoyi Zha # # 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 agree...
var dateSelectorController = function ($scope) { $scope.openedDialog = false; $scope.dateOptions = { showWeeks: false, startingDay: 1 }; $scope.openCalendar = function(e) { e.preventDefault(); e.stopPropagation(); $scope.openedDialog = true; }; $scope.dateOptions = { formatYear: 'yyyy', starting...
/** * Copyright 2018 Google Inc. 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 required by appli...
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue"; import { ref, getCurrentInstance } from 'vue'; import { extend, isObject, inBrowser, withInstall } from '../utils'; import { mountComponent, usePopupState } from '../utils/mount-component'; import VanToast from './Toast'; var defaultOptions =...
/* * Copyright 2019 is-land * * 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 to in w...
/*! * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html * v4.0.21 - 2016-04-12 * */
export const ic_screenshot_twotone = {"viewBox":"0 0 24 24","children":[{"name":"g","attribs":{},"children":[{"name":"path","attribs":{"d":"M0,0h24v24H0V0z","fill":"none"},"children":[{"name":"path","attribs":{"d":"M0,0h24v24H0V0z","fill":"none"},"children":[]}]}]},{"name":"g","attribs":{},"children":[{"name":"g","attr...
define([ 'mocks/dashboard-mock', 'lodash', 'services/templateSrv' ], function(dashboardMock) { 'use strict'; describe('templateSrv', function() { var _templateSrv; var _dashboard; beforeEach(module('grafana.services')); beforeEach(module(function() { _dashboard = dashboardMock.create()...
// program/pages/demo/demo.js const schools = ['电子科技大学'] const campuses = ['沙河校区','清水河校区','九里堤校区'] const grads = ['2020级','2019级','2018级','2017级'] Page({ /** * 页面的初始数据 */ data: { person:{ user_name:'', //用微信接口直接获取 short_info:'小程序设置多行超出进行隐藏 1、最近开发遇到需要在列表页显示一部分相关信息,但是可能涉及的信息比较长,所以想让它只显示两行,超出即...
var searchData= [ ['order_5fcallback',['order_callback',['../classCompetition.html#a6f51ab2e5a0da50fc53035f3ff6c9c31',1,'Competition']]], ['ordertransition',['orderTransition',['../classCompetition.html#a8f7aa2e324cf8ed071a3b3bf7d8df8f2',1,'Competition']]] ];
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var session = require('express-session'); var bodyParser = require('body-parser'); var http = require('http'); var mongoose = require('mongoo...
/* * Copyright (C) 2017-2018 Dremio Corporation * * 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 l...
module.exports = { name: 'state', displayName: 'state', preset: '../../jest.preset.js', coverageReporters: ['lcov', 'cobertura'], coverageDirectory: '../../docs/test-coverage/state', collectCoverageFrom: [ './src/**/!(index).ts', '!./src/lib/experimental/**/*.ts', ], setupFilesAfterEnv: ['<root...
/* global describe it */ var assert = require('assert') var genlib = require( '../dist/index.js' ) var gen = genlib.gen var fold = genlib.fold describe( 'fold', ()=> { it( 'should generate a value of .75 given an input of 1.25, a min of 0 and a max of 1', ()=> { let answer = .75, graph = fold( 1.25 ), ...
var BaseView, should, sinon; should = require('should'); sinon = require('sinon'); BaseView = require('../../../shared/base/view'); describe('BaseView', function() { beforeEach(function() { this.MyTopView = BaseView.extend({}); this.MyTopView.id = 'MyTopView'; this.MyBottomView = BaseView.extend({}); ...
/*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.14.6(c1dd5c86b7e1e55223831b1beb73f017bb19af94) * Released under the MIT license * https://github.com/Microsoft/vscode/blob/master/LICENSE.txt *------------------------------------...
import React from 'react' import * as helper from '../../lib/helper' import { themeSettings, text } from '../../lib/settings' const FormattedCurrency = ({ number, settings }) => (helper.formatCurrency(number, settings)) const NewAndOldPrices = ({ newPrice, oldPrice, settings }) => ( <div className="product-price"> ...
var tests = [], file; for (file in window.__karma__.files) { if (window.__karma__.files.hasOwnProperty(file)) { if (/test\/spec\/.*\.spec\.js$/.test(file)) { tests.push(file); } } } //YOU ABSOLUTELY NEED THE SLASH IN FRONT OF BASE OR ELSE YOU WILL GET TIMESTAMP ISSUES var baseUrl = '/base/app'; requ...
'use strict'; module.exports = { up: (queryInterface, Sequelize) => { return queryInterface.createTable('users',{ id: { type: Sequelize.INTEGER, allowNull:false, autoIncrement: true, primatyKey:true, }, name:{ type: Sequelize.STRING, allowNull: f...
var AWS = require("aws-sdk"); AWS.config.update({ region: "us-west-2" }); var dynamodb = new AWS.DynamoDB(); var params = { TableName: "Services", KeySchema: [ // Partition Key { AttributeName: "name", KeyType: "HASH" } ], AttributeDefinitions: [ { AttributeName: "name", AttributeType: "S" } ...
/** * _ * _____ _ ____ _ |_| * | _ |/ \ ____ ____ __ ___ / ___\/ \ __ _ ____ _ * | |_| || | / __ \/ __ \\ '_ \ _ / / | |___\ \ | |/ __ \| | * | _ || |__. ___/. ___/| | | ||_|\ \___ |...
import React from 'react' import { number, string } from 'prop-types' import styled from 'styled-components' import { DataProvider } from '@dhis2/app-runtime' import { HeaderBar } from '@dhis2/ui-widgets' const StickyHeaderBar = styled(HeaderBar)` position: fixed; width: 100%; z-index: 1000; top: 0; ` ...
module.exports = [{"name":"path","attribs":{"d":"M8 38h12v-4H8v4zm32-28H8v4h32v-4zm-6 12H8v4h26.5c2.21 0 4 1.79 4 4s-1.79 4-4 4H30v-4l-6 6 6 6v-4h4c4.41 0 8-3.59 8-8s-3.59-8-8-8z"}}];
const webpack = require("webpack"); const path = require("path"); const PACKAGE = require("./package.json"); // WebPack Plugins. const HtmlWebpackPlugin = require("html-webpack-plugin"); const CopyPlugin = require("copy-webpack-plugin"); module.exports = { entry: "./src/index.js", module: { rules: [ { ...
import Login from '../views/Login.vue' import NotFound from '../views/404.vue' import Home from '../views/Home.vue' import Role from '../views/menu/roles.vue' import Main from '../views/Main.vue' import Table from '../views/nav1/Table.vue' import Form from '../views/nav1/Form.vue' import user from '../views/nav1/user.v...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */
import {objectEntries, objectHasOwn} from 'ts-extras'; export function isInterface(value, interface_) { return objectEntries(interface_).every( ([key, predicate]) => objectHasOwn(value, key) && predicate(value[key]), ); }
import React from "react" import Layout from "../components/Layout" import Main from "../components/Main" import { graphql } from 'gatsby' import StoryblokService from '../utils/storyblok-service' import SEO from "../components/Seo" setTimeout(function(){ var href = window.location.href; const facebook_url = 'http...
import webdriver from 'selenium-webdriver'; import ieDriver from 'selenium-webdriver/ie'; import chai, {expect} from 'chai'; import dirtyChai from 'dirty-chai'; import _ from 'lodash'; import MiewPage from './pages/miew.page'; import golden from './golden'; chai.use(dirtyChai); import goldenCfg from './golden.cfg';...
angular.module('plunker', []) .factory('plunkGenerator', function ($document) { return function (ngVersion, bsVersion, version, module, content) { var form = angular.element('<form style="display: none;" method="post" action="http://plnkr.co/edit/?p=preview" target="_blank"></form>'); var addField ...
import React from 'react'; import {View} from 'react-vr'; import Asteroid01 from './Asteroid01'; import Asteroid02 from './Asteroid02'; import Asteroid03 from './Asteroid03'; export default class World extends React.Component { render() { return ( <View> <Asteroid01 style={{ ...
export function darkSwitchFunction () { console.log("ran function...") var darkSwitch = document.getElementById("darkSwitch"); console.log(darkSwitch) if (darkSwitch) { initTheme(); darkSwitch.addEventListener("change", function(event) { resetTheme(); }); function initTheme() { var d...
// Copyright & License details are available under JXCORE_LICENSE file /* This code compares process.execArgv called from main thread and addTask() as method */ var assert = require('assert'); var clog = jxcore.utils.console.log; var finished = false; var value = JSON.stringify(process.execArgv); var method = fun...