text
stringlengths
2
1.05M
/* @flow */ 'use strict'; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /*:: import type {Config} from '....
(function() { 'use strict'; var test = require('colored-tape'), runOptionsTest = require('./common.js').runOptionsTest; test('beforeEach', function(t) { runOptionsTest(t, { beforeEach: 'Removing ' }); }); }());
//<![CDATA[ /*! Lazy Loading jQuery Plugin - Lazy Scroll * https://github.com/pikitemplates/scripts * * Copyright (c) 2018-2021 Piki Templates * https://pikitemplates.com */ $((function(e){e.fn.lazyimg=function(){return this.each((function(){function t(){var t=e(window).height();if(e(window).scrollTop()+t>a.off...
import '../opbeat-e2e' import React from 'react' import ReactDOM from 'react-dom' class CompositeComponent extends React.Component { render () { return ( <span>Composite component</span> ) } } class ES6Component extends React.Component { render() { return ( <span id="ES6Component" onCli...
/* @flow */ var createMarkupForStyles = function (style: Object, spaces: string): string { spaces = spaces || ''; return Object.keys(style).map(function (property) { return spaces + property + ': ' + style[property] + ';'; }).join('\n'); }; module.exports = createMarkupForStyles;
export default { name: 'XAxis', props: [ { name: 'hide', type: 'Boolean', defaultVal: 'false', isOptional: false, desc: { 'en-US': 'If set true, the axis do not display in the chart.', 'zh-CN': '是否隐藏 x 轴。', }, }, { name: 'dataKey', type: 'Strin...
/// Mock for external Bitcoincash API /// See: /// curl "http://{bch rpc}/v2/xpub/xpub6Bq3UUphocwroXkhA9sn8ACnZpJNuwaBehgo7WbDi2DULYnvT72Uzgsv9cE5EiP8ThDYdMyZREfbpkUY4KZ88ZaUQxXciBcZ1soSi1d8xtX?details=txs" /// curl "http://localhost:3000/bitcoincash-api/v2/xpub/xpub6Bq3UUphocwroXkhA9sn8ACnZpJNuwaBehgo7WbDi2DULYnvT72Uz...
import React from 'react' import { graphql, StaticQuery, Link } from 'gatsby' import { Grid, Row, Col } from 'react-flexbox-grid'; import Img from 'gatsby-image' import styled from 'styled-components' import FontFace from '../utils/font-face' import HeaderWrapper from '../components/headerWrapper' import HeaderContaine...
import './theme/lumo/vaadin-date-time-picker.js'; export * from './src/vaadin-date-time-picker.js';
module.exports = require('../impls/$spliterate/spliterate.js').spliterate;
/* * @Author: Pure <305737824@qq.com> * @CreateTime: 2022-04-07 17:01:09 * @LastEditors: Pure <305737824@qq.com> * @LastEditTime: 2022-04-08 10:49:45 * @Description: 0014-Longest_Common_Prefix 最长公共前缀 */ /** * @param {string[]} strs * @return {string} * 解题思路: * 1.将字符串数组按长短排序,获取最短字符串 * 2.遍历最短字符串,比较每个字符串的每个字符是否...
import _ from 'underscore'; import cloneDeep from 'lodash/cloneDeep'; /** * Returns the metadata of the state with the new empty field. If the field does * not exist, returns the original metadata. Does not mutate the given state. * @param {Object} state * @param {String} namePrefix * @return {Object} metadata *...
/** * ---------------------------------------------------------------- * Copyright © Backbase B.V. * ---------------------------------------------------------------- * Author : Backbase R&D - Amsterdam - New York * Filename : main.spec.js * Description: * --------------------------------------------------...
// 对Date的扩展,将 Date 转化为指定格式的String // 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符, // 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字) // 例子: // (new Date()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2006-07-02 08:09:04.423 // (new Date()).Format("yyyy-M-d h:m:s.S") ==> 2006-7-2 8:9:4.18 Date.prototype.format = functio...
import Vue from 'vue'; import qs from 'qs'; import store from '../../store'; let getDecodingsQIP; let _decodingsCache; export default { /* service methods ------------------------------------------------------- */ /** * Gets a list of sessions from the server * @param {object} query Parameters to quer...
$(function(){ var $range=$('#range'), $age=$('#age'); $age.html($range.val()); $range.change(function(){ $age.html($range.val()); }) })
'use strict'; // Create the 'chat' controller angular.module('chat').controller('ChatController', ['$scope', '$location', 'Authentication', 'Socket', '$http', 'FeedService', function ($scope, $location, Authentication, Socket, $http, Feed) { // Create a messages array $scope.messages = []; /* RSS Feed L...
import Vue from 'vue' import VueRouter from 'vue-router' const Home = () => import('../views/home/Home'); const Category = () => import('../views/category/Category'); const Cart = () => import('../views/cart/Cart'); const Profile = () => import('../views/profile/Profile'); Vue.use(VueRouter) const routes = [{ path...
import React from 'react'; import { Card, CardImg, CardText, CardBody, CardTitle, Breadcrumb, BreadcrumbItem } from 'reactstrap'; import { Link } from 'react-router-dom'; function RenderDish({dish}) { if (dish != null) return( <Card> <CardImg top src={d...
import styled from 'styled-components' import { autoCssGenerator } from '../cssHelpers.js'; const _default = autoCssGenerator('tree-checkbox-wrapper'); export default styled.div` ${_default('color')} ${_default('margin-left')} ${_default('margin-bottom')} `
deepmacDetailCallback("0023d9000000/24",[{"d":"2008-10-08","t":"add","a":"9714 10th Ave. N.\nPlymouth MN 55441\n\n","c":"UNITED STATES","o":"Banner Engineering","s":"wireshark.org"},{"d":"2015-08-27","t":"change","a":"9714 10th Ave. N. Plymouth MN US 55441","c":"US","o":"Banner Engineering"}]);
console.log(16**2*8);//2048 console.log(2**16-1);//65535 console.log(0x4E07.toString(10)); //19975 //16 //xxxxxxxxxxxxxxxx //1111111111111111
const Upload = require('../../models/index').Upload; const User = require('../../models/index').User; const Subscription = require('../../models/index').Subscription; const PushEndpoint = require('../../models/index').PushEndpoint; const PushSubscription = require('../../models/index').PushSubscription; const EmailSub...
/* global angular */ 'use strict'; /** * Main App Module */ let app = angular.module('app', ['search', 'utils', 'ui.bootstrap']) .controller('ALController', function ($scope, $http, $timeout) { //Parameters vars $scope.vm_list = null; $scope.user = null; $scope.loading = false; ...
const dbUtils = require('../util/db') const table_name = 'pages' const MyResume = { async insertMyResume(model) { const result = dbUtils.insertData(table_name, model) return result }, async updateMyResume(id, options) { const result = dbUtils.updateData(table_name, options, id) return result },...
module.exports={A:{A:{"2":"J D F E A oB","33":"B"},B:{"1":"C P H I R K L W a M MB S T N V O aB"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB dB HB SB Q KB LB U NB OB PB QB IB GB Z Y TB UB VB WB RB W a M nB MB S T N V O","2":"hB XB G b J D F E A B C P H I R K L c d vB yB"},D...
// 图书馆 function Book(isbn,title,author) { this._setIsbn(isbn); this.title=title ||'未给标题'; this.author=author||'未给作者'; } Book.prototype.setIsbn = function (isbn) { if (this._checkIsbn()){ this.isbn=isbn; console.log('success'); }else { throw new Error('isbn有误'); } } Book...
describe('manualColumnMove', () => { const id = 'testContainer'; beforeEach(function() { this.$container = $(`<div id="${id}"></div>`).appendTo('body'); }); afterEach(function() { if (this.$container) { destroy(); this.$container.remove(); } }); describe('init', () => { it('sh...
const categories = require('express').Router(); const appRoot = require('app-root-path'); const validate = require(appRoot + '/middleware/Validate'); const handleError = require(appRoot + '/middleware/HandleError'); const Category = require(appRoot + '/models/Category'); categories.post('/', async (req, res) => { ...
import React, { useState } from "react"; import { useQuery } from "@apollo/client"; import { Box, makeStyles, FormControl, InputLabel, Select, MenuItem, Checkbox, ListItemText, Button, TextField, } from "@material-ui/core"; import ListSubheader from "@material-ui/core/ListSubheader"; import List fr...
/* jshint node: true */ "use strict"; var options = require('./options'); var fs = require('fs'); var exists = require('./exists'); var cluster = require('cluster'); var makeserver = require('./makeserver'); function portInUse(port, host, callback) { var server = require('net').createServer(); server.listen(...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; let crudPerson = new Schema({ personName: { type: String }, personEmail: { type: String }, personAddress: { type: String }, personNeed: { type: String }, personPhone...
const path = require('path'); const webpack = require('webpack'); const srcdir = path.resolve(__dirname, 'src/main/frontend'); const entries = { irma: path.join(srcdir, 'entry/index-with-irma.js'), irmarefresher: path.join(srcdir, 'entry/index-with-irma-refresher.js'), irmaissuer: path.join(srcdir, 'entry/index...
const userKey = '_mymoney_user'; const INITIAL_STATE = { user: JSON.parse(localStorage.getItem(userKey)), validToken: false, }; export default (state = INITIAL_STATE, action) => { switch (action.type) { case 'TOKEN_VALIDATED': if (action.payload) { return { ...state, validToken: true }; }...
const fetch = require('node-fetch'); require('dotenv').config(); const baseUrl = process.env.API_BASE_URL const options = { json: true, headers: { 'X-Auth-Token' : process.env.API_KEY } } const getHttpRequest = (async function (path) { try { const response = await fetch(`${baseUrl + pa...
describe('isVisibleWithinViewport', () => { it('should check if a single element is visible', async function () { (await this.client.isVisibleWithinViewport('.nested')).should.be.true; (await this.client.isVisibleWithinViewport('.notInViewport')).should.be.false }) it.skip('should check mul...
import queryString from 'query-string' const create = async (params, credentials, product) => { try { let response = await fetch('/api/products/by/'+ params.shopId, { method: 'POST', headers: { 'Accept': 'application/json', 'Authorization': 'Bearer ' + credentials.t }, ...
/* eslint-disable max-len */ /* * Package Import */ import React from 'react'; import PropTypes from 'prop-types'; /* * Local Import */ import * as S from './style'; /* * Component */ const Result = ({ language, score, totalQuestions }) => { // Props const otherLanguage = language === 'HTML' ? 'css' : 'htm...
const nodemailer = require('nodemailer'); const { user, host, pass, port } = require('../config/mailer'); const transport = nodemailer.createTransport({ host, port, auth: { user, pass } }); module.exports = transport;
/* eslint-disable react/prop-types */ import React from 'react'; import { storiesOf } from '@storybook/react'; import moment from 'moment'; import styled from 'styled-components'; import data from '../constants/sampleRMEpisodes'; import DataTable from '../../../src/index'; const SampleStyle = styled.div` padding: 1...
import EmberRouter from '@ember/routing/router'; import config from './config/environment'; const Router = EmberRouter.extend({ location: config.locationType, rootURL: config.rootURL }); Router.map(() => { });
const Mam = require('./mam.node.js'); const iota = require('./iotaSetup.js'); const Cert = require('./cert.js'); const tools = require('./tools.js'); const now = require('moment'); const debug = process.env.DEBUG || 0; const localStore = require('./localStore.js'); const AccountStore = localStore.Account; const Cont...
/* istanbul instrument in package npmdoc_grunt_contrib_csslint */ /*jslint bitwise: true, browser: true, maxerr: 8, maxlen: 96, node: true, nomen: true, regexp: true, stupid: true */ (function () { 'use strict'; var local; // run shared js-env code - init-before (funct...
import React from "react"; import SocialLinks from "./SocialLinks"; const Banner = () => ( <div className="row banner"> <div className="banner-text"> <h1 className="responsive-headline">SushiStyle</h1> <h3> <span></span>, <span>RAW discussions with extra Wasabi</span> <span></span> ...
/* file : ulysses-fragments-client.js MIT License Copyright (c) 2017 Thomas Minier 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 ...
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 * as shown at https://oss.oracle.com/licenses/upl/ */ "use strict";var l={};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["world","cities",l]);
function TDb(){} function NDb(){} function kbc(){} function hEc(){} function mEc(){} function tEc(){} function pEc(){} function mbc(b){this.b=b} function VDb(){QDb=new TDb;fC((cC(),bC),43);!!$stats&&$stats(YC(e3d,nld,-1,-1));QDb.Nd();!!$stats&&$stats(YC(e3d,lId,-1,-1))} function jEc(){var b;this.N=(b=$doc.createElement...
import defaultInjectSheet from 'react-jss' const managers = new WeakMap() if (process.env.NODE_ENV === 'production') { // eslint-disable-next-line no-console console.error('react-jss-hmr should never be used in production!') } export default function injectSheet(...rest) { const createHoc = defaultInjectSheet....
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */ CKEDITOR.lang['fr']={"editor":"Éditeur de texte enrichi","editorPanel":"Tableau de bord de l'éditeur de texte enrichi","common":{"editorHelp":"Utilisez le raccourci Alt-0 pour...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. var listenersMap = new WeakMap(); var abortedMap = new WeakMap(); /** * An aborter instance implements AbortSignal interface, can abort HTTP requests. * * - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled. ...
/** * We are using reactDom.browserServer.renderToString and not reactDom.render in order to * allow us to measure the elements from a different components render function. * If you call reactDom.render from another components render function react will crash with the following * error: * Warning: Render methods s...
import Vue from "vue" import App from "./App.vue" document.addEventListener('DOMContentLoaded', () => { new Vue({el: "#app", render: h => h(App)}) })
integration.meta = { 'sectionID' : '127647', 'siteName' : 'What to expect - Desktop - ( UK )', 'platform' : 'desktop' }; integration.testParams = { 'desktop_resolution' : [1260] }; integration.flaggedTests = []; integration.channelHome = []; integration.params = { 'mf_siteId' : '1035955', 'plr_PageAlignment' ...
// async function increment(number) { let promise = new Promise(function (resolve, reject) { setTimeout(function () { if (number) { return resolve(number++); } return reject("Invalid number"); }, 2000); }); try { let result = await promise; console.log(result); } catch...
import React, { Component } from "react"; import { StatusBar, Alert, StyleSheet, SafeAreaView, ScrollView, Dimensions, View, TouchableOpacity } from "react-native"; import { Container,Header,Title,Content,Button, Separator, Textarea, Icon,Left,Right,Body,Text,ListItem,List, Item, Input, Thumbnail, Switch, Toas...
import {EntityField} from './entity_field' export class Edit { constructor() { this.initListeners() } initListeners() { this.initDeleteCurrentFileListener() this.initSaveAndNewListener() this.initEntityFields() this.initEntityModalButtonsListener() } initDe...
/** * Copyright (C) 2019 Yudha Tama Aditiyara * * 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 Component from '/material/script/Component.js'; import '../../views/page/view-page.js'; import '../../views/section/view-section.js'; import '../../views/article/view-article.js'; import '../../views/source/view-source.js'; import '../../views/import/view-import.js'; import '/material/components/expand/materia...
/* eslint-disable no-console */ /* eslint-disable camelcase */ module.exports = Behavior({ methods: { ui_tap() { this.triggerEvent('Tap',) } }, })
/** * Created by zhangsihao on 17/3/25. */ angular.module('ngconfManagerApp') .controller('ProfileListCtrl', function ($scope, Projects) { $scope.$on('openProject', function (event, project) { console.log('opening', project); $scope.project = project; $scope.profiles = {}; $scope.current...
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy-img-ads/diy-img-ads"],{"01bb":function(e,t,l){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l={name:"diy-img-ads",props:{value:{type:Object}},data:function(){return{isDots:!0,pageWidth:0,swiperRa...
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
(function() {var implementors = {}; implementors["bitvec"] = [{"text":"impl&lt;O, V, Rhs&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitXorAssign.html\" title=\"trait core::ops::bit::BitXorAssign\">BitXorAssign</a>&lt;Rhs&gt; for <a class=\"struct\" href=\"bitvec/array/struct.BitA...
module.exports = { title: 'Web Magic Board', /** * @type {boolean} true | false * 右侧 设置 */ showSettings: false, /** * @type {boolean} true | false * 开启 Tags-View 导航 */ tagsView: true, /** * @type {boolean} true | false * 固定 Header */ fixedHeader: false, /** * @type {boo...
var Feature = require('feature'); if (!require('ua').phantomjs && Feature.isTouchEventSupported()) { require('./double-tap'); require('./tap'); require('./tap-hold'); }
var assert = require('assert'); var request = require('../context').request; describe('req.inspect()', function(){ describe('with no request.req present', function(){ it('should return null', function(){ var req = request(); req.method = 'GET'; delete req.req; assert(null == req.inspect(...
define({"topics" : [{"title":"Offset Management","shortdesc":"\n <p class=\"shortdesc\">The first time that a Kafka Consumer origin identified by a consumer group receives messages from a topic, an offset entry\n is created for that consumer group and topic. The offset entry is cr...
const fs = require('fs'); function getMainFile() { const dirname = '.next/static/commons'; const files = fs.readdirSync(dirname); const [file] = files .reduce((result, filename) => { if (!/^main-[a-f0-9]+\.js$/.test(filename)) { return result; } const path = `${dirname}/${filename}...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Produccionstock Schema */ var ProduccionstockSchema = new Schema({ tipo: { type: String,//fomi-{corte-perforado-estampado-huellado},empacado,tiras ensamble,espanson-{herradura-bahia,boo...
(function() { var module = angular.module('brew-o-module.controller'); module.controller('RecipeWaterCtrl', function($scope, BrewCalc, WaterReport) { var reports = JSON.parse( window.localStorage.getItem( "waterReport" )); if(!reports) { $scope.updateReport(); }el...
import app from './server' import config from 'config' import { runLastBlockJob } from './jobs/invoices' import { runCallbackJob } from './jobs/callbacks' app.listen(config.listen, _ => console.log("Listening on port",config.listen)) runLastBlockJob() runCallbackJob()
import {makeSVG, jitter} from './utils.js'; function make_key(x, y, z) { return [x, y, z].join('.') } function is_visited(x, y, z, lookup, max_x, max_y) { if (x >= max_x || x < 0) { return true } else if (y >= max_y || y < 0) { return true } else if (lookup.hasOwnProperty(make_key(x, y, z))) { retu...
import React, { Component } from 'react'; import { string } from 'prop-types'; import classNames from 'classnames'; import { FormattedMessage } from '../../../util/reactIntl'; import { lazyLoadWithDimensions } from '../../../util/contextHelpers'; import { NamedLink } from '../../../components'; import css from './Se...
import PropTypes from "prop-types"; import React, { useEffect } from "react"; import { useHistory } from "react-router-dom"; import { connect } from "react-redux"; import Button from "@material-ui/core/Button"; import ListTable from "../../components/table/ListTable"; // import SpecDialog from "./SpecDialog"; import {...
import React from 'react' import {Helmet} from 'react-helmet' import {useStaticQuery, graphql} from "gatsby" const Metadata = ({ title, description }) => { const data = useStaticQuery( graphql` query { site { siteMetadata { title descript...
/** * * Tests for InstagramPic * * @see https://github.com/react-boilerplate/react-boilerplate/tree/master/docs/testing * */ import React from 'react'; import { render } from 'react-testing-library'; import { IntlProvider } from 'react-intl'; // import 'jest-dom/extend-expect'; // add some helpful assertions im...
'use strict' import { settings, game } from '../main.js' settings.title = 'A First Step...' settings.author = 'The Pixie' settings.version = '1.2' settings.thanks = ['Kyle', 'Lara'] settings.noTalkTo = false settings.noAskTell = false settings.tests = true settings.textEffectDelay = 100 settings.imagesFolder = 'im...
/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.gfx.arc"]){ dojo._hasResource["dojox.gfx.arc"]=true; dojo.provide("dojox.gfx.arc"); dojo.requi...
//devmode_service.js var serviceName = "com.palm.service.devmode"; var Service = require("webos-service"); var node_fs = require("fs"); var pmlog = require("pmloglib"); var console = new pmlog.Console(serviceName); var node_child = require("child_process"); var testMode = false; if (process.argv.indexOf("--testmode") ...
import React, { forwardRef } from 'react'; import PropTypes from 'prop-types'; const FileCode = forwardRef(({ color, size, ...rest }, ref) => { return ( <svg ref={ref} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...rest...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Body = Matter.Body; var btn2; var ground1 var angle=60 function setup() { createCanvas(400,400) engine = Engine.create(); world = engine.world; var ball_options = { restitution: 0.95, ...
;(function(global){ var MAX_DELAY = 5 * 1000, MIN_DELAY = 10, dt = 5; var emitterFunctions = ["on", "addListener", "removeListener", "removeAllListeners"]; var noop = function(){}; var nextDelay = function(last){ return Math.min(last * dt, MAX_DELAY); }; var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh...
/* * Copyright 2015-2019 The OpenZipkin 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 law or a...
/** * SPDX-License-Identifier: Apache-2.0 */ const helper = require('../../../common/helper'); const logger = helper.getLogger('NetworkService'); /** * * * @class NetworkService */ class NetworkService { /** * Creates an instance of NetworkService. * @param {*} platform * @memberof NetworkService *...
class Player { constructor(x, y, radius, color) { this.x = x; this.y = y; this.radius = radius; this.color = color; } }; export default Player;
// revisão sobre objetos const produto = new Object produto.nome = 'Cadeira' produto['marca do produto'] = 'Generica' produto.preco = 220 console.log(produto) delete produto.preco delete produto['marca do produto'] console.log(produto) const carro = { modelo: 'a4', valor: 89000, proprietario: { n...
// Karma configuration // Generated on Tue Sep 01 2015 12:55:42 GMT+0200 (CEST) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/...
/* * * NOTE: The client side of hack.chat is currently in development, * a new, more modern but still minimal version will be released * soon. As a result of this, the current code has been deprecated * and will not actively be updated. * */ // initialize markdown engine var markdownOptions = { html: false, xh...
$("#searchcustomerdata").typeahead({ source: function(request, process) { $.ajax({ url: "viewbillcustomer_search", dataType: "json", data: { search_val: $("#searchcustomerdata").val(), term: request.term }, success: func...
import React, { PureComponent, Component } from 'react'; import { findDOMNode } from 'react-dom'; import PropTypes from 'prop-types'; import isFunction from 'lodash/isFunction'; import scroll from '../utils/scroll'; import offset from '../utils/offset'; function scrollNodeToTop(node, offsets) { const pos = offset(n...
module.exports = { __depends__: [ require('diagram-js/lib/features/rules') ], __init__: ['spartaRules'], spartaRules: [ 'type', require('./SpartaRules') ] };
function assignmentAllDataToObject(assignmentObject) { let assignment = {} assignment.assignmentName = assignmentObject.assignmentName assignment.assignmentDescription = assignmentObject.assignmentDescription assignment.professorId = assignmentObject.professorId assignment.dueDate = assignmentObject.dueDate ...
import { combineReducers } from 'redux'; import songReducer from 'redux/reducers/songReducer'; import dialogReducer from './dialogReducer'; const rootReducer = combineReducers({ songs: songReducer, dialogs: dialogReducer }); export default rootReducer;
/* global QUnit */ sap.ui.define([ "sap/ui/fl/ChangePersistence", "sap/ui/fl/ChangePersistenceFactory", "sap/ui/fl/Layer", "sap/ui/fl/Utils", "sap/ui/fl/LayerUtils", "sap/ui/fl/apply/api/SmartVariantManagementApplyAPI", "sap/ui/fl/write/_internal/Storage", "sap/ui/core/UIComponent", "sap/ui/core/Control", "s...
$(function() { var availableTags = [ "Archipel du Frioul", "Ratonneau", "Tiboulen de Ratonneau", "Tiboulen de Ratonneau", "Le Grand Salaman", "Le Petit Salaman", "Ilot des Eyglaudes", "Pomegues", "Le Gros Esteou", "Rocher du Cap Caveaux", "Chateau d'If", "Ilot du Planier", "Archipel de Riou",...
/* http://keith-wood.name/calendars.html Traditional Chinese localisation for Gregorian/Julian calendars for jQuery. Written by Ressol (ressol@gmail.com). */ (function($) { $.calendars.calendars.gregorian.prototype.regionalOptions['zh-TW'] = { name: 'Gregorian', epochs: ['BCE', 'CE'], monthNames: [...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _svgIcon = require('../../svg-icon'); var _svgIcon2 = _interopRequireD...
webpackHotUpdate("static/development/pages/calc.js",{ /***/ "./componentes/calculadora.js": /*!************************************!*\ !*** ./componentes/calculadora.js ***! \************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _brainfuck = _interopRequireDefault(require("refractor/lang/brainfuck.js")); var _default = _brainfuck.default; exports....
var webpack = require('webpack'); var WebpackDevServer = require('webpack-dev-server'); var opn = require('opn') const chalk = require('chalk'); var webpackConfig = require('./webpack.config.js'); webpackConfig.entry.index = "webpack-dev-server/client?http://localhost:9000/"; console.log(webpackConfig) let compile...