text
stringlengths
2
1.04M
if(typeof(BX.CrmDealCategoryList) === "undefined") { BX.CrmDealCategoryList = function() { this._id = ""; this._settings = {}; this._serviceUrl = ""; this._dlg = null; this._dlgCloseHandler = BX.delegate(this.onDialogClose, this); }; BX.CrmDealCategoryList.prototype = { initialize: function(id, setting...
#!/usr/bin/env node // eslint-disable-file no-console const program = require('commander') const { deleteRemote, addRemote } = require('guld-git-remote') const runCLI = require('guld-cli-run') const thispkg = require(`${__dirname}/package.json`) /* eslint-disable no-console */ program .name(thispkg.name.replace('-cl...
import React from 'react'; import { render } from '@testing-library/react'; import Card from './index'; test('renders card', () => { const title = 'title', description = 'description'; const { getByText } = render( <Card title={title} description={description} /> ); const titleElement = getByText(titl...
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'specialchar', 'ug', { options: 'ئالاھىدە ھەرپ تاللانمىسى', title: 'ئالاھىدە ھەرپ تاللاڭ', toolbar: 'ئالاھىدە ھەرپ قىستۇر' } );
const server = require('./server.js'); const supertest = require('supertest'); //calls to a server are by nature asynchronus describe('server', function () { it('runs the tests', function () { expect(true).toBe(true); }); //always test for http status codes it('should respond with 200 OK', function () { ...
'use strict'; /** * explain_update.js * * Runs explain() and update() on a collection. */ load('jstests/concurrency/fsm_libs/extend_workload.js'); // for extendWorkload load('jstests/concurrency/fsm_workloads/explain.js'); // for $config load('jstests/concurrency/fsm_workload_helpers/server_types.js'); // for isMo...
import map from '../map'; import { wait, measureTime, around } from './utils'; test('should resolve mapper promise concurrently', async () => { const results = await map([1, 2, 3], async (i) => { const val = await Promise.resolve(`${i}!`); return val; }); expect(results).toEqual(['1!', '2!', '3!']); });...
fn({ ...b, a });
var azure = require('azure-storage'); var Guid = require('Guid'); var tableService = azure.createTableService(); var queueService = azure.createQueueService(); const QueueMessageEncoder = azure.QueueMessageEncoder; console.log(queueService.messageEncoder); queueService.messageEncoder = new QueueMessageEncoder.TextBase...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/admin/Footer.vue?vue&type=script&lang=js&": /*!*****************************************************************************************...
/* * Copyright (C) 2013 salesforce.com, 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
//# sourceMappingURL=react-syntax-highlighter_languages_refractor_django.e0f3a02b.chunk.js.map
function infinite_scroll(selection){ var url = window.location.href, refresh = false, remove = false, offset = 0, order = null, format_items = function(d){ return d }; // Initialize variables var formatDate = d3.time.format("%B %-d, %Y"), parseDate = d3.time.format.iso.parse...
setInterval(function () { var x = 1; for (var i = 0; i < 5; i++) { x++; x++; x++; } }, 0); //# sourceMappingURL=script.js.map
/* */ define(['exports', './aurelia-history'], function (exports, _aureliaHistory) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); Object.keys(_aureliaHistory).forEach(function (key) { if (key === "default") return; Object.defineProperty(exports, key, { enumera...
(function(){ var BOOLEAN_PROPERTIES = [ "allowfullscreen", "allowpaymentrequest", "allowusermedia", "async", "autofocus", "autoplay", "checked", "compact", "complete", "controls", "declare", "default", "defaultchecked", "defaultselected", "defer", "disab...
import { ACCEPT_EULA_SUCCESS, NOTIFICATION_HIDE, NOTIFICATION_SHOW, SHOW_ACCEPT_EULA_DIALOG, SIGN_OUT_SUCCESS } from "./actions"; export const root = ( state = { requireAcceptEULA: false, notification: { show: false, message: "" } }, action ) => { switch (action.type) { ca...
;(function() { /** * Abstract call class * Public methods: * - inviteUsers * - cancel * - answer * - decline * - hangup * * Events: * - onJoin * - onLeave * - onUserStateChanged * - onStreamReceived * - onStreamRemoved * - onCallFailure * - onDestroy */ BX.namespace('BX.Call'); BX...
'use strict'; var cookie = require('../../../../lib/browser/cookie'); var bvUiCoreCookie = require('bv-ui-core/lib/cookie'); module.exports = { 'lib/browser/cookie': { 'exports a module': function (test) { test.ok(cookie === bvUiCoreCookie); test.done(); } } };
/* * Copyright 2013 Samsung Information Systems America, 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.apache.org/licenses/LICENSE-2.0 * * Unless require...
module.exports={A:{A:{"2":"J E jB","132":"F G A B"},B:{"1":"P S T U V W X Y Z a b c Q H d","132":"C K L D M N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x y z AB BB CB DB EB FB GB HB IB dB JB eB KB LB R MB NB OB PB QB RB SB TB UB VB WB XB YB ZB P S T lB U V W X Y Z a b c Q H d","132":"kB cB I e J E F G A B C K L D M N O f g h i...
import Button from "../button"; import { Col, Row } from "antd"; import CountdownBox from "../countdown-box"; import React, { useState, useEffect, useRef } from "react"; import TopBackground from "../../../static/assets/images/top_background.png"; import styled from "styled-components"; import text from "./translations...
const { getGameByPlayerId } = require("../Repositories/PlayerRepository"); const { validateIfPlayerHasActiveGame } = require("./GameValidator"); const MessengerService = require('../Services/MessengerService'); const ERROR = 1; async function validateShowBoard(idPlayer, messageInstance) { let error = 0; let ...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[68],{ /***/ "./frontend/node_modules/@babel/runtime/regenerator/index.js": /*!*******************************************************************!*\ !*** ./frontend/node_modules/@babel/runtime/regenerator/index.js ***! \********************************...
function carregar (){ var msg = window.document.querySelector('div#msg') var img = window.document.querySelector('div#imagem') var data = new Date() var hora = data.getHours(); msg.innerHTML = `Agora são ${hora} horas!` if(hora >= 0 && hora < 12){ //BOM DIA img.src = 'manhaimg.pn...
import { __makeTemplateObject } from "tslib"; import * as React from 'react'; import styled from 'styled-components'; import { borderRadius, colors } from '@atlaskit/theme'; import { fontSize } from '@atlaskit/theme'; var InlineNode = styled.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-...
import * as UTILS from '../../globals'; const cameraModule = new WHS.CameraModule({ position: { z: -30, y: 20, x: -40 }, far: 5000, near: 1 }); const controlsModule = new WHS.OrbitControlsModule(); const world = new WHS.App([ ...UTILS.appModules({ position: new THREE.Vector3(0, 10, 200), ...
"use strict"; /** * @coreapi * @module view */ /** for typedoc */ var common_1 = require("../common/common"); var hof_1 = require("../common/hof"); var predicates_1 = require("../common/predicates"); var trace_1 = require("../common/trace"); /** * The View service * * This service pairs existing `ui-view` compone...
$(function() { var registerUserButton = $(".register-user-panel button").click(onRegisterUserClick); function onRegisterUserClick() { var url = "/account/registeruserasync"; var aft = $("[name='__RequestVerificationToken']").val(); var name = $(".register-user-panel .first-name").val()...
import { toI18n } from '../../.storybook/lang'; import theme from '../setThemeMixin/setTheme'; export default { title: 'Chart Components/progress' }; export const BasicProgress = () => ({ mixins: [theme], template: ` <sm-progress style="width:600px; height:60px; background: rgba(0, 0, 0, 0);" percent="50"...
const { assert, skip, test, module: describe, only } = require('qunit'); const { utils } = require('../../src'); describe('internal: utils'); test('systemEndianness not null', () => { assert.ok(utils.systemEndianness() !== null, 'not null check'); assert.ok(utils.systemEndianness() === 'LE' || utils.systemEndian...
const core = require('@actions/core'); const github = require('@actions/github'); async function createStatusCheck(repoToken, reportData, markupData, conclusion) { try { core.info(`Creating Status check for ${reportData.ReportMetaData.ReportTitle}...`); const octokit = github.getOctokit(repoToken); let ...
// import components styles import './Button/styles/'; import './Modal/styles/'; import './CellItem/styles/'; import './Toast/styles/'; import './Icon/styles/'; import './Dialog/styles/'; import './Landscape/styles/'; import './Field/styles/'; import './Switch//styles/'; // import components import Button from './Butt...
import { recipes } from '../data/recipes'; import { updateAfterSearchTag } from './updateAfterSearchTag'; /** * Update the recipes and the tags to display after a tag has been clicked */ const searchOnTag = (mainSearchRecipesToDisplay, recipesToDisplay) => { // Selects all the tags displayed in the 3 dropdow...
/* * Copyright 2013 Amadeus s.a.s. * 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 i...
global.createTestCase = (args, expected, description) => ({ description, args, expected });
/*var fatia = 0; while(fatia < 8){ fatia++; console.log(fatia); } console.log(fatia); */ var fatia = 0; do{ console.log("Fatia de numero " + fatia); fatia++; }while(fatia <=8);
import ngMock from 'ng_mock'; import expect from 'expect.js'; import { pluck } from 'lodash'; import sinon from 'sinon'; import KbnTopNavControllerProvider from '../kbn_top_nav_controller'; describe('KbnTopNavController', function () { let KbnTopNavController; beforeEach(ngMock.module('kibana')); beforeEach(ngM...
/** * stepping feet */ var bs = bonsai, lines = new Path(), darkFoot = new Path(), lightFoot = new Path(), feet = new Group(), i; darkFoot .moveTo(0,205) .lineTo(0,225) .lineTo(40,225) .lineTo(40,205) .lineTo(0,205) .attr({fillColor: "rgb(40,40,40)"}); lightFoot .moveTo(0,165) ....
// @flow import type { Dispatch } from "../actions/types"; import type { State } from "../types"; import React, { Component } from "react"; import { Col, Form, FormGroup, Label, Input, Button } from "reactstrap"; import RichTextEditor from "react-rte"; import { connect } from "react-redux"; import { updateNewLesson, ...
const path = require('path'); const should = require('should'); const supertest = require('supertest'); const sinon = require('sinon'); const testUtils = require('../../utils'); const localUtils = require('./utils'); const config = require('../../../core/server/config'); const labs = require('../../../core/server/servi...
"use strict"; /** * @copyright 2018-2019, Miles Johnson * @license https://opensource.org/licenses/MIT */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); con...
import React from "react"; import { Table, Modal, Button, Icon, Form, Select, Row, Col, Upload, Input, TreeSelect, Tag, Comment, Avatar, List, Popconfirm, message, Divider, } from "antd"; import moment from "moment"; import axios from "axios"; import EditorIn from "./Editor"; impo...
import _extends from "@babel/runtime/helpers/esm/extends"; import React, { memo, forwardRef } from 'react'; import Icon from '../src/Icon'; var svgPaths16 = ['M13.7 9.29a1.003 1.003 0 00-1.42 1.42l.29.29H11.4l-5-5h6.17l-.29.29a1.003 1.003 0 001.42 1.42l2-2c.18-.18.29-.43.29-.71s-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1....
const Sequelize = require("sequelize"); const sequelize = require("../config/database"); const Airplane_Routes = sequelize.define("Airplane_Routes", { scaleNumber: { type: Sequelize.INTEGER, allowNull: false } }); module.exports = Airplane_Routes;
/* eslint-disable no-unused-expressions */ /* eslint-disable no-shadow */ /* eslint-disable prefer-destructuring */ /* eslint-disable react/sort-comp */ import { Layout } from 'antd'; import classNames from 'classnames'; import { connect } from 'dva'; import { Redirect, routerRedux } from 'dva/router'; import { enquire...
import { readable, writable } from 'svelte/store'; import PageLetterSelect from "../pages/PageLetterSelect/PageLetterSelect.svelte" import PageLoadCAD from "../pages/PageLoadCAD/PageLoadCAD.svelte" import PageVerifyInfo from "../pages/PageVerifyInfo/PageVerifyInfo.svelte" import PageReviewExport from "../pages/PageRevi...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); tslib_1.__exportStar(require("@styled-icons/octicons/Hubot"), exports);
/* Grade S: Full marks(score=100) Grade A: score<100 and score>=90 Grade B: score<90 and score>=80 Grade C: score<80 and score>=60 Grade D: score<60 and score>=0 Grade X: score=-1(The cheating guy gets a score like that) */ function countGrade(scores) { const grade = { S: scores.filter(score => score === 100)...
/* Redactor Version 3.0.8 Updated: April 16, 2018 http://imperavi.com/redactor/ Copyright (c) 2009-2018, Imperavi Ltd. License: http://imperavi.com/redactor/license/ */ (function() { var Ajax = {}; Ajax.settings = {}; Ajax.post = function(options) { return new AjaxRequest('post', options); };...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
// GLOBAL CONFIGURATIONS export default { // server environment APP_NAME: 'ThinhIT\'s Nodee API/ Web App Starter Pack', SERVER_PORT: 92, // debugging LOG_ENABLE: true, LOG_REQUEST: true, LOG_CLEAR_CONSOLE_ON_STARTUP: true, // api security API_KEY: 'TvGpPbCwebLVA0YeswemQgYPCRKno8XaTUCaTuFz', // ...
import { merge } from '../../../src/updates.js'; import HoverMixin from '../../../src/HoverMixin.js'; import TabButton from '../../../src/TabButton.js'; const Base = HoverMixin( TabButton ); class SereneTabButton extends Base { get updates() { const base = super.updates || {}; // const active = t...
import { graphql } from 'gatsby'; import PropTypes from 'prop-types'; import React from 'react'; import 'prismjs/themes/prism-okaidia.css'; import '@react-website-themes/default/styles/variables'; import '@react-website-themes/default/styles/global'; import { ShareButtonRectangle } from 'react-custom-share'; import ...
;(window.webpackJsonp = window.webpackJsonp || []).push([ [7], { 207: function(t, a, s) { 'use strict' s.r(a) var e = s(0), r = Object(e.a)( {}, function() { var t = this, a = t.$createElement, s = t._self._c || a ...
$(document).ready(function(){ charger_professeurs(); charger_niveaux(); }); $(document).on("change", "#professeur", function(){ charger_matiere(); }); $(document).on("change", "#niveaux", function(){ charger_groupes(); }); $(document).on("change", "#matiere", function(){ charger_sous_matiere(); }); ...
define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { "use strict"; var oop = require("../lib/oop"); var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; var DocCommentHighlightRules = ...
import MapBox from './MapBox'; export { MapBox };
module.exports = { parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json', }, plugins: ['@typescript-eslint', 'import'], extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:import/typescript', 'prettier', ], rules: { 'import/o...
/* Highcharts Editor Copyright (c) 2016-2017, Highsoft 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, merge, p...
// define weekDays const weekDays = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday']; const scheduleCache = {}; // define data points const dp_heating_period = '0_userdata.0.Heating.heating_period'; const dp_off_temp = '0_userdata.0.Heating.off_temp'; const dp_present = '0_userdata.0.Heati...
import React from "react"; import Loader from "react-loader-spinner"; export default function PageLoader() { return ( <div className="loader-page"> <div className="flex-column center"> <Loader type="Circles" color="#00BFFF" height={80} width={80} /> <h3>Loading APIs...</h3> </div> ...
// pages/launch/video/index.js const util = require('../../../utils/util.js') const app = getApp() var openid; var box_mac; var intranet_ip; var qrcode_url; var api_url = app.globalData.api_url; Page({ /** * 页面的初始数据 */ data: { is_upload:0, intranet_ip, openid:'', box_mac:'', video_url:'',...
// Generated by CoffeeScript 1.8.0 (function() { var stream, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.protot...
const { Thought, User } = require('../models'); const thoughtController = { //GET all thoughts getAllThoughts(req,res) { Thought.find({}) .populate({ path: 'reactions', select: '-__v' }) .select('-__v') .sort({ _id: -1 }) .then(d...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import {PrintPreviewModelElement, State} from 'chrome://print/print_preview.js'; import {assert} from 'chrome://resources/js/assert.m.js'; import {flush} ...
import Chance from 'chance'; import GreekLetters from 'constants/language/greek-letters'; import { generateName, generateSectorName } from '../name-generator'; describe('generateName', () => { let chance; beforeEach(() => { chance = new Chance(); }); it('uppercases the first letter of the name', () => { ...
const Color = require('color'); export const breakpoints = { mobileGrande: '468px', tablet: '768px', laptop: '1024px', laptopL: '1440px', notebook: '1920px', }; // Funcion para leer el color, devuelve el valor del color en hsl para que sea constante en distintas pantallas. export const leerColor = color =>...
import React, { useEffect, useState } from "react"; import Table from "../common/Table"; import useLoading from "../hook/HookLoading"; import { notificationSuccess, notificationErorr } from "helper/Notification"; import { getAllEmployee, insertEmployee, deleteEmployee , updateUser } from "api/Employee"; import { getE...
import { arrayFind } from 'element-ui-jingum/src/utils/util'; import { getRowIdentity } from '../util'; export default { data() { return { states: { // 不可响应的,设置 currentRowKey 时,data 不一定存在,也许无法算出正确的 currentRow // 把该值缓存一下,当用户点击修改 currentRow 时,把该值重置为 null _currentRowKey: null, ...
function xmltojson(){var Gb='',Hb=0,Ib='gwt.codesvr=',Jb='gwt.hosted=',Kb='gwt.hybrid',Lb='xmltojson',Mb='__gwt_marker_xmltojson',Nb='<script id="',Ob='"><\/script>',Pb='SCRIPT',Qb='#',Rb='?',Sb='/',Tb=1,Ub='base',Vb='img',Wb='clear.cache.gif',Xb='meta',Yb='name',Zb='gwt:property',$b='content',_b='=',ac='gwt:onProperty...
import React from 'react' import { Icon, Image, Statistic } from 'semantic-ui-react' const StatisticExampleValue = () => ( <Statistic.Group> <Statistic> <Statistic.Value>22</Statistic.Value> <Statistic.Label>Saves</Statistic.Label> </Statistic> <Statistic> <Statistic.Value text> ...
'use strict'; var _ = { find: require('lodash/find'), }; module.exports = NetworkInfo; function NetworkInfo() { // Name of the network this.name = 'Network'; // Name of the connected server this.server = ''; // The reported IRCd type this.ircd = ''; // Network provided options ...
//# sourceMappingURL=webpack-runtime-a30103b298cc3aa6371e.js.map
var cdb = require('cartodb.js-v3'); /** * Video tutorial header view * * Header content for video tutorials * */ module.exports = cdb.core.View.extend({ events: { 'click .js-back': '_backToList' }, initialize: function() { this.template = cdb.templates.getTemplate('common/dialogs/video_tutori...
'use strict' const appmetrics = require('appmetrics') const metricsHost = process.env.METRICS_HOST || 'localhost' const metricsPort = process.env.METRICS_PORT || 8125 const metricsPrefix = 'dd-frontend.' function initialiseMonitoring () { appmetrics.configure({ 'mqtt': 'off' }) let appmetricsStatsd = require('app...
'use strict'; // Define the `core` module angular.module('core', ['core.phone', 'core.carrito']); angular. module('core'). controller('CoreCtrl', ['$scope', function ($scope) { $scope.ui = { min: 0, max: 250 }; } ]). // directive to parse input as float (not string)...
import CCAPI from 'src/api' import actions, {actionTypes} from 'src/actions' import {createAsyncSagaParam} from './utils' // Create const moduleCreateParam = createAsyncSagaParam( ::CCAPI.createModule, (payload) => payload, actions.module.createSucceeded, actions.module.createFailed, ) // Fetch cons...
/**************************************************************************** Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. https://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, ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[355],{NT1f:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3...
var path = require('path') var webpack = require('webpack') var ExtractTextPlugin = require('extract-text-webpack-plugin') var HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { entry: './src/main.js', output: { path: path.resolve(__dirname, './dist'), filename: 'build.js' }, resolve...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.6/esri/copyright.txt for details. //>>built define({stretchTitle:"Esticar",stretchDescription:"Esticar valores ao longo de uma rampa de cores.",rgbTitle:"RGB",noneTitle:"Nenhum",rgbDescription:"Combina bandas...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jssPluginNested = {})); }(this, (fun...
define(function(require) { // Load the dependencies var Boiler = require('Boiler'), template = require('text!./view.html'), styleText = require('text!./style.css'); var Component = function(parent) { new Boiler.ViewTemplate(parent, template, null, styleText); }; return Componen...
var ctx = document.getElementById('chartpie2'); var myChart = new Chart(ctx, { type: 'pie', data: { labels: ["man","woman"], datasets: [ { label: 'Voluntary Loss', data: ['20','30'], backgroundColor: ['#000033','#aaaaaa'] }, ] }, options: { title: ...
var app = require('./config/setup-app'), http = require('http'); http.createServer(app).listen(app.get('port'), function() { console.log('Server up http://localhost:' + app.get('port')); })
const glob = require("glob"); const YAML = require("yaml"); const { run } = require("../utils/action"); const commandExists = require("../utils/command-exists"); const { parseErrorsFromDiff } = require("../utils/diff"); const { initLintResult } = require("../utils/lint-result"); /** @typedef {import('../utils/lint-res...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Note we can only import from 'receiver.js': other modules are rolled-up into // it, and already loaded. import {TEST_ONLY} from './receiver.js'; const ...
const mongoose = require('mongoose') const taskSchema = mongoose.Schema({ description: { type: String, required: true, trim: true }, completed: { type: Boolean, default: false }, owner: { type: mongoose.Schema.Types.ObjectId, required: true, ...
import React, { useEffect, useState } from "react" import classes from "./AdminPanelLayout.module.css" import { Link } from 'react-router-dom' const AdminPanelLayout = (props) => { const [currentPage, setCurrentPage] = useState(window.location.pathname); const [pageHeader, setPageHeader] = useState(''); us...
/*! * ${copyright} */ sap.ui.define([ "sap/ui/fl/changeHandler/BaseAddViaDelegate" ], function( BaseAddViaDelegate ) { "use strict"; var sTypeTitle = "sap.ui.core.Title"; var sTypeToolBar = "sap.m.Toolbar"; var sTypeLabel = "sap.m.Label"; var sTypeSmartLabel = "sap.ui.comp.smartfield.SmartLabel"; function ...
export default "M12 2A7 7 0 0 0 5 9C5 14.25 12 22 12 22S19 14.25 19 9A7 7 0 0 0 12 2M7.5 10H10V5H14V10H16.5L12 14.5Z"
// Generated by CoffeeScript 1.4.0 (function() { var async, fs, nosqlite, path, rimraf; nosqlite = module.exports; path = require('path'); fs = require('fs'); rimraf = require('../vendor/rimraf'); async = require('async'); nosqlite.path = path.join(__dirname, '..', 'data'); nosqlite.Connection = ...
## opcua_binary-req_res_header_debug.pac ## ## OPCUA Binary Protocol Analyzer ## ## Debug code for verifying the request and response headers. ## ## Author: Kent Kvarfordt ## Contact: kent.kvarfordt@inl.gov ## ## Copyright (c) 2022 Battelle Energy Alliance, LLC. All rights reserved. %header{ void printReqHdr(...
/* @flow */ // helper to provide requestIdleCallback safety and default to timeout if not available export const requestIdleCallback = (() => { if ( typeof window !== "undefined" && typeof window.requestIdleCallback !== "undefined" ) { return window.requestIdleCallback; } retur...
/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow */ import React, { Component, PureComponent } from "react"; import { StyleSheet, Text, View, TouchableHighlight, Dimensions, Animated } from "react-native"; const { width } = Dimensions.get("window"); const ...
import CanvasStatus from './CanvasStatus'; import { getRealPoint, drawLine, drawSLine, drawRectangle, drawCircle, drawSRectangle, drawRound, drawEraserOnce, drawEraser, convertToFloatPoints, convertToIntegerPoints, clearAll, } from './utils'; export default class Sketchpad { constructor(options) { this.stat...
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict */ import * as path from 'path'; // rootDir and filename must be absolute paths (resolved) export fu...
import React from "react"; import ReactDOM from "react-dom"; import "./index.css"; import App from "./App_dummy"; import * as serviceWorker from "./serviceWorker"; ReactDOM.render(<App />, document.getElementById("root")); // If you want your app to work offline and load faster, you can change // unregister() to regi...
import axios from 'axios'; import { BASE_URL } from '../env'; export const addEvent = (formData, title) => { axios .post(`${BASE_URL}event/${title}`, formData) .then(res => { console.log(res); console.log(JSON.parse(res.data)); }) .catch(error => { console.log('Error sending'); ...