text
stringlengths
2
1.04M
/* global Shopify */ import React from "react"; import ReactDOM from "react-dom"; import ReactPixel from "react-facebook-pixel"; import ReactSnapchat from "react-snapchat-pixel"; import ReactGA from "react-ga"; import ReactPinterest from "../lib/Pinterest"; import demoCampaign from "../static/campaign.json"; import Wid...
chrome.storage.local.get(['from', 'to', 'ytDlpPath', 'ffmpegPath'], function(result) { document.getElementById('fromSpan').textContent = getTimespanString(result.from); document.getElementById('toSpan').textContent = getTimespanString(result.to); if (!result.ytDlpPath || !result.ffmpegPath) { chrome.runtime.open...
/** * @fileoverview No unused styles defined in javascript files * @author Tom Hastjarjanto */ 'use strict'; // ------------------------------------------------------------------------------ // Requirements // ------------------------------------------------------------------------------ const { RuleTester } = re...
// These modules are typically built in PHP. We can't do that with the test runner. var elgg = elgg || {}; elgg.config = elgg.config || {}; elgg.config.wwwroot = 'http://www.elgg.org/'; elgg.config.current_language = 'en'; elgg.security = elgg.security || {}; elgg.security.interval = (24 * 60 * 60 * 1000); // make ...
(() => { 'use strict'; function textDecorate(collection, num) { for (let i = 0; i < collection.length; i++) { const h1Elm = collection.item(i); const h1Text = h1Elm.textContent; h1Elm.innerHTML = null; let count = 0; h1Text.split('').forEach(f...
var inputAction = ""; var display = document.getElementById('display').value; //SAIDA PARA DISPLAY function output(){ var display = document.getElementById('display').value; if (display == "0"){display = "";} //LIMPAR TODOS OS CARACTERES if (inputAction == "limpar"){ display = "0" inputAction = ""; } //L...
import { haveText, notHaveText, html, test } from '../../utils' test('sets html on init', html` <div x-data="{ foo: '<h1>hey</h1>' }"> <span x-html="foo"></span> </div> `, ({ get }) => { get('h1').should(haveText('hey')) } ) test('sets html on update', html` ...
//Global variables var timerEl = document.getElementById('countdown'); //grabs timer from index, location on page for timer var welcomePage = document.getElementById('welcome-page'); //Welcome Page var quizDiv1 = document.getElementById('quiz1'); //Question 1 Container var quizDiv2 = document.getElementById('quiz2'); /...
const express = require('express'); const Products = require("../models/Products.js"); const KafkaLogger = require("../logging/KafkaLogger.js"); const router = express.Router(); router.route('/products') .get(function(req, res) { return res.status(200).send(Products.getAllProductsInfo()); }) .post...
exports.initialize = function initializeSchema(schema, callback) { schema.adapter = new WebService(); process.nextTick(callback); }; function WebService() { this.name = 'http'; this._models = {}; this.cache = {}; this.ids = {}; } WebService.prototype.define = function defineModel(descr) { ...
import C from '../constants/actions'; export default function wallets(state = [], action) { switch (action.type) { case C.SET_USER_WALLETS: return action.payload || []; case C.INCREASE_WALLET_BALANCE: return [ ...state.filter(item => item.tokenId !== action.payload.tokenId), { ...
import { connect } from 'react-redux'; import Journal from '../../components/Journal'; /** * @function filterData * @param {array} entries Entries * @param {object} filter Filter object * @param {number} pageLimit Page limit * @param {number} pageNumber Page number * @return {array} Entries */ funct...
const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel appli...
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
'use strict'; /* This is the main function you want to export. You can add options for customization (in this case `upperCase`). It receives the expression, which you need to validate and either do something with it or return the original expression. */ module.exports = _ /* Options */ => async expression => { co...
/** When your routing table is too long, you can split it into small modules **/ import Layout from '@/layout' const componentsRouter = { path: '/components', component: Layout, redirect: '/components/tinymce', name: 'ComponentDemo', meta: { title: 'Components', icon: 'component' }, children: [ ...
/* post_mutes_users_destroy Usage: node job <bot_name> post_mutes_users_destroy (-a | --app) <app_name> (-u | --user) <user_name> API endpoint used: GET / Scope: xxx */ /** * @param {Twitter} bot * @param {string[]} extraArguments * @param {Job~Callback} callback */ module.exports = function(bot, ex...
const Header = ({ course }) => { return <h1>{course.name}</h1>; }; const Content = ({ course }) => { return ( <> <Part name={course.parts[0].name} exercises={course.parts[0].exercises} /> <Part name={course.parts[1].name} exercises={course.parts[1].exercises} /> <Part name={course.parts[2].na...
// @flow import type {TypedAction, NoErrorTypedAction} from './types/flux' import HiddenString from '../util/hidden-string' export type Mode = | 'codePageModeScanCode' | 'codePageModeShowCode' | 'codePageModeEnterText' | 'codePageModeShowText' export type DeviceRole = | 'codePageDeviceRoleExistingPhone' ...
/* Magic Mirror * Node Helper: Calendar * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var NodeHelper = require("node_helper"); var validUrl = require("valid-url"); var StockFetcher = require("./stockFetcher.js"); module.exports = NodeHelper.create({ // Override start method. start: function ()...
module.exports = { parser: '@typescript-eslint/parser', parserOptions: { project: 'tsconfig.json', sourceType: 'module' }, plugins: ['@typescript-eslint/eslint-plugin'], extends: [ 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'pre...
const { CONSTANTS, getDevServerLogLevel, getDevServerPort, isDevServerEnabled, isDevServerHot, } = require('../../config/config'); const buildDevServer = configuration => ({ clientLogLevel: getDevServerLogLevel(configuration), compress: true, historyApiFallback: true, hot: isDevServerHot(configuratio...
import createScene from "../../createScene.js"; import { VRButton } from "../../Source/Cesium.js"; describe("Widgets/VRButton/VRButton", function () { var scene; beforeEach(function () { scene = createScene(); }); afterEach(function () { scene.destroyForSpecs(); }); it("constructor sets default ...
/* * Copyright 2019, GeoSolutions Sas. * 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. */ import isNil from 'lodash/isNil'; import join from 'lodash/join'; import { reprojectBbox, getViewportGeometry } from...
import '@webcomponents/shadycss'; import '@webcomponents/shadydom'; window.Sifrr.Dom.setup(); window.Sifrr.Dom.load('sifrr-test', '/elements/sifrr/test.js'); window.Sifrr.Dom.load('sifrr-nosr', '/elements/sifrr/nosr.js');
import React, { useState } from 'react'; import PropTypes from 'prop-types'; import { useStaticQuery, graphql } from 'gatsby' import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { MapInteractionCSS } from 'react-map-interaction'; import Img from 'gatsby-image'; import PageHeader from '#common/Pa...
(function(r,f) { var a=f(); if(typeof a!=='object')return; var e=[typeof module==='object'&&typeof module.exports==='object'?module.exports:null,typeof window!=='undefined'?window:null,r&&r!==window?r:null]; for(var i in a){e[0]&&(e[0][i]=a[i]);e[1]&&i!=='__esModule'&&(e[1][i] = a[i]);e[2]&&(e[2][i]=a[i]);} })(this...
/*! * Bootstrap-select v1.13.15 (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2020 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ (function (root, factory) { if (root === undefined && window !== undefined) r...
"use strict"; // ===== TASK 01 ===== function task1() { const Account = function({ login, email }) { this.login = login; this.email = email; }; Account.prototype.getInfo = function() { console.log(`Login: ${this.login}, Email: ${this.email}`); }; console.log(Account.prototype.getInfo); // funct...
console.log("Begin load 'thera_bridge' module."); require('./thera_bridge/DataConverter.js'); require('./thera_bridge/WorkerBridge.js'); console.log("Load 'thera_bridge' module ok.");
const scrapeIt = require('scrape-it'); const fs = require('fs'); const program = scrapeIt('https://www.neoscon.io/schedule.html', { days: { listItem: 'div.talks', data: { topics: { listItem: 'div.talk', data: { time: '.talk__time', topic: 'h4.talk__title', d...
_guide .addEventListener( 'touchstart', (evt) => { touchstartX = evt.changedTouches[0].screenX touchstartY = evt.changedTouches[0].screenY; }, { passive: true } ); _guide .addEventListener( 'touchend', (evt) => { touchendX = evt.changedTouches[0].screenX; ...
import How1 from './how1.png' import How2 from './how2.png' import How3 from './how3.png' import Curve from './curve.png' const HowItWorks = () => { return ( <div className="md:-mt-44"> <img src={Curve}></img> <div className="text-white md:-mt-48 z-20 px-24" style={{backgroundColor: "#00...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); window.Vue = require('vue'); import swal from 'sweetalert' Vue.use(swal)...
/** |--------------------------------- | HasTextLayer |--------------------------------- | This mixin provides several TextLayer related tools. | | It provides `textLayer`, which has these elements: | `messager` - used to hold temporary messages | `hoverer` - used to hold information to show when hovering ove...
const { join } = require('path') const { readFileSync } = require('fs') const test = require('ava') const File = require('../lib/file') const sourceMapInit = require('../lib/helpers/init') const sourceMapWrite = require('../lib/helpers/write') const processLess = require('../lib/processors/less') test('should throw if...
const router = require('express').Router(); const { getAllUsers, getUserById, createUser, updateUser, deleteUser, addFriend, removeFriend } = require('../controllers/user-controller'); const { User } = require('../models'); // /api/users router .route('/') .get(getAllUsers) .post(crea...
module.exports = { env: { node: true, commonjs: true, es6: true }, extends: 'standard', rules: { 'no-var': 'error', 'space-before-function-paren': 0, 'prefer-const': 'error', semi: ['error', 'always'] }, overrides: { files: ['tests/**/*spec.js'], env: { mocha: true,...
//= require jquery //= require jquery_ujs //= require turbolinks //= require bootstrap-sprockets //= require react //= require react_ujs //= require_tree .
/** * @flow */ import React, { PureComponent } from 'react'; import { AppState, Text, View } from 'react-native'; export default class StateChanges extends PureComponent { state = { active: 0, background: 0, currentState: AppState.currentState }; componentDidMount() { AppState.addEventListene...
(function(root, factory) { if (typeof define === 'function' && define.amd) { define(['angular', 'objectpath', 'tv4'], factory); } else if (typeof exports === 'object') { module.exports = factory(require('angular'), require('objectpath'), require('tv4')); } else { root.schemaForm = factory(root.angular...
/* * Fixie.js * by Ryhan Hassan * ryhanh@me.com * * Automagically adds filler content * whenever an element has class="fixie". * Hope you find it useful :) */ var fixie = ( function () { var selector; var imagePlaceHolder = "http://placehold.it/${w}x${h}&text=${text}"; if (typeof document.getElementsByCla...
(function() { // pretty-pgp.js -- Pretty Pretty Good (Privacy) // (c) Edward Speyer, 2016 // sha1 implementation: (c) Copyright 2014-2015, emn178@gmail.com function sha1(message) { var HEX_CHARS = '0123456789abcdef'.split(''); var EXTRA = [-2147483648, 8388608, 32768, 128]; var SHIFT = [24, 16, 8, 0]; var blo...
import { Settings } from './settings.js'; import { Main } from './main.js'; /* issues - markers don't update for all combats if toekn is in 2 encounters simultaniously - when animation setting is toggled the non-gm clients dont respect the setting until refresh -TODO - look into adding tokenMagic FX */ ...
import BigInteger from 'bigi'; import v from './SerializerValidation'; // _internal is for low-level transaction code const _internal = { // Warning: Long operations may over-flow without detection to_long64(number_or_string, precision, error_info = '') { v.required(number_or_string, `number_or_string ${error_...
import { changeLocale, injectIntl, IntlContextConsumer, } from "gatsby-plugin-intl" import React, { Component } from "react" import { Helmet } from "react-helmet" class LanguageSwitcher extends Component { getButtonTextByCode(code) { return code === "en" ? "Nederlands" : "English" } render() { ret...
/* eslint-disable complexity */ import GL from '@luma.gl/constants'; import {Buffer, hasFeature, FEATURES} from '@luma.gl/core'; import {log, uid} from '@luma.gl/core'; export default class BaseAttribute { constructor(gl, opts = {}) { const {id = uid('attribute'), type, isIndexed = false} = opts; // Options...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information 'use strict' /* eslint camelcase: 0 */ /* eslint no-unused-vars: 0 */ function buildMlGetModelSnapshots (opts) {...
var Store = require('../../../store/postgres') describe('Postgres: all Attributes', function() { var store var database = 'all_attributes_test' before(function(next) { this.timeout(5000) beforePG( database, [ 'CREATE EXTENSION IF NOT EXISTS hstore', 'CREATE TABLE attribute_te...
var pspApp = angular.module("pspApp",[]);
/** * * * * @author : Gene Yang <talkyunyun@126.com> * @date : 2019/01/25 * @version : v1.0.0 * @link : https://github.com/Talkyunyun */ module.exports = { /** * 对数组正序排序 * @param arr * @param field * @return {*} */ sort: function(arr, field) { arr.sort(function(a...
import React, { Component } from 'react'; import { Image, StyleSheet, View, TouchableOpacity } from 'react-native'; import { withNavigation } from 'react-navigation'; import PencilIcon from '../assets/pencil.png'; class FloatButton extends Component { navigateToCreatePage = () => { const { navigation } = this.pr...
import FindQuestionView from './components/FindQuestionView/FindQuestionView' // Sync route definition export default { component : FindQuestionView }
const test = require("../index.js"); const a = 1; const b = 2; const c = 3; test("first", async ({ eq }) => { await new Promise(resolve => setTimeout(resolve, 200)); eq(a + b, c); }); test("second", async ({ eq }) => { await new Promise(resolve => setTimeout(resolve, 5)); eq(a + b, c); }); test("third", ({ ...
// Generated by CoffeeScript 1.9.0 /*! * @license smoothscroll * (c) sugarshin * License: MIT */ (function() { "use strict"; var $, SmoothScroll, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; $ = require('jquery'); module.exports = SmoothScroll = (function() { ...
import React, { memo } from 'react' import { StyleSheet, TouchableOpacity } from 'react-native' import Icon from '@/components/common/Icon' import { useGetter, useDispatch } from '@/store' import { navigations } from '@/navigation' export default memo(() => { const theme = useGetter('common', 'theme') const compo...
const BlockRewardAuRa = artifacts.require('BlockRewardAuRaTokensMock'); const ERC677BridgeTokenRewardable = artifacts.require('ERC677BridgeTokenRewardable'); const AdminUpgradeabilityProxy = artifacts.require('AdminUpgradeabilityProxy'); const RandomAuRa = artifacts.require('RandomAuRaMock'); const ValidatorSetAuRa = a...
import React from 'react'; import { connect } from 'react-redux'; import * as util from '../../common/utility'; import Image from '../../common/Image'; import GBLink from '../../common/GBLink'; import Dropdown from '../../form/Dropdown'; import ModalLink from '../../modal/ModalLink'; import { updateData, updateInfo...
if(_area_jsonp_340222){_area_jsonp_340222({"340222100":"繁阳镇","340222101":"荻港镇","340222102":"孙村镇","340222103":"平铺镇","340222104":"新港镇","340222105":"峨山镇","340222401":"安徽繁昌工业园区"})}
/** * A storage of per-target callbacks. * WeakMap is the most safe solution. * * @module emmy/listeners */ /** * Property name to provide on targets. * * Can’t use global WeakMap - * it is impossible to provide singleton global cache of callbacks for targets * not polluting global scope. So it is better to...
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/@babel/runtime/regenerator/index.js": /*!**********************************************************!*\ !*** ./node_modules/@babel/runtime/regenerator/index.js ***! \***************************************************...
module.exports = { projects: ['<rootDir>/apps/ide-playground', '<rootDir>/apps/ui-playground', '<rootDir>/libs/core', '<rootDir>/libs/ui-controls'] };
/* eslint-env phantomjs */ 'use strict'; var fs = require('fs'); // phantom js related var system = require('system'); var webpage = require('webpage'); var nonMatchingMediaQueryRemover = require('./non-matching-media-query-remover'); var GENERATION_DONE = 'GENERATION_DONE'; var stdout = system.stdout; // for using...
import { CHANGE_THEME, CHANGE_TAB, CREATE_MESSAGE, MAKE_DAMAGE } from './types' export function changeTheme(newTheme) { return { type: CHANGE_THEME, payload: newTheme, } } export function changeTab(newTab) { return { type: CHANGE_TAB, payload: newTab, } } export function createMessage(newMess...
/* eslint max-nested-callbacks: ["error", 8] */ /* eslint-env mocha */ 'use strict' const chai = require('chai') const dirtyChai = require('dirty-chai') const expect = chai.expect chai.use(dirtyChai) const bl = require('bl') const parallel = require('async/parallel') const Buffer = require('safe-buffer') const IPFSFac...
// *********************************************************** // This example support/index.js is processed and // loaded automatically before your test files. // // This is a great place to put global configuration and // behavior that modifies Cypress. // // You can change the location of this file or turn off // au...
(function () { Array.prototype.last = function () { return this[this.length - 1]; } Array.prototype.skip = function (n) { return this.slice(n); }; Array.prototype.take = function (n) { return this.slice(0, n); }; Array.prototype.sum = function () { let sum ...
let raf = null export function requestAnimationFrame (callback) { if (!raf) { raf = ( window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (callback) { return setTimeout(callback, 16) } ).bind(window) } retu...
import _createClass from "@babel/runtime/helpers/createClass"; import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose"; import Ext_Sheet from '../Ext/Sheet.js'; var Ext_Picker = /*#__PURE__*/function (_Ext_Sheet) { _inheritsLoose(Ext_Picker, _Ext_Sheet); Ext_Picker.PROPERTIES = function PROPERTIES() { ...
'use strict'; const nodeEnvFlags = process.allowedNodeEnvironmentFlags; const { isNodeFlag, impliesNoTimeouts, unparseNodeFlags } = require('../../../lib/cli/node-flags'); describe('node-flags', function() { describe('isNodeFlag()', function() { describe('for all allowed node environment flags', function(...
/** * Implement Gatsby's Browser APIs in this file. * * See: https://www.gatsbyjs.org/docs/browser-apis/ */ // You can delete this file if you're not using it import perfAnalytic from 'basic-perf-analytics' perfAnalytic();
/*! * Vue.js v2.0.3 * (c) 2014-2016 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory()); }(this, (...
import Vue from "vue"; import Router from "vue-router"; Vue.use(Router); /* Layout */ import Layout from "@/layout"; /** * constantRoutes * a base page that does not have permission requirements * all roles can be accessed */ export const constantRoutes = [ { path: "/login", component: () => import("@/...
var DatatableTranslationDemo={init:function(){$(".m_datatable").mDatatable({data:{type:"remote",source:{read:{url:"https://keenthemes.com/metronic/preview/inc/api/datatables/demos/default.php"}},pageSize:10,serverPaging:!0,serverFiltering:!1,serverSorting:!0},layout:{theme:"default",class:"",scroll:!1,height:null,foote...
const mongoose = require('mongoose') const authPlugin = require('../plugins/auth_plugin') const bcryptjs = require('bcryptjs') const adminSchema = mongoose.Schema({ name: { type: String, required: true, trim: true, unique: true }, password: { type: String, required: true, trim: true }, read: { type: Boolean, re...
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www...
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "\u0442\u0430\u04a3\u0435\u0440\u0442\u0435\u04a3\u0433\u0456", ...
/** * * @license Guriddo jqGrid JS - v4.8.2 * Copyright(c) 2008, Tony Tomov, tony@trirand.com * * License: http://guriddo.net/?page_id=103334 */
Polymer({ is: 'msc-element', ready: function() { mscIntf.attach(this) .to('locale') .to('hideIntroWindow') .to('selectedPage'); }, attached: function() {}, properties: { selectedPage: { type: String, observer: '_pageChanged', reflectToAttribute: true, }, log...
import React from 'react'; import { Route, Redirect } from 'react-router-dom'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; const PrivateRoute = ({component: Component, auth, ...rest}) => ( <Route {...rest} render = {props => auth.isAuthenticated === true ...
import React, { useState, Fragment } from 'react'; import { PropTypes } from 'prop-types'; import Login from '../../Login'; import SignUp from '../../SignUp'; import Button from '../../Button'; import Title from '../../Title'; import { isDesktop } from '../../../utils'; import { StyledSignUpSelection, StyledSignUpSel...
// Copyright 2021 Google LLC // // 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 ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var testing_1 = require("@angular/core/testing"); var dialog_troubleshooting_component_1 = require("./dialog-troubleshooting.component"); describe('DialogTroubleshootingComponent', function () { var component; var fixture; beforeEa...
function Vote(amount, requestid) { if (typeof amount == 'undefined') { amount = parseInt($('#amount').raw().value); } if (amount == 0) { amount = 20 * 1024 * 1024; } var index; var votecount; if (!requestid) { requestid = $('#requestid').raw().value; votecoun...
'use strict'; angular.module('myApp.Newregister', ['ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/Newregister', { templateUrl: 'templates/user/Newregister.html', controller: 'Newregister' }); }]) .controller('Newregister', function($scope, $http, $location, $mdDi...
import { closest, getElementRect, parentNode } from "./domUtils.js"; import extend from "./extend.js"; import is from "./is.js"; export function getStringOptionResult(value, target, element) { if (value === 'parent') { return parentNode(element); } if (value === 'self') { return target.getRect(element); ...
import { Mongo } from 'meteor/mongo'; import { Meteor } from 'meteor/meteor'; export const Channels = new Mongo.Collection('channels'); Meteor.methods({ 'channels.insert'(groupID, name, description) { // Make sure the user is logged in before inserting a task if (!this.userId) { throw...
const defaults = ["node_modules", "package.json", "package-lock.json", "CNAME", "LICENSE", "Procfile", "bootstrap.css", "bootstrap.min.css", "jquery.js", "jquery.min.js" ]; const extensions = [".jpg", ".JPG", ".jpeg", ".png", ".svg", ".ico", ".xml", ".yml", ".pdf", ".lock", ".psd", ".codekit", ".ttf", ".woff", ".woff...
import React, { Component } from "react"; import AppNavbar from "./components/AppNavbar"; import ShoppingList from "./components/ShoppingList"; import ItemModal from './components/ItemModel'; import { Provider } from "react-redux"; import store from "./store"; import "bootstrap/dist/css/bootstrap.min.css"; import "./...
const { join } = require('path') const Encore = require('@symfony/webpack-encore') /* |-------------------------------------------------------------------------- | Encore runtime environment |-------------------------------------------------------------------------- */ if (!Encore.isRuntimeEnvironmentConfigured()) { ...
export const WwwDmagazineComExtractor = { domain: 'www.dmagazine.com', title: { selectors: ['h1.story__title'], }, author: { selectors: ['.story__info .story__info__item:first-child'], }, date_published: { selectors: [ // enter selectors '.story__info', ], timezone: 'Amer...
var express = require('express'); var MongoClient = require('mongodb').MongoClient; var router = express.Router(); var announcementSchema = require('../models/announcementSchema'); var connectionString = "mongodb://dishant:123456@ds053196.mlab.com:53196/coursegame"; var ObjectId = require('mongodb').ObjectID; var FCM =...
$(document).ready(function() { $('#documents').DataTable({ language: { url: "assets/packages/datatables/media/js/ru.json" }, stateSave: true, responsive: true, aoColumnDefs: [ { bSortable: false, aTargets: [ 7 ] }, { type: 'date-eu', target...
import { route } from 'navi' import React from 'react' import { css } from 'styled-components/macro' import Card from 'components/card' import { colors } from 'theme' function Landing(props) { return ( <div> <Card css={css` color: ${colors.text}; margin: 1rem; padding:...
export const controllableFitting3WayTee21 = "M15 7h-4v2H9v5H8V9H6V7H2V6h4V4h5v2h4z";
(function () { 'use strict'; angular .module('app') .factory('AuthenticationService', Service); function Service($http, $localStorage) { var service = {}; //service.domain = 'http://localhost:8000/'; service.domain = 'http://estudiobarrio.plexarg.com/'; se...
import { setData } from '@progress/kendo-angular-intl'; setData({ name: "en-FI", likelySubtags: { en: "en-Latn-US" }, identity: { language: "en", territory: "FI" }, territory: "FI", calendar: { patterns: { d: "dd/MM/y", D: "EEEE, d MMMM...
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'forms', 'en-gb', { button: { title: 'Button Properties', text: 'Text (Value)', type: 'Type', typeBtn: 'Button', typeSbm: 'Submit', typ...
import { Injectable, Component, TemplateRef, Input, Directive, NgModule } from '@angular/core'; import { Subject } from 'rxjs'; import { CommonModule } from '@angular/common'; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : des...
"use strict"; var Updating = { /** * Updates a property on an object. * @param {Object} doc The object whose property is to be updated. * @param {String} prop The property to update. * @param {*} val The new value of the property. * @private */ _updateProperty: function (doc, prop, val) { doc[prop] = v...