text stringlengths 2 1.04M |
|---|
module.exports = {
host: 'smtp.mailtrap.io',
port: 2525,
user: '4599c20de5b18b',
pass: '9c0864f2e154ab',
}; |
const router = require("express").Router();
const Workout = require("../models/workout.js")
router.post("/api/workouts", (req, res) => {
Workout.create({})
.then(dbWorkout => {
res.json(dbWorkout);
})
.catch(err => {
res.json(err);
});
});
router.get("/api/w... |
// @flow
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Popover } from 'antd';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
faSort,
faCaretUp,
faCaretDown,
} from '@fortawesome/free-solid-svg-icons';
import StyledCell from './StyledCell';
imp... |
"use strict";
const path = require("path");
const isLocal = typeof process.pkg === "undefined";
const basePath = isLocal ? process.cwd() : path.dirname(process.execPath);
const { NETWORK } = require(path.join(basePath, "constants/network.js"));
const fs = require("fs");
const sha1 = require(path.join(basePath, "/node_... |
// Config files
const config = require('../config/security.js')
// Mongoose schemas
const torrentModel = require('./models.js')
// Graphql Types
const torrentTypes = require('./types.js')
let {
GraphQLString,
GraphQLObjectType,
GraphQLNonNull
} = require('graphql')
// This is the Root Mutation
const TorrentMu... |
// global consts/settings
var increment = 0;
var slowdown = false;
var timerID;
var revcounter = 0;
var topspeed = 100;
var xSpeed = 0.1;
var fullheight = true;
var curves = [];
var xwd = 5;
var shipstill = true;
var go = document.getElementById('go');
var roadmax = {x:20, y:40};
var collidableMeshList = [];
var bpoi... |
/*!
* jQuery JavaScript Library v1.9.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-2-4
*/
(function( window, undefined ) {
... |
// Global state
var $upNext = null;
var $document;
var $body;
var $section;
var $slides;
var $arrows;
var $nextArrow;
var $previousArrow;
var $startCardButton;
var isTouch = Modernizr.touch;
var $likeStory;
var $likeStoryButtons;
var $facebook;
var $facebookBtn;
var $support;
var $supportBtn;
var $didNotLike;
var $disl... |
const { ipcRenderer } = require('electron')
const HtmlTranslate = require('./utils/htmlTranslate')
const { setSameWidths } = require('./utils/sameWidths')
const remote = require('@electron/remote')
const i18next = remote.require('i18next')
const htmlTranslate = new HtmlTranslate(document)
let eventsAttached = false
w... |
const { Router } = require('express')
const passport = require('passport')
module.exports = Router({mergeParams: true}).delete(
'/movies/:movieId/casting/:actorId',
passport.authenticate('jwt', { session: false }),
async (req, res, next) => {
const count = await req.db.Movie.removeActor(req.params)
retur... |
import sd from 'ml-array-standard-deviation';
import { xCheck } from './xCheck';
/**
* Pareto scaling, which uses the square root of standard deviation as the scaling factor, circumvents the amplification of noise by retaining a small portion of magnitude information.
* Noda, I. (2008). Scaling techniques to enhanc... |
/* */
module.exports = require('./typed/index'); |
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 = Reflect.decorate(d... |
Function.prototype.bind = function (context) {
const args = []
for (let i = 1; i < arguments.length; i++) {
args.push(arguments[i])
}
return Function.prototype.call(context, args)
}
console.log(1)
setTimeout(() => {
console.log(3)
}, 0)
new Promise(resolve => {
console.log(4)
resolve(5)
console.log(... |
/*
Copyright (C) 2007 Apple Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the follow... |
/* =========================================================
* bootstrap-datepaginator.js v1.1.0
* =========================================================
* Copyright 2013 Jonathan Miles
* Project URL : http://www.jondmiles.com/bootstrap-datepaginator
*
* Licensed under the Apache License, Version 2.0 (the "L... |
import{LitElement as e,html as t,css as i}from"../../../lit-element/lit-element.js";import"../../../@polymer/paper-icon-button/paper-icon-button.js";import"../../../@polymer/paper-button/paper-button.js";import"../../../@polymer/iron-icons/iron-icons.js";import"../../simple-tooltip/simple-tooltip.js";class SimpleFields... |
import { configure, addDecorator, addParameters } from '@storybook/react';
import React from 'react';
import dayjs from 'dayjs';
import relativeTimePlugin from 'dayjs/plugin/relativeTime';
import convertPlugin from '../shared/dayjs-convert';
import { withInfo } from '@storybook/addon-info';
import { MemoryRouter } from... |
let uneeqReady = false;
let devices = null;
let selectedMic = null;
let selectedCam = null;
let selectedSpeaker = null;
const baseUrl = 'https://dal-eeva.faceme.com';
const tokenEndpoint = '/api/v1/clients/access/tokens/';
const uneeq = new Uneeq({
url: 'https://api.us.uneeq.io',
conversationId: '60ec5c4c-dc03... |
import Icon from './external.svg'
import styled from 'styled-components'
import { em, rem } from 'polished'
import { colors } from '%/styles'
const External = styled(Icon)`
width: ${em(10, 14)};
fill: currentColor;
margin-left: ${em(9, 14)};
`
const Seller = styled.h6`
font-size: ${rem(14)};
display: flex;... |
'use strict';
const fs = require('fs');
const path = require('path');
const Sequelize = require('sequelize');
const basename = path.basename(__filename);
const env = process.env.NODE_ENV || 'development';
const config = require('../config/config.js')[env];
const db = {};
let sequelize;
console.log(config);
if (config... |
/*
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
const gm = require("gm");
const { join } = require("path");
const express = require("express");
const router = express.Router();
const APIConstants = require("../../lib/constants");
// --| Endpoint to "Eww I Stepped in Shit" meme
router.get("/eww", (req, res, next) =>
{
const szName = req.query.name;
if(!szN... |
import React, { useState } from "react"
import { Link } from "gatsby"
import styled from "styled-components"
import { makeStyles, ThemeProvider } from "@material-ui/core/styles"
import { Typography } from "@material-ui/core"
import { rhythm, scale } from "../utils/typography"
import TopBar from "./topbar.js"
import Cen... |
'use strict';
/* jshint ignore:start */
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
/* jshint ignore:end */
var Q = require('q'); /* jshint ignore:line */
var _ = require('lodash'); /* jshint ignore:line */
var Page = require('../../../../base/... |
import React, { PureComponent } from 'react'
import { withScriptjs, withGoogleMap, GoogleMap, Marker, InfoWindow } from "react-google-maps"
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import { getLocation, newLocations } from '../redux/mapActions'
import { fetchStations } from '../r... |
import { OverlayProvider } from "@react-aria/overlays";
import PropTypes from "prop-types";
import { EmbeddedContext } from "../../utils/embedded";
import { OriginContext } from "../../utils/origin";
import { ParentProvider } from "../ParentProvider";
/**
* App provider is a required component that enables sharing gl... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
export default class JSON2React extends Component {
static propTypes = {
elements: PropTypes.array
}
renderElements=(elements) => {
return elements.map((element, ix) =>
React.createElement(
element.type,
{ ... |
var express = require('express');
var axios = require('axios');
var jwt = require("jsonwebtoken");
var rs = require("rantscript");
var app = express();
app.use(express.json());
app.post("/*", async function (req, res) {
var q = req.body.queryResult.queryText || req.body.originalDetectIntentRequest.payload.inputs[0].... |
'use strict'
class ProductList {
constructor(container = '.catalog') {
this.container = container;
this.goods = [];
this.allProducts = [];
this._fetchProducts();
this._render();
}
_fetchProducts() {
this.goods = [
{id: 1, title: 'Notebook', price: 20000},
{id: 2, title: 'Mouse... |
const mongoose = require("mongoose");
mongoose.Promise = global.Promise;
mongoose.connect("mongodb://localhost:27017/FinalProjectDB", {
useNewUrlParser: true,
useUnifiedTopology: true,
useCreateIndex: true,
useFindAndModify: false,
});
const db = mongoose.connection;
db.on("error", console.error.bind(consol... |
(function( window, undefined ) {
kendo.cultures["am"] = {
name: "am",
numberFormat: {
pattern: ["-n"],
decimals: 2,
",": ",",
".": ".",
groupSize: [3],
percent: {
pattern: ["-n%","n%"],
decimals:... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon.js';
export default createSvgIcon(
<React.Fragment><path d="M12 3C5.3 3 .8 6.7.4 7l3.2 3.9L12 21.5l3.5-4.3v-2.6c0-2.2 1.4-4 3.3-4.7.3-.1.5-.2.8-.2.3-.1.6-.1.9-.1.4 0 .7 0 1 .1L23.6 7c-.4-.3-4.9-4-11.6-4z" opacity=".3" /><path d="M23 16v... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DataDogQueryCtrl = undefined;
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; d... |
module.exports = {
siteMetadata: {
title: `April 07, 2022`,
description: `Ingrid and Charlie are getting married April 07, 2022`,
author: `@jileon`,
siteUrl: `https://ingridandcharlie407.com/`,
},
plugins: [
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-anchor-lin... |
/*! For license information please see 2.86a74abe.chunk.js.LICENSE.txt */
//# sourceMappingURL=2.86a74abe.chunk.js.map |
import { mount } from '@vue/test-utils';
import groupEmptyState from '~/registry/components/group_empty_state.vue';
describe('Registry Group Empty state', () => {
let wrapper;
beforeEach(() => {
wrapper = mount(groupEmptyState, {
propsData: {
noContainersImage: 'imageUrl',
helpPagePath: ... |
/// <reference path="raska.js" />
/**
* HTML5 canvas visual directed graph creation tool
*
* @module raska
* @submodule animation
* @main installUsing
*/
(function (w) {
'use strict';
if (typeof w.raska === 'undefined') { throw { message: "Raska was not found!" }; }
var $ = raska.$$.$q,
_helper... |
const Database = require("./config")
const initDb = {
async init() {
const db = await Database()
await db.exec(`CREATE TABLE rooms (
id INTEGER PRIMARY KEY,
pass TEXT
)`);
await db.exec(`CREATE TABLE questions (
id INTEGER PRIMARY KEY AUTOINCREMENT,
title TEXT,
read I... |
'use strict';
angular.module('myApp.list', ['ngRoute', 'restangular'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/todo', {
templateUrl: 'views/list/list.html',
controller: 'ListController'
});
}])
.config(['RestangularProvider', function(RestangularProvider) {
Restangular... |
'use strict';
var request = require('supertest');
var server = require('../server');
var config = require('../config');
request = request('http://localhost:' + config.SERVER_PORT);
describe('Public server', function() {
before(function() {
server.start();
});
after(function() {
server.stop();
});
... |
module.exports = {
extends: [
'@linters/eslint-config-node',
'prettier',
],
rules: {
'max-lines': 0
}
} |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("specialchar","sl",{euro:"Evro znak",lsquo:"Levi enojni narekovaj",rsquo:"Desni enojni narekovaj",ldquo:"Levi dvojni narekovaj",rdquo:"Desni dvojni n... |
const Service = require('../models/service');
const Facility = require('../models/facility');
const getServices = async(request, response) => {
try {
const facility = request.query.facility;
const fac = await Facility.findOne({name: facility});
const services = await Service.find(fac ? {faci... |
const path = require('path')
const webpack = require('webpack')
const CompressionPlugin = require('compression-webpack-plugin');
function resolve(dir) {
return path.join(__dirname, dir)
}
const isProd = process.env.NODE_ENV === 'production';
const assetsCDN = {
externals: {
vue: 'Vue',
'vue-r... |
/**
* @license Copyright 2016 The Lighthouse Authors. 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 applica... |
#!/usr/bin/env node
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future... |
'use strict';
const statsAuthTestsDefinition = require('../test-definitions/stats-auth-test-def');
const applicationFixture = require('./fixture');
describe('applications-bridge stats auth tests', () => {
statsAuthTestsDefinition.fixture(applicationFixture).build();
}); |
import {httpConfig} from "../utils/http-config";
import {createSlice} from "@reduxjs/toolkit";
const slice = createSlice({
name: "borrows",
initialState: [],
reducers: {
setBorrowByToolId: (borrows, action) => {
return [...new Set( [...borrows, ...action.payload])]
// Set rem... |
module.exports={A:{A:{"2":"J D E F A B tB"},B:{"1":"a b c d e f g h i j X H","2":"C K L G M N O","66":"P Q R S T U V W Z"},C:{"2":"0 1 2 3 4 5 6 7 8 9 uB iB I k J D E F A B C K L G M N O l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB jB PB kB QB RB Y SB TB UB VB WB XB YB ZB aB bB cB dB eB fB... |
var Shopper = require('./Shopper');
var scout = new Shopper();
scout.addItemToList('camping knife');
scout.addItemToList('tent');
scout.addItemToList('backpack');
scout.addItemToList('map');
module.exports = scout; |
/**
* Hilo 1.0.4 for standalone
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
!function(t){var i=t.Hilo,s=i.Class,h=s.create({constructor:function(t,i,s,h,n,r){this.a=t,this.b=i,this.c=s,this.d=h,this.tx=n,this.ty=r},concat:function(t){var i,s,h,n,r,a,c=arguments,o=this.a,y=this.b,u=this.c,x=this... |
import moment from "moment"
import "moment-timezone"
const abbrs = {
"ACDT+1030": "Australian Central Daylight Savings Time",
"ACST+0930": "Australian Central Standard Time",
"ACT-0500": "Acre Time",
"ADT-0300": "Atlantic Daylight Time",
"AEDT+1100": "Australian Eastern Daylight Savings Time",
"AEST+1000":... |
module.exports = function toReadable (number) {
// if (number === 1) {
// return 'one'
// }
let firstDozen = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"];
let secondDozen = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", ... |
import React from 'react';
import css from './style.css';
const Button = ({ iconId, content, onClick }) => (
<div
className={css.button}
onClick={onClick}>
<i className={`fa fa-${iconId} ${css.icon}`} />
<span className={css.buttonText}>
{content}
</span>
<... |
/*!
Copyright (C) 2016 Google Inc.
Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
*/
// Initialize delegated event handlers
jQuery(function ($) {
window.natural_comparator = function (a, b) {
var i;
a = a.slug.toString();
b = b.slug.toString();
if (a === b) {
... |
let user;
import beforeRemote from '../utils/cc-before-remote-init';
import prepareListData from '../utils/prepare-list-data';
module.exports = LoanTermProposal => {
LoanTermProposal.beforeRemote('*', (context, unused, next) => {
beforeRemote(context, (userInstance) => {
user = userInstance;
if (!us... |
/**
* Created by moveosoftware on 12/23/18.
*/
let toggleScreenLock = require('./screenLock');
jQuery(document).ready(($) => {
// mobile filter handlers
if (foodyGlobals.isMobile) {
let $mobileFilterBtn = $('.filter-mobile');
let $mobileWhatsappIcon = $('#whatsapp.whatsapp-mobile');
i... |
//v.3.6 build 130619
/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
To use this component please contact sales@dhtmlx.com to obtain license
*/
function dhtmlXGridFromTable(a,d){typeof a!="object"&&(a=document.getElementById(a));var f=document.createElement("DIV");f.setAttribute("width",a.getAttribute("gridWidth")||(a.... |
// Copyright (C) 2017 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: |
Collection of assertion functions used throughout test262
defines: [assert]
---*/
function assert(mustBeTrue, message) {
if (mustBeTrue === true) {
... |
public var name = "A Building";
public var goodsProduced : String;
public var goodsConsumed : String[];
public var myCargo : Cargo;
public var period = 1.0;
public var Yield = 1.0;
public var consumption = 1.0;
public var efficiency = 1.0;
private var cooldown = 0.0;
function Tick(dt : float) {
cooldown -= dt;
... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import React from 'react';
import {
EuiButton,
EuiCard,
EuiFlexGroup,
... |
const Discord = require('discord.js')
const moment = require('moment')
/* comandantes lendários, de Alexandre o Grande até Seondeok */
/* comandantes épicos, de Baibars até Sun Tzu */
/* comandantes elite, de Constânça até Sárka */
/* comandantes avançados, de Centurião até Atiradora */
const comandanteList = [
{ ... |
var gameHelper = {
load_audio: function game_helper_load_audio(viz) {
if(viz === undefined) {
viz = this ;
}
viz.audio = {} ;
},
load: function game_helper_load(viz) {
if(viz === undefined) {
viz = this ;
}
viz.image = $Z.helper.image.adjust_ratio($Z.helper.image.to_... |
import { render, screen, cleanup } from '@testing-library/react';
import '@testing-library/jest-dom';
import userEvent from "@testing-library/user-event";
import WrapperForTest from 'WrapperForTest';
import CitySearch from '../CitySearch';
const element = <WrapperForTest>
<CitySearch />
</WrapperForTest>;
afterEach... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v11.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
function PopularService($resource, $q) {
var resource = $resource('data/populars.json', {}, {
getData: { method: 'GET', url: 'data/populars.json?v='+window.version, isArray: true }
});
return {
populars: function () {
var d = $q.defer();
resource.getData({}, functi... |
'use strict';
module.exports = Queue;
const { isTargetName } = require('./Target');
const Unit = require('./Unit');
function Queue({ targets, operations, loaders, args }) {
const queue = args.reduce((acc, arg, i, col) => isTargetName(col[i - 1], arg)
? [ ...acc, Unit({ arg, targets, operations, loaders ... |
/* global chrome */
import React from 'react'
import CurrencyDropdown from './components/CurrencyDropdown'
import StarButton from './components/StarButton'
import logo from './logo.svg'
import './App.css'
class App extends React.PureComponent {
constructor(props) {
super(props)
this.state = { currency: 'US... |
import React, { memo, useEffect, useState } from 'react';
import { ScrollView, StyleSheet } from 'react-native';
import { useNavigation } from '@react-navigation/native';
import { connect } from 'react-redux';
import { Card } from '../../../components';
import { DISPATCHES, SCREENS } from '../../../constants';
import ... |
/**
* ORY Hydra - Cloud Native OAuth 2.0 and OpenID Connect Server
* Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here. Keep in mind that this document reflects the latest branch, always. Support for versioned documentation is coming in the future.
*
* OpenAPI spec ... |
const HorizontalList = (props) => {
const virtual = React.useRef(null);
const reset = () => {
virtual.current.reset();
};
const toBottom = () => {
virtual.current.scrollToBottom();
};
const toTop = () => {
virtual.current.scrollToTop();
};
const toIndex = () => {
virtual.current.scrollT... |
/*
Unit tests for the Order Use Case library.
*/
// Public npm libraries
const assert = require('chai').assert
const sinon = require('sinon')
// Local support libraries
// const testUtils = require('../../utils/test-utils')
// Unit under test (uut)
const OrderLib = require('../../../src/use-cases/order')
const ada... |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { Networ... |
$('.btn-tooltip').tooltip();
$('.label-tooltip').tooltip();
$('.pick-class-label').click(function(){
var new_class = $(this).attr('new-class');
var old_class = $('#display-buttons').attr('data-class');
var display_div = $('#display-buttons');
if(display_div.length) {
var display_buttons = displa... |
module.exports = {
// 可以在此配置别名
configureWebpack:{
resolve:{
alias:{
// 比如
'assets':'@/assets',
'common':'@/common',
'components':'@/components',
'common':'@/common',
'common':'@/common',
... |
import request from '@/utils/request'
export function login(data) {
return request({
url: '/user/login',
method: 'post',
data
})
}
export function getInfo(token) {
return request({
url: '/user/info',
method: 'get',
params: { token }
})
}
export function logout() {
return request({
... |
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
import Rails from "@rails/u... |
var webpack = require('webpack');
var path = require('path');
var BUILD_DIR = path.resolve(__dirname, 'wpdev');
var APP_DIR = path.resolve(__dirname, 'src/');
var config = {
entry: APP_DIR + '/index.js',
output: {
path: BUILD_DIR,
filename: 'bundle.js'
},
devtool: 'inline-source-map',
... |
/**
* Copyright 2015 The AMP HTML Authors. 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 require... |
// @flow
import * as React from 'react';
import { View } from 'react-sketchapp';
import Swatch from './Swatch';
const SWATCH_WIDTH = 100;
type P = {
colors: any,
};
const Palette = ({ colors }: P) => (
<View
style={{
width: (SWATCH_WIDTH + 48) * 4,
flexWrap: 'wrap',
flexDirection: 'row',
... |
var React = require('react');
var intl = require('./translate.js')
var {Label, Checkbox, FormControl, InputGroup, FormGroup, Col, Row, Grid, Button, ButtonGroup, Modal} = require('react-bootstrap');
var {ColP} = require('./gridp.js')
var {RegisteredChara} = require('./template.js')
var GlobalConst = require('./global_c... |
'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": [
"AM",
"PM"
... |
/**
* EasyUI for jQuery 1.10.2
*
* Copyright (c) 2009-2022 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(function($){
function _1(e){
var _2=$.data(e.data.target,"dr... |
/*!
* canvas-v2.js 0.0.1 - 2022-02-10
* Copyright (c) 2022 omar-sedki; Licensed MIT
*/ |
/**
* Kendo UI v2016.1.226 (http://www.telerik.com/kendo-ui)
* Copyright 2016 Telerik AD. All rights reserved. ... |
import { action } from "@storybook/addon-actions";
import Table from "../presentation/Table";
export default {
title: "presentation/Table",
};
export const Default = () => (
<Table
head={[
{ id: 1, value: "Column 1" },
{ id: 2, value: "Column 2" },
{ id: 3, value: "Column 3" },
]}
b... |
})(this, jQuery); |
const devMode = (process.env.NODE_ENV !== 'development');
export default {
// App Details
appName: 'Meetup',
// Build Configuration - eg. Debug or Release?
DEV: devMode,
}; |
// Copyright 2018-2021 Polyaxon, 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 law or agre... |
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(... |
import timeAdjust from './index';
test('timeAdjust', () => {
expect(timeAdjust('12:17:43', 0, 0, 0)).toBe('12:17:43');
expect(timeAdjust('23:59:59', 0, 0, 1)).toBe('00:00:00');
expect(timeAdjust('01:00:00', 1, 30, 10)).toBe('02:30:10');
expect(timeAdjust('18:22:30', 4, 60, 30)).toBe('23:23:00');
expect(timeA... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.sumTransformDependencies = void 0;
var _dependenciesAddGenerated = require("./dependenciesAdd.generated.js");
var _dependenciesNumericGenerated = require("./dependenciesNumeric.generated.js");
var _dependenciesTypedGenerated = re... |
class Celular {
constructor(color,peso,tamaño,rdc,ram){
this.color = color;
this.peso = peso;
this.tamaño = tamaño;
this.resolucionDeCamara = rdc;
this.memoriaRam = ram;
this.encendido = false;
}
presionarBotonEncendido(){
if (this.encendido == false) {
alert("celular prendido");
this.encendido =... |
angular.module('app.controllers')
.controller('ProjectListController', ['$scope', '$routeParams', 'Project',
function($scope, $routeParams, Project){
$scope.projects = [];
$scope.totalProjects = 0;
$scope.projectsPerPage = 10;
$scope.pagination = {
... |
const assert = require('assert')
const {
ConverseTesting
} = require('../../index')
describe('Multi Skill', () => {
let converse, user
async function code(str, platform = 'website') {
converse = new ConverseTesting({
code: str,
skills: {
helloSkill: [
... |
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function () { if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) var e = jQuery.fn.select2.amd; return e.define('select2/i18n/de', [], function () { return {inputTooLong: function (e) { var t = e.input.length - e.maxi... |
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_FrontPages_Contact_ContactBook_vue"],{
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Pages/FrontPages/Contact/ContactBook.vue?... |
//# sourceMappingURL=app-9769c94f039ced69bae3.js.map |
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import ActivityPage from '../views/activityPage.vue'
import Welcome from '../views/Welcome'
import Login from '../views/Login.vue'
import yourActivity from '../views/yourActivity'
import activeNotices from '@/views/activeNotic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.