text stringlengths 2 1.04M |
|---|
/*!
* Bootstrap-select v1.12.1 (http://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2016 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"o... |
/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
!(function (e, t) {
"use strict";
"object" == typeof module && "object" == typeof module.exports
? (module.exports = e.document
? t(e, !0)
: function (e) {
if (!e.document)
throw new Er... |
var path = require('path');
var clone = require('clone');
var cloneStats = require('clone-stats');
var cloneBuffer = require('./lib/cloneBuffer');
var isBuffer = require('./lib/isBuffer');
var isStream = require('./lib/isStream');
var isNull = require('./lib/isNull');
var inspectStream = require('./lib/inspectStream');... |
/* +--------------------------------------------------------------------------
// | Author: Merrier <953075999@qq.com> <http://> <Date:2016/5/25 15:43>
// +--------------------------------------------------------------------------*/
// JavaScript Document
$(function(){
//-----------------------------------消息管理-... |
import { Node } from 'tiptap'
import { nodeInputRule } from 'tiptap-commands'
export default class HorizontalRule extends Node {
get name() {
return 'horizontal_rule'
}
get schema() {
return {
group: 'block',
parseDOM: [{ tag: 'hr' }],
toDOM: () => ['hr'],
}
}
commands({ type ... |
'use strict';
var _jsxFileName = '/Users/mattsilva/projects/paramotor_spots_ui/node_modules/react-native/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js';
var React = require('React');
var StyleSheet = require('StyleSheet');
var Text = require('Text');
var View = require('View');
var DummySegm... |
import React,{Component} from 'react'
import PropTypes from 'prop-types'
import VerticalSpliter from './components/taskList/VerticalSpliter'
import Header from './components/header/Headers'
import DataViewPort from './components/viewport/DataViewPort'
import LinkViewPort from './components/links/LinkViewPort'
import Ta... |
/*!
--- For Premium Pack Version 1.55 for Help & Manual 6 ---
--- (c) 2008-2011 by Tim Green ---
--- All Rights Reserved ---
*/ |
'use strict';
var test = require('tape')
, parse = require('./');
test('is exported as a function', function (t) {
t.equal(typeof parse, 'function');
t.end();
});
test('parses the pairs as expected', function (t) {
t.deepEqual(parse('foo=a,foo=b;bar=c;baz=d;qux=e'), [
{ foo: 'a' }, { foo: 'b', bar: 'c', ... |
/*
Sudoku.js
---------
A Sudoku puzzle generator and solver JavaScript library.
Please see the README for more details.
*/
(function(root){
var sudoku = root.sudoku = {}; // Global reference to the sudoku library
sudoku.DIGITS = "123456789"; // Allowed sudoku.DIGITS
var ROWS = "ABCD... |
curl(['models/place', 'Knockout']).then(
function (Place, Knockout) {
describe('Place Model', function() {
var place;
beforeEach(function() {
place = new Place;
});
it('should have an id property', function() {
expect(pla... |
import React, { useState } from 'react';
import { ChevronDown } from 'react-feather';
import { useTranslation } from 'react-i18next';
import { Link } from 'react-router-dom';
import { Dropdown, DropdownItem, DropdownMenu, DropdownToggle } from 'reactstrap';
const ProfileDropdown = ({ profilePic, menuItems, username, t... |
var common = require('../casper_lib/common.js').common;
common.start_and_log_in();
casper.then(function () {
var menu_selector = '#settings-dropdown';
casper.waitUntilVisible(menu_selector, function () {
casper.click(menu_selector);
});
});
casper.then(function () {
casper.test.info('Organiza... |
/**
* Bootstrap
* (sails.config.bootstrap)
*
* An asynchronous bootstrap function that runs before your Sails app gets lifted.
* This gives you an opportunity to set up your data model, run jobs, or perform some special logic.
*
* For more information on bootstrapping your app, check out:
* http://sailsjs.org/#... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
(global = global || self, factory(global.jQuery));
}(this, function ($) { 'use strict';
$ = $ && $.hasOwnProperty('def... |
webshims.register('jmebase', function($, webshims, window, doc, undefined){
"use strict";
var props = {};
var fns = {};
var slice = Array.prototype.slice;
var readyLength = 0;
var options = $.extend({selector: '.mediaplayer'}, webshims.cfg.mediaelement.jme);
var baseSelector = options.selector;
webshims.cfg.m... |
export {default as SEO} from './src/components/seo'; |
'use strict';
var _ = require('lodash');
var BufferUtil = require('./util/buffer');
var JSUtil = require('./util/js');
var networks = [];
var networkMaps = {};
/**
* A network is merely a map containing values that correspond to version
* numbers for each bitcoin network. Currently only supporting "livenet"
* (a.k... |
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
'use strict'
const helper = require('../../lib/agent_helper')
const tap = require('tap')
tap.test('agent instrumentation of memcached', function (t) {
t.autoend()
t.test("shouldn't cause bootstrapping to f... |
"use strict";
const fs = require(`fs-extra`);
const apiRunnerNode = require(`../../utils/api-runner-node`);
const {
withBasePath
} = require(`../../utils/path`);
exports.onPreBootstrap = async ({
store,
parentSpan
}) => {
const {
directory,
browserslist
} = store.getState().program;
const direct... |
/*
* elRTE configuration
*
* @param doctype - doctype for editor iframe
* @param cssClass - css class for editor
* @param cssFiles - array of css files, witch will inlude in iframe
* @param height - not used now (may be deleted in future)
* @param lang - interface langua... |
import Helper from '@ember/component/helper';
import { inject as service } from '@ember/service';
import { assign } from '@ember/polyfills';
import { setProperties } from '@ember/object';
export default class BreadCrumbHelper extends Helper {
@service('bread-crumbs') breadCrumbs;
compute([text], hash) {
let d... |
/*
* Copyright (c) 2015 airbug Inc. All rights reserved.
*
* All software, both binary and source contained in this work is the exclusive property
* of airbug Inc. Modification, decompilation, disassembly, or any other means of discovering
* the source code of this software is prohibited. This work is protected un... |
var blocklyArea = document.getElementById("blocklyArea");
var blocklyDiv = document.getElementById("blocklyDiv");
var demoWorkspace = Blockly.inject(blocklyDiv, {
media: "https://unpkg.com/blockly/media/",
toolbox: document.getElementById("toolbox"),
toolboxPosition: "start",
grid: { spacing: 20, length: 3, col... |
'use strict';
/*
* nodejs-express-mongoose
* Copyright(c) 2015 Madhusudhan Srinivasa <madhums8@gmail.com>
* MIT Licensed
*/
/**
* Module dependencies
*/
require('dotenv').config();
const fs = require('fs');
const join = require('path').join;
const express = require('express');
const mongoose = require('mongoo... |
<meta name="generator" content="${a}" />
#respec-ui{position:fixed;display:flex;flex-direction:row-reverse;top:20px;right:20px;width:202px;text-align:right;z-index:9000}
#respec-pill,.respec-info-button{background:#fff;height:2.5em;color:#787878;border:1px solid #ccc;box-shadow:1px 1px 8px 0 rgba(100,100,100,.5)}
.... |
import en from './en';
export default {
en,
}; |
var azure = require('azure');
function insert(item, user, request) {
var accountName = 'accountname';
var accountKey = 'accountkey';
var host = accountName + '.blob.core.windows.net';
var blobService = azure.createBlobService(accountName, accountKey, host);
if (request.parameters.isPublic... |
const WorkboxPlugin = require('workbox-webpack-plugin');
export const pwaWorkbox = new WorkboxPlugin.GenerateSW({
clientsClaim: true,
skipWaiting: true,
}); |
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again.
*
* If you would like to build CKEdi... |
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Larave... |
(function(angular) {
'use strict';
//-----------------------------Controller Start------------------------------------
function AddBrandModalController($state, $http) {
var ctrl = this;
ctrl.init = function() {
ctrl.inputs = (ctrl.resolve && ctrl.resolve.details) || [];
... |
/* eslint-disable */
import React from 'react'
import ReactDOM from 'react-dom'
import App from './components/App'
it('renders without crashing', () => {
const div = document.createElement('div')
ReactDOM.render(<App />, div)
ReactDOM.unmountComponentAtNode(div)
}) |
if (typeof _yuitest_coverage == "undefined"){
_yuitest_coverage = {};
_yuitest_coverline = function(src, line){
var coverage = _yuitest_coverage[src];
if (!coverage.lines[line]){
coverage.calledLines++;
}
coverage.lines[line]++;
};
_yuitest_coverfunc = functio... |
'use strict';
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
const { TICK_SIZE } = require ('./base/functions/number');
const { AuthenticationError, ExchangeError, ArgumentsRequired, PermissionDenied, InvalidOrder, OrderNotFound, Insuffici... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fas';
var iconName = 'train';
var width = 448;
var height = 512;
var ligatures = [];
var unicode = 'f238';
var svgPathData = 'M448 96v256c0 51.815-61.624 96-130.022 96l62.98 49.721C386.905 502.417 383.562 512 376 512H72c-7.578 0-... |
#!/usr/bin/env node
'use strict'
var Printer = require('ipp-printer')
var printcat = new Printer('printcat')
printcat.on('job', function (job) {
job.on('end', function () {
process.exit()
})
job.pipe(process.stdout)
}) |
export default () => <div>Lazy Loading Component</div> |
module.exports={
server_link: 'https://ropsten.infura.io/v3/20be5670d8f4460186e4365652be729a',
def_ac: '0x4B9Bb6483B2b2BE6C27b5FfFCB9e6258D27bd7Ad',
cont_ad: '0xd55a27A33d947215eE708896C7ccC5D563680399'
} |
const darkPalette = {
spaceCadet: '#3B3C6A',
darkBlueGray: '#646698',
blueBell: '#9FA2C7',
periwinkleCrayola: '#BDC0DE',
lavenderWeb: '#DADDF5',
primaryDark: '#262833',
}
const lightPalette = {
violetBlueCrayola: '#6A73C3',
cornflowerBlue: '#758ED0',
littleBoyBlue: '#7FA8DD',
nonPhotoBlue: '#94DCF7... |
const config = require('../config/main');
const User = require('../models/user');
const Messages = require('../models/message');
const Chats = require('../models/chat');
const setUserInfo = require('../helpers').setUserInfo;
const jwt = require('jsonwebtoken');
function generateToken(user) {
return jwt.sign(user, c... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"1J5Z":function(n,o,i){},"1iHX":function(n,o,i){},"5ssx":function(n,o,i){},"7GJV":function(n,o,i){},PiVt:function(n,o,i){},QGkI:function(n,o,i){},R69D:function(n,o,i){},UXgX:function(n,o,i){},bJ6C:function(n,o,i){},dI2L:function(n,o,i){},ewTs:function(n,o,i){},fw... |
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react'
import styled from 'styled-co... |
/*
* Foundation Responsive Library
* http://foundation.zurb.com
* Copyright 2013, ZURB
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/ |
const get = require('lodash/get')
const Boom = require('boom')
module.exports = {
handleDatabaseError
}
function handleDatabaseError (error) {
if (isSequelizeValidationError(error)) {
const message = extractSequelizeValidationMessage(error)
throw Boom.badRequest(message)
} else {
throw error
}
}
... |
/*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
import builder from "obsidian-rollup-presets";
export default builder()
.apply(c => c.output.sourcemap = "inline")
.assign({input: "src/quick-explorer.tsx"})
.withTypeScript()
.withInstall(__dirname)
.build(); |
import React, { Fragment } from 'react'
import { withRouter } from 'next/router'
import ErrorMessage from '../ErrorMessage'
import voteT from './voteT'
import { isURL } from 'validator'
import {
A,
colors,
InlineSpinner,
Interaction,
Button,
Label,
mediaQueries
} from '@project-r/styleguide'
import withT... |
// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.
const awsmobile = {
"aws_project_region": "us-west-2",
"aws_content_delivery_bucket": "todo-20200205205558-hostingbucket-todo",
"aws_content_delivery_bucket_region": "us-west-2",
"aws_content_delivery_... |
"nativeRequires":[],
"provides":{"values":{"is-CachedType":"tany",
"j-default":"tany",
"cached-available":"tany",
"is-single-file":{"bind":"fun",
"flatness":0,
"name":"is-single-file",
"typ":"tany"},
"j-app":"tany",
"j-id":"tany",
"get-cli-module-storage":{"bind":"fun",
"flatness":0,
"name":"get-cli-module-storage",
"t... |
// This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0
import r from"./../array/complex128.js";import o from"./../utils/constructor-name.js";var t=r,a=o;function e(r){return r instanceof t||"Complex128Array"===a(r)}var m=e;export default m;
//# sourceMappingURL=is-complex128... |
export const data_2 = [
{
rank: 1,
name: "Josh Allen",
team: "BUF",
position: "QB",
games_played: 16,
passing_yards: 4544,
passing_touchdowns: 37,
passing_interceptions: 10,
rushing_yards: 421,
rushing_touchdowns: 8,
receptions: 1,
receiving_yards: 12,
receiving_tou... |
import React from 'react';
import PropTypes from 'prop-types';
import {Box, withWidth} from '@material-ui/core';
import {Fonts} from '../../../shared/constants/AppEnums';
import {getBreakPointsValue} from '../../utility/Utils';
const SemiCircleProgress = ({
activeColor,
valueNode,
labelStyle,
strokeWidth,
pa... |
var width = 600
var height = 600
var padding = 50
var data = regionData.filter(mustHaveKeys)
var xScale = d3.scaleLinear()
.domain(d3.extent(data, d => d.adultLiteracyRate))
.range([padding, width - padding])
var yScale = d3.scaleLinear()
.domain(d3.extent(data, d => d.subsc... |
/*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.9-master-41c9d00
*/ |
const express = require('express');
const aws = require('aws-sdk');
const crypto = require('crypto');
// initialize a S3 instance
const s3 = new aws.S3({
region: process.env.AWS_REGION,
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
signatureVersion: 'v4',
});
... |
class Node {
constructor(data) {
this.data = data;
this.next = null;
}
setNextNode(node) {
if (!(node instanceof Node)) {
throw new Error('Next node must be a member of the Node class');
}
this.next = node;
}
setNext(data) {
this.next = d... |
import React,{Component} from 'react';
import './orderForm.css';
import {Container,Row,Col} from 'reactstrap';
class orderForm extends Component{
state={
name:"",
adress:"",
city:"",
postalcode:"",
phonenumber:""
}
nameHandler=(e)=>{
this.setState({name:e.ta... |
/*!
* devextreme-react
* Version: 20.2.6
* Build date: Tue Mar 16 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://githu... |
/*
* NovaeZSolrSearchExtraBundle.
*
* @package NovaeZSolrSearchExtraBundle
*
* @author Novactive
* @copyright 2020 Novactive
* @license https://github.com/Novactive/NovaeZSolrSearchExtraBundle/blob/master/LICENSE
*/
jQuery(function ($) {
$('.ez-field-edit__error').hide()
$(document).on('click', '#ed... |
import getGetSettings from '../getGetSettings';
const extFromType = (type) => {
switch (type) {
case 'image/png':
return 'png';
case 'image/jpg':
case 'image/jpeg':
return 'jpg';
case 'image/webp':
return 'webp';
case 'text/plain':
return 'txt';
case 'text/markdown':
... |
import React from 'react';
import './NavBar.css';
import LocationOnIcon from '@material-ui/icons/LocationOn';
import { Link } from 'react-router-dom';
function NavBar() {
return (
<div className="navBar">
<div className="navBar__navigation">
<Link className="navBar__delToLink">
<div class... |
/*
* Copyright 2010, Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
module.exports={A:{A:{"1":"F A B","2":"J D E qB"},B:{"1":"C K L G M N O P Q R U V W X Y Z a b c d e f S g H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K L G M N O i j k 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 gB MB hB NB OB T PB QB RB SB TB UB VB WB XB YB ZB aB bB cB P Q R iB U V W X Y Z a b c d e f S g H ... |
export default {
class: 'myrmidon',
description: 'This talent grants the [power:colossus-smash] power.',
id: 'relentless',
name: 'Relentless',
powers: ['colossus-smash'],
stats: {
fury: 15,
'fury-regen-in-combat': 6,
stamina: 15
},
type: 'talent',
version: '6.540'
}; |
import { Alert } from "react-native";
import axios from "../utils/axios";
import AsyncStorage from '@react-native-community/async-storage';
axios.defaults.headers.common["Content-Type"] = "application/json";
export const signin = async (body) => {
const response = await axios.post('/user/login', body);
conso... |
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
var _default = function _default() {
"use strict";
_class_call_check(this, _default);
};
export { _default as default };
export var A = function A() {
"use strict";
_class_call_check(this, A);
};
export var C;
(function(C) {
C[C... |
/*
* Author: Alexandre Havrileck (Oxyno-zeta)
* Date: 04/06/16
* Licence: See Readme
*/
/* ************************************* */
/* ******** REQUIRE ******** */
/* ************************************* */
var gulp = require('gulp');
var _ = require('lodash');
var environmentVariablesJson = require(... |
const proviceData = [
{
value: "北京",
label: "北京",
children: [
{
value: "北京市",
label: "北京市",
children: [
{
value: "东城区",
label: "东城区"
},
... |
import { createCommand, readUntil, toInt, transformResult } from '../utils';
import { ENDING_CR_NL } from '../constants';
export const cmd = 'I';
export default createCommand(cmd, 'Input (digital)', function* () {
const dataIn = yield `${cmd}\r`;
// example response: "I,PortA,PortB,PortC,PortD,PortE\r\n"
const ... |
const program = {
id: "61a7b1d4e55519213a98564f",
name: "Todos Daniela DEV",
courses: [
{
courseId: "61a7b172e55519213a98564d",
courseName: "Prueba Training 1 Dec",
categories: [
{
categoryId: "f513bb51-bc7a-4f25-8a74-b0d58b01eec3",
days: 1,
categoryName... |
const { DataTypes } = require('sequelize');
module.exports = ( sequelize ) => {
sequelize.define( 'OfferProduct', {
offerId: {
type: DataTypes.INTEGER,
references: {
model: 'Offer',
key: 'id'
}
},
productId: {
type: DataTypes.INTEGER,
references: {
model: 'Prod... |
// Extracted from underscore.js
// The cornerstone, an `each` implementation, aka `forEach`.
// Handles objects with the built-in `forEach`, arrays, and raw objects.
// Delegates to **ECMAScript 5**'s native `forEach` if available.
var each = module.exports.each = function(obj, iterator, context) {
if (obj... |
'use strict'
const utils = require('./utils.js')
module.exports = {
meta: {
docs: {},
schema: []
},
create: function(context) {
return {
CallExpression: function(node) {
if (node.callee.type !== 'MemberExpression') return
if (node.callee.property.name !== 'show') return
... |
$(document).ready(function() {
if($('#dataOutletWilayah').length) {
getDataOutletWilayah();
}
if($('#dataOutletCabang').length) {
getDataOutletCabang();
}
if($('#formInputOutletWilayah').length) {
formInputOutletWilayahValidation();
}
if($('#formInputOutletCabang'... |
'use strict'
var BufferList = require('bl')
var DxlError = require('./dxl-error')
var msgpack = require('msgpack5')()
var message = require('./message')
var errorResponse = require('./error-response')
var event = require('./event')
var request = require('./request')
var response = require('./response')
var messageTyp... |
import styled from 'styled-components';
import { palette } from 'styled-theme';
const EntityListItemMainTopReference = styled.div`
text-decoration: none;
display: block;
float: left;
color: ${palette('text', 1)};
font-size: ${(props) => props.theme.sizes && props.theme.sizes.text.listItemTop};
@media print... |
const helper = require('think-helper');
/**
* Abstract Relation class
*/
module.exports = class BaseRelation {
/**
* constructor
* @param {Object|Array} data
* @param {Object} options
* @param {Object} model
*/
constructor(data, options, model) {
this.data = data;
this.options = options;
... |
var express = require('express');
var path = require('path');
var r = require('rethinkdb');
var app = express();
var port = process.env.PORT || 3000;
app.use(express.static('public'));
app.use(express.static('node_modules'));
app.set('views', path.join(__dirname + '/views'));
var server = app.listen(port, function()... |
'use strict';
const jwt = require('jsonwebtoken');
const uuid = require('uuid/v4');
var AWS = require('../aws/aws-config').AWS;
// The access tokens.
// You will use these to access your end point data through the means outlined
// in the RFC The OAuth 2.0 Authorization Framework: Bearer Token Usage
// (http://tool... |
/*
Copyright 2017 The Nuclio 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 agreed to in writing, soft... |
'use strict'
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const path = require('path')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlug... |
import React from 'react';
import * as THREE from 'three';
import {Textures} from "./Textures";
class Grass extends React.Component {
render() {
return <mesh
rotation = {new THREE.Euler(-Math.PI / 2,0,0)}
position = {new THREE.Vector3(this.props.x,0,this.props.y)}
>
<planeGeometry
w... |
$(document).ready(function () {
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
let currentOrder = []
let totalprice = 0
$(".item-cashier").on('click', function () {
// console.log("aa");
// console.log($(this)... |
/*------------------------------------------------------------------
* Theme Name: HostRocket v2 Responsive HTML5 Landing page
* Theme URI: http://www.brandio.io/envato/hostrocket-v2
* Author: Brandio
* Author URI: http://www.brandio.io/
* Description: A Bootstrap Responsive HTML5 Landing page
* Version: 1.0
* L... |
export default SocketConfig;
SocketConfig.$inject = ["lockerProvider"];
function SocketConfig(lockerProvider) {
lockerProvider.defaults({
driver: "session",
namespace: "socket",
separator: ".",
eventsEnabled: false,
extend: {},
});
} |
var fs = require('fs');
var config = require('../config');
module.exports = {
parsePrivate: function () {
var fileText = fs.readFileSync(config.jwt.certificates + "/" + config.jwt.privateCertFile, 'utf8');
var certFile = fileText.split("\r\n");
var cert = {};
certFile.forEach(funct... |
const Areas = {
caba: "CABA",
gba: "GBA",
cordoba: "Cordoba",
mendoza: "Mendoza"
};
export default Areas; |
webpackHotUpdate("static/development/pages/index.js",{
/***/ "./components/TaxFilingCard.js":
/*!*************************************!*\
!*** ./components/TaxFilingCard.js ***!
\*************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__... |
function clear_board(table, game) {
io.to(table.id).emit("fold off");
var board = setInterval(function() {
for (var idx = 1; idx <= 6; ++idx) {
var seat = get_seat(table.seats, idx);
if (seat.player.bankroll != undefined) {
if (seat.player.bankroll <= 0) {
... |
/*!
* jQuery UI Core @VERSION
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/ui-core/
*/ |
"use strict";
var BB = require("bluebird");
var fs = BB.promisifyAll(require('fs'));
module.exports.save = function (getFolder, name, content,encoding) {
if (typeof getFolder === 'object'){
return getFolder.then(function (folder) {
if (typeof content === "function"){
content = c... |
var Gaffa = require('gaffa');
function Set(){}
Set = Gaffa.createSpec(Set, Gaffa.Action);
Set.prototype._type = 'set';
Set.prototype.trigger = function(){
var fromObj = this.source.value;
if(this.clone.value){
fromObj = this.gaffa.clone(fromObj);
}
this.target.set(fromObj, !this.cleans.value);... |
/*=========================================================================================
File Name: compact-menu.js
Description: Compact menu page level only
----------------------------------------------------------------------------------------
Item Name: Chameleon Admin - Modern Bootstrap 4 WebApp & Dashboard... |
const express = require('express')
const bodyParser = require('body-parser')
const cors = require('cors')
const morgan = require('morgan')
const {sequelize} = require('./models')
const config = require('./config/config')
const app = express()
app.use(morgan('combined'))
app.use(bodyParser.json())
app.use(cors())
req... |
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... |
const isNil = require('lodash/isNil');
const omitBy = require('lodash/omitBy');
const parseInt = require('lodash/parseInt');
const map = require('lodash/map');
const concat = require('lodash/concat');
const uuid = require('uuidv4').uuid;
const {situations} = include('enums');
const tableName = 'addresses';
class Assi... |
export default {
target: 'static',
components: true,
/*
** Customize the progress-bar color
*/
loading: false,
/*
** Global CSS
*/
css: [
{
src: 'katex/dist/katex.min.css',
defer: true
},
'~/assets/scss/main.scss'
],
/*
** Plugins to load before mounting the App
... |
import sdk from "./1-initialize-sdk.js";
const tokenModule = sdk.getTokenModule(
"0xBfa0aAEd6d642361573d3eb3056B9c1C78Ac1daF",
);
(async () => {
try {
// Log the current roles.
console.log(
"👀 Roles that exist right now:",
await tokenModule.getAllRoleMembers()
);
// Revoke all the su... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.