text stringlengths 2 1.04M |
|---|
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Image, ImageBackground, Platform, StyleSheet, TouchableOpacity, View, ViewPropTypes } from 'react-native';
import Icon from 'react-native-vector-icons/MaterialIcons';
import Video from 'react-native-video'; // eslint-disable-line
co... |
module.exports = {
extends: [
'eslint:recommended',
'plugin:jasmine/recommended',
],
env: {
es2020: true,
jasmine: true,
node: true,
},
parserOptions: {
sourceType: 'module',
},
plugins: [
'jasmine',
],
rules: {
'indent': ['error', 2, {
'CallExpression': {
... |
import { EDIT_MODE_SELECTION } from "el/editor/manager/Editor";
import loadOriginalVideo from "el/editor/util/loadOriginalVideo";
export default {
command: 'addVideoAssetItem',
execute: function (editor, videoObject, rect = {}, containerItem = undefined) {
var project = editor.selection.currentProject;... |
const address = ["1 1st Street", "Pallet Town", "Kanto", "777"];
const [, city, state] = address;
console.log(`You are in ${city}, ${state}.`);
const otherAddress = [];
const [, , region = "Johto"] = otherAddress;
console.log(`You are in ${region}`); |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e.ReactIntlLocaleData=e.ReactIntlLocaleData||{},e.ReactIntlLocaleData.ps=t())}(this,function(){"use strict";var e=[{locale:"ps",pluralRuleFunction:function(e,t){return t?"other":1==e?"... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("Debugger", [], factory);
else if(typeof exports === 'object')
exports["Debugger"] = factory();
else
... |
var documenterSearchIndex = {"docs":
} |
module.exports = require('./serve/webpack.dev'); |
// Import required scripts
const DiscordRPC = require('discord-rpc')
const { ipcMain } = require('electron')
let rpc
// Set Discord Rich Presence activity
async function setActivity (state, details) {
if (!rpc) {
return
}
const startTimestamp = new Date()
rpc.setActivity({
details: details,
stat... |
'use strict';
/* ------------------------------------------------------------------------------------------------
CHALLENGE 1
Write a function named isNum that takes in a string or number of any length. This function should use a regular expression pattern to return true if the input contains a number, and false if t... |
/*
* angular-rock
* https://github.com/romeOz/angular-rock
*
* Version: 0.10.0
* License: MIT
*/
(function () {
'use strict';
angular.module('rock',
[
'pascalprecht.translate',
'rock.helpers',
'rock.services',
'rock.directives',
'rock.filters',
'rock.notification',
... |
import { createDOMwithSelector } from '../../../utils/createDOMwithSelector.js';
import { $ } from '../../../utils/selector.js';
export default function CustomAlertModal() {
this.$CustomAlertModal = createDOMwithSelector('aside', '#alert-modal');
$('body').appendChild(this.$CustomAlertModal);
this.show = (messa... |
/**
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === '... |
var x = document.getElementsByClassName("progress")[0].getAttribute("width");
var i = 0;
function move(x) {
if (i == 0) {
i = 1;
var elem = document.getElementsByTagName("Shtml")
var width = 1;
var id = setInterval(frame, 10);
function frame() {
if (width >= x) {
clearInterval(id);
... |
/*
Credits:
- Lummit - https://obnoxious.club/ | https://github.com/Lumm1t/ | Discord: Lummit#0201
- expl0it, shellcode.team
- Steam (emoticon: https://steamcommunity-a.akamaihd.net/economy/emoticon/mgh_17)
- Trollface image (http://www.rw-designer.com/icon-image/7835-256x256x32.png)
- Ponies image... |
// @flow
import React, { Component } from 'react';
import { defineMessages, intlShape, FormattedMessage } from 'react-intl';
import moment from 'moment';
import SVGInline from 'react-svg-inline';
import classNames from 'classnames';
import styles from './Transaction.scss';
import TransactionTypeIcon from './Transaction... |
const chai = require("chai");
const { encodeFlags, int32ToArray, toHexString } = require("../src/helpers");
var expect = chai.expect;
describe("helpers", () => {
describe("#encodeFlags", () => {
it("passes a number just through", () => {
expect(encodeFlags(0b0010)).to.eql(0b0010);
});
it("or-comb... |
module.exports = {
dlf : {
color : '#006AB3',
darkcolor : '#00338B',
id : 3,
name : 'Deutschlandfunk',
/* für Tagesübersicht, wird auch in der Mediathek genutzt und einmal täglich über
einen Hintergrundprozess gesynct*/
dayplan : 'http://www.deutschlandfunk.d... |
require('chai').should();
const Promise = require('bluebird');
// config Bluebird
Promise.config({
cancellation: true
});
const Model = require('..');
describe('Cancellation', () => {
it('cancel a request', (done) => {
let promise = Model.list().$promise;
promise.isCancelled.should.to.be.a(... |
var searchData=
[
['rest_62',['Rest',['../class_rest.html',1,'']]]
]; |
import React from "react";
import {updateValue} from "@ui-schema/ui-schema";
import InputAdornment from "@material-ui/core/InputAdornment";
import Palette from "@material-ui/icons/Palette";
import {StringRenderer} from "@ui-schema/ds-material";
import converters from "../transformers";
import merge from "deepmerge";
/... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpClient = void 0;
var tslib_1 = require("tslib");
var querystring_1 = tslib_1.__importDefault(require("querystring"));
var crypto_1 = tslib_1.__importDefault(require("crypto"));
var fs_1 = tslib_1.__importDefault(require("fs"));
var... |
/*! ****************************************************************************
jquery.dynatree.js
Dynamic tree view control, with support for lazy loading of branches.
Copyright (c) 2006-2013, Martin Wendt (http://wwWendt.de)
Dual licensed under the MIT or GPL Version 2 licenses.
http://code.google.com/p/dynatr... |
/*
Copyright (c) 2014-2016 Brion Vibber <brion@pobox.com>
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, ... |
/**
* @license Copyright (c) 2003-2016, 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... |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.showWithNumber=exports.showWithName=exports.clear=exports.remove=exports.load=exports.save=void 0;var save=function(){var a=0<arguments.length&&arguments[0]!==void 0?arguments[0]:"state",b=1<arguments.length&&arguments[1]!==void 0?arguments[1]:... |
const PersonName = require('../../../lib/Address/Name/PersonName');
const TEST_DATA = require('./PersonName.data.json');
describe('Person Name', () => {
it('should accept valid names', () => {
TEST_DATA.valid.forEach(data => {
const person = new PersonName(data);
person.isValid().should.be.true();
... |
// Copyright 2018-2020 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... |
import Animation from "../animation"
import {
Enemy,
Hero,
Hurtbox,
Item,
Projectile,
Terrain
} from "./"
class Crow extends Enemy {
constructor(game, x, y, img = null, ctx = null, scale = 3, spriteWidth = 50, spriteHeight = 40,
/*Unique to Crow*/sightRadius = [700, 50... |
export default {
'#/': 'Home',
'#/hello': 'HelloWorld',
}; |
define('docs/renderers/Form/Form.md', function(require, exports, module) {
module.exports = {
"toc": {
"label": "目录",
"type": "toc",
"children": [
{
"label": "Form",
"fragment": "form",
"fullPath": "#form",
"level": 2,
"children": [
... |
export default (context, html) => html`
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0... |
(function() {
"use strict";
var SmbClient = {};
if ("undefined" === typeof module) {
window.SmbClient = SmbClient;
} else {
module.exports = SmbClient;
}
})(); |
const path = require(`path`)
module.exports = {
siteMetadata: {
title: 'Sean McNally',
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: `gatsby-plugin-manifest`,
options: {
start_url: '/',
display: 'minimal-ui',
},
},
{
resolve: `gatsby-source-fil... |
import Projectile from './';
describe('error handling', () => {
test('must pass a selector', () => {
expect(() => {
new Projectile({});
}).toThrowError('must supply a selector');
});
});
describe('methods', () => {
let projectile = null;
beforeEach(() => {
projectile = new Projectile({
... |
macDetailCallback("d86c02000000/24",[{"d":"2015-10-17","t":"add","a":"No.1 Building,399 Keyuan Road, Zhangjian Hi-Tech Park, Pudong New Area Shanghai CN 201203","c":"CN","o":"Huaqin Telecom Technology Co.,Ltd"}]); |
import chai from 'chai'
import Bitcoin from '../bitcoin'
const should = chai.should()
const { Base58 } = Bitcoin.encoding
describe('Base58', () => {
const buf = Buffer.from([0, 1, 2, 3, 253, 254, 255])
const enc = '1W7N4RuG'
it('should make an instance with "new"', () => {
const b58 = new Base58()
shou... |
const Category = require('../models/Category');
module.exports.addGet = (req, res) => {
res.render('category/add');
};
module.exports.addPost = (req, res) => {
let category = req.body;
category.creator = req.user._id;
Category.create(category).then(() => {
res.redirect('/');
});
};
modul... |
setTimeout(delayedskrzynka, 2000);
function delayedskrzynka() {
dragElementsk(document.getElementById("mydivskrzynka"));
};
function dragElementsk(elmnt) {
var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
if (document.getElementById(elmnt.id + "header")) {
document.getElementById(elmnt.id + "header").onmouse... |
/*
* Copyright (c) 2021. All Rights Reserved
* Created by Jay Suthar on 11/6/2021
*/
import React from 'react';
import {ButtonBase, IconButton, Tooltip} from "@material-ui/core";
import './ProjectButton.css'
import AddIcon from "@material-ui/icons/Add";
function ProjectButton(props) {
return (
<div cl... |
function A() {}
A.prototype.count = 0;
function B() {}
B.prototype = new A;
var x = new B;
var y = new B;
//assert(x.count == 0);
var __result1 = x.count; // for SAFE
var __expect1 = 0; // for SAFE
//assert(y.count == 0);
var __result2 = y.count; // for SAFE
var __expect2 = 0; // for SAFE
x.count++;
//assert(x.c... |
const path = require("path");
const express = require("express");
const session = require("express-session");
const exphbs = require("express-handlebars");
const routes = require("./controllers");
const helpers = require("./utils/helpers");
const sequelize = require("./config/connection");
const SequelizeStore = requi... |
/* jshint node: true */
'use strict';
module.exports = {
name: 'ember-cli-favico',
included: function(app) {
this._super.included(app);
app.import(app.bowerDirectory + '/favico.js/favico.js');
}
}; |
/* Copyright 2002-2021, OpenNebula Project, OpenNebula Systems */
/* */
/* 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 ... |
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
import pageButton from '../../page/page-button'
import pageToast from '../../page/page-toast'
import pagePopover from '../../page/page-popover'
import pageTabs from '../../page/page-tabs'
import pageIcon from '../../page/page-icon'
import pageColla... |
module.exports = {
name: 'Find Reaction',
section: 'Reaction Control',
subtitle(data) {
return `${data.find}`;
},
variableStorage(data, varType) {
if (parseInt(data.storage, 10) !== varType) return;
return [data.varName2, 'Reaction'];
},
fields: ['message', 'varName', 'info', 'find', 'stora... |
// Copyright (c) 2021 The Trade Desk, Inc
//
// 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 followin... |
sap.ui.define([
"sap/ui/core/ResizeHandler"
], function (ResizeHandler) {
"use strict";
return {
_mOverlays: new Map(),
/**
* Toggles an overlay over the given grid-based layout to outline all grid cells.
* @param {String[]|String} oId ID of the grid-based layout control
* @param {object} oView The v... |
'use strict';
angular.module('core').controller('LayoutController', ['$scope', '$location', 'Authentication', 'Layout', '$anchorScroll', 'NotificationsExtra',
function($scope, $location, Authentication, Layout, $anchorScroll, NotificationsExtra) {
$scope.authentication = Authentication;
// console.log('$user... |
const packageAliases = require('../../package.json')._moduleAliases;
function config(options = {}) {
const aliases = {};
Object.keys(packageAliases).forEach((key) => {
aliases[key] = options.workFolder + packageAliases[key].slice(1);
});
return {
resolve: {
alias: aliases,
},
};
}
module.... |
import React from "react";
const CreateDriver = () => {
return (
<>
<h6>Create Driver</h6>
<div className="row mt-4">
<div className="col-sm-1"></div>
<div className="col-sm-10 form-bg">
<div className="row">
<div className="col-sm-6">
<div class="f... |
(function(){function B(b,d,f,g,e,n){return{tag:b,key:d,attrs:f,children:g,text:e,dom:n,domSize:void 0,state:void 0,_state:void 0,events:void 0,instance:void 0,skip:!1}}function C(b){var d=arguments[1],f=2,g;if(null==b||"string"!==typeof b&&"function"!==typeof b&&"function"!==typeof b.view)throw Error("The selector must... |
/// <reference path="VsixMvcAppResult.A.Intellisense.js" />
jQuery.widget("ui.widgetFormItem", jQuery.ui.widgetBase,
{
options: {
},
_create: function () {
// TODO: check this is really needed
jQuery.ui.widgetBase.prototype._create.call(this);
var self = this;
jQuery(thi... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Office Manager", "CONTRIBUTION AMOUNT (F3L Bundled)": "10.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Cool Medical Clinic", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "Post Office Box 400", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC... |
import React, { Component } from "react";
import Form from "react-bootstrap/Form";
import Row from "react-bootstrap/Row";
import Col from "react-bootstrap/Col";
import { Button, Container, Label } from "react-bootstrap";
import Image from "react-bootstrap/Image";
import NavigationBar from "../../UI/NavigationBar/Naviga... |
(function() {
var toc = [{"type":"item","name":"Creating the stream object","url":"Acro12_MasterBook/Plugins_3D_samples/Specifying_the_3D_stream.htm#TOC_Creating_the_streambc-1"},{"type":"item","name":"Adding the Cos stream to the annotation dictionary","url":"Acro12_MasterBook/Plugins_3D_samples/Specifying_the_3D_str... |
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return arg;
}
function Controller() {
function __alloyId17(e) {
if (e && e.fromAdapter) return;
var opts = __alloyId17.opts || {};
var models = __alloyId16... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/testing'), require('@angular/core/testing'), require('rxjs/operators'), require('rxjs'), require('@angular/cdk/keycodes')) :
typeof define === 'function' && define.amd ? define('@a... |
goog.module('grrUi.artifact.artifactDescriptorsService');
goog.module.declareLegacyNamespace();
const apiService = goog.requireType('grrUi.core.apiService');
/**
* Service for querying artifact descriptors.
* @export
* @unrestricted
*/
exports.ArtifactDescriptorsService = class {
/**
* @param {!angular.$q}... |
/**
* Owl Carousel v2.3.2
* Copyright 2013-2018 David Deutsch
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
*/ |
const chai = require('chai');
chai.use(require('chai-bn')(web3.utils.BN));
const { expect } = chai;
require('@openzeppelin/test-helpers');
const ConditionalTokens = artifacts.require('ConditionalTokens');
const ERC20Mintable = artifacts.require('ERC20Mintable');
const DanceDao = artifacts.require('DanceDao');
const Da... |
import _ from 'lodash';
import { FETCH_POSTS, FETCH_POST } from '../actions';
export default function(state = {}, action){
switch(action.type){
case FETCH_POST:
//ES5
const post = action.payload.data;
const newState = { ...state };
newState[post.id] = post;
return newState;
//... |
console.log('load _drum_65_4_SBLive_sf2');
var _drum_65_4_SBLive_sf2={
zones:[
{
midi:128
,loopStart:0
,loopEnd:0
,keyRangeLow:65
,keyRangeHigh:65
,sampleRate:44100
,coarseTune:0
,fineTune:16
,originalPitch:7300
//Timbale Rimshot
}
]
}; |
const Controls = {
movement:{
forward:87,
backward:83,
left:65,
right:68,
up:10,
roll:{
left:91,
right:79
}
},
tools:{
magBoots:81
}
} |
Array.prototype.remove = function(from, to) {
var rest = this.slice((to || from) + 1 || this.length);
this.length = from < 0 ? this.length + from : from;
return this.push.apply(this, rest);
};
module.controller('ClientTabCtrl', function(Dialog, $scope, Current, Notifications, $location) {
$scope.remove... |
/*
* @flow
*/
import React from 'react';
import { Colors } from 'lattice-ui-kit';
import ComplianceAndSecuritySection from './ComplianceAndSecuritySection';
import CorePlatformSection from './CorePlatformSection';
import PlatformOverviewSection from './PlatformOverviewSection';
import FooterSection from '../foote... |
import Joi from '@hapi/joi';
const userName = Joi.string()
.min(6)
.max(50)
.label('Username');
const email = Joi.string()
.email()
.required()
.label('Email');
const password = Joi.string()
.min(8)
.max(50)
.regex(/^(?=\S*[a-z])(?=\S*[A-Z])(?=\S*\d).*$/)
.required()
.label('Password')
.optio... |
//# sourceMappingURL=main.a3a4656f81dcbd8f9ac9.bundle.js.map |
const configureOmeda = require('@pmmi-media-group/package-global/config/omeda');
module.exports = configureOmeda({
rapidIdentification: {
productId: 366,
},
}); |
/*globals ENV QUnit EmberDev */
(function() {
window.Ember = {
testing: true
};
window.ENV = window.ENV || {};
// Test for "hooks in ENV.EMBER_LOAD_HOOKS['hookName'] get executed"
ENV.EMBER_LOAD_HOOKS = ENV.EMBER_LOAD_HOOKS || {};
ENV.EMBER_LOAD_HOOKS.__before_ember_test_hook__ = ENV.EMBER_LOAD_HOOKS.... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict... |
import { shallow } from 'enzyme';
import Example from '../Example';
describe('<Example />', () => {
test('example test', () => {
const wrapper = shallow(<Example />);
expect(wrapper.text()).toEqual('Welcome to Next.js!');
});
}); |
const { writeFileSync } = require("fs");
const path = require("path");
const graphql = require("github-openapi-graphql-query");
const prettier = require("prettier");
if (!process.env.VERSION) {
throw new Error("VERSION environment variable must be set");
}
const version = process.env.VERSION.replace(/^v/, "");
co... |
$(document).ready(function () {
var horiz, vert, diag, board, remainingSpots, canMove;
var pcPiece = 'X';
var npcPiece = 'O';
clearBoard();
$('#reset').click(clearBoard);
$('button').click(function () {
var index = parseInt($(this).attr('id'));
// If the spot is taken, do nothing
if (board[i... |
/*! @license ©2014 Ruben Verborgh - Multimedia Lab / iMinds / Ghent University */
/** An HdtDatasource loads and queries an HDT document in-process. */
var Datasource = require('./Datasource'),
fs = require('fs'),
hdt = require('hdt'),
ExternalHdtDatasource = require('./ExternalHdtDatasource');
// Create... |
var d = new Date()
console.time('Run')
require('./lib/wxpage').A({
config: {
route: ['test/pages/$page', '/pages/$page'],
resolvePath: function (name) {
return '/pages/' + name
}
},
onLaunch: function(opts) {
console.log('APP is Running', opts)
},
onShow: function () {
}
}) |
/*
* # Semantic UI - 2.1.4
* https://github.com/Semantic-Org/Semantic-UI
* http://www.semantic-ui.com/
*
* Copyright 2014 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*!
* # Semantic UI 2.1.4 - Site
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2... |
#!/usr/bin/env node
const program = require('commander')
const chalk = require('chalk')
const Table = require('cli-table3')
const CONSTANTS = require('./constants')
const {
makeName,
makeIdNo,
makeBankCard,
makePhone
} = require('./factory')
const {
validatePhone,
validateIdNo,
validateBankCard,
getAgeF... |
import React, { Component, Fragment, forwardRef } from 'react';
import { bool, func, string, oneOfType, object, shape } from 'prop-types';
import styled, { css } from 'styled-components';
import AnimatedBorder from 'components/AnimatedBorder';
import Button from 'components/Button';
import ErrorMessage from 'component... |
// Request Weibo credentials for the user
// @param options {optional}
// @param credentialRequestCompleteCallback {Function} Callback function to call on
// completion. Takes one argument, credentialToken on success, or Error on
// error.
Weibo.requestCredential = function (options, credentialRequestCompleteCallba... |
/*!
* ui-grid - v4.6.4-f1a8e063 - 2018-10-31
* Copyright (c) 2018 ; License: MIT
*/
(function() {
angular.module('ui.grid').config(['$provide', function($provide) {
$provide.decorator('i18nService', ['$delegate', function($delegate) {
$delegate.add('rs-lat', {
headerCell: {
aria: {
defaultFilt... |
/**
* Default Logger Provider Function --- Browser
*
* @license MIT
*
* @author Steven Velozo <steven@velozo.com>
*/
// Return the providers that are available without extensions loaded
getDefaultProviders = () =>
{
let tmpDefaultProviders = {};
tmpDefaultProviders.console = require('./Fable-Log-Logger-Console.js')... |
/*
*
* Copyright (c) 2019-present for NEM
*
* 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 o... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{XjQp:function(n,p,w){}}]);
//# sourceMappingURL=styles-d68b91ce3d865bdef2d7.js.map |
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/boxMng/box-up2"],{
/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js?!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/vue-loader/lib/in... |
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
module.exports = {
output: {
path: path.re... |
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var commonLoaders = [
{test: /.*\.json$/, loader: 'json'},
{test: /.*\.md$/, loader: 'file'},
{test: /\.css$/, loader: "style-loader!css-loader" },
{test: /\.jpe?g$|\.gif$|\.png$|\.svg$... |
module.exports = {
"redirect": [
/****************************************************
* GENERAL REDIRECTS
****************************************************/
{
from: "/docs/Overview",
to: "/"
},
{
from: "/docs/",
to: "/"
},
/********************************... |
/*!
* modernizr v3.2.0
*
* Copyright (c)
* Faruk Ates
* Paul Irish
* Alex Sexton
* Ryan Seddon
* Patrick Kettner
* Stu Cox
* Richard Herrera
* MIT License
*/
/*
* Modernizr tests which native CSS3 and HTML5 features are available in the
* current UA and makes the results available to you in two w... |
"use strict";
const graphQLToken = "afa6d76dc0e5155f2aca8d637023951ffda26000";
const container = document.getElementById("img-container");
if (!container)
throw new Error("No image container found");
const init = async () => {
const imageMeta = await getImageMeta();
const lazyImageObserver = new Intersectio... |
/**
* Copyright (c) 2014, 2016, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
// grunt copy task
var constants = require("../../common/constants");
var cordovaDirectory = constants.CORDOVA_DIRECTORY;
var appSrcDirectory = constants.APP_SRC_DIRECTORY;
module.exports =
{
//... |
'use strict';
const express = require('express');
const logger = require('./../../infrastructure/logger');
const { asyncWrapper } = require('login.dfe.express-error-handling');
const organisationApi = require('./../../infrastructure/Organisations');
const InteractionComplete = require('./../InteractionComplete');
cons... |
/* Lidar com números em JavaScript pode dar muita dor de cabeça. Você já viu o que acontece quando faz o
seguinte comando no console: console.log(0.1 + 0.2); O resultado será: 0.30000000000000004. Outra coisa
importante de observar, é o fato que o ponto é utilizado no lugar da vírgula e vice versa. Com isso, vamos faze... |
// Stick the top to the top of the screen when scrolling
$("#top-bar").stick_in_parent({spacer: false});
function GetLatestReleaseInfo() {
$.getJSON("https://api.github.com/repos/ovh/cds/releases/latest").done(function(release) {
for (var i = 0; i < release.assets.length; i++) {
$("."+release.assets... |
import React from "react"
import {Link} from "gatsby";
import Layout from "../Components/Layout";
import Head from '../Components/Head'
const IndexPage = () =>{
return (
<div>
<Layout >
<Head title="home"/>
<h1>Hello!</h1>
<h2>I am Ismail frontend develope... |
class Parser {
constructor() {
this.builtins = {
"int": (e) => parseInt(e),
"float": (e) => parseFloat(e),
"str": (e) => String(e),
"add": (a, b) => a + b,
"sub": (a, b) => a - b
};
this.scope = Object.assign({}, this.builtins);
this.operators = {
binary: {
... |
/**
* ******************************************************************************************************
*
* Utils
* // Angular Service Style
*
* ******************************************************************************************************
*/
(function ( define ) {
"use strict";
define... |
"use strict";
import '../styles/index.scss';
import SigninComponent from '../partials/signIn';
import HomeComponent from '../partials/home';
import Utils from '../lib/utils';
import Error404Component from '../partials/error404';
// List of supported routes. Any url other than these routes will throw a ... |
import * as Sentry from "@sentry/browser";
import jwt from "jsonwebtoken";
export const setSentryUser = (token) => {
if (token) {
const decodedToken = jwt.decode(token);
Sentry.setUser({
email: decodedToken.email,
username: decodedToken.user_id,
});
} else {
Sentry.setUser({
email... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.