text stringlengths 2 1.04M |
|---|
// @flow
// libs
import { createAction, createReducer } from 'redux-act';
import Api from 'lib/api';
import { createAsyncActions } from '@foxcommerce/wings';
import { createEmptyTaxonomy, duplicateTaxonomy } from 'paragons/taxonomy';
import _ from 'lodash';
const defaultContext = 'default';
/////////////////////////... |
import React, { useEffect, useState } from 'react';
import { number, string, func, oneOfType, bool, oneOf } from 'prop-types';
import { Popover } from 'antd';
import throttle from 'lodash.throttle';
const ResponsiveAntMenu = (props) => {
const {
children: MenuMarkup, activeLinkKey, menuClassName: className... |
const {
GraphQLSchema,
GraphQLObjectType,
GraphQLInt,
GraphQLString,
GraphQLList
} = require('graphql')
var schema = new GraphQLSchema({
query: new GraphQLObjectType({
name: 'RootQueryType',
fields: {
hello: {
type: GraphQLString,
resolve() {
... |
let data = {
"body": "<path d=\"M17.83 12.74c-.28-.57-1.07-1.05-2.12-.24c-1.43 1.14-3.71 1.14-3.71 1.14s-2.28 0-3.71-1.14c-1.05-.81-1.84-.33-2.12.24c-.5 1 .06 1.49 1.33 2.3c1.09.7 2.58.96 3.54 1.06l-.8.8C9.1 18.03 8 19.12 7.25 19.88c-.45.46-.45 1.19 0 1.62l.14.16c.45.45 1.19.45 1.64 0L12 18.68c1.15 1.13 2.24 2.22 3 2.... |
const mongoose = require("mongoose");
const _ = require("lodash");
const { NotFoundError } = require("../helpers/error.helper");
const UserModel = mongoose.model("User");
async function deleteUser(userId) {
const user = await UserModel.findOne({
_id: userId
});
if (!user) {
throw new NotFoundError({ me... |
/**
*
* App.js
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import jwtDecode from 'jwt-decode';
import ... |
import React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown';
const pageFilename = 'api/list-item-secondary-action';
const requireRaw = require.context('!raw-loader!./', false, /list-item-secondary-action\.md$/);
... |
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... |
import { validateDefintion } from '../../main.js';
export default validateDefintion({
command: 'songbook',
alias: 's',
options: [
['-a, --group-alphabetically', 'List the songs in an alphabetical tree.'],
['-b, --base-path <base-path>', 'Base path of a song collection.'],
['-c, --cle... |
import React, { Component } from 'react';
import Gmap from './Gmap';
import AlertBox from "./AlertBox"
import GeoMain from "./GeoMain"
import { withScriptjs, withGoogleMap, GoogleMap, Marker,Polyline, icon, Google} from "react-google-maps"
import markerImg from "../../../assets/img/map_imarker(1).png"
import Search fr... |
/**
* translate ast to js function code
* @author yiminghe@gmail.com
* @ignore
*/
KISSY.add(function (S, require) {
var XTemplateRuntime = require('xtemplate/runtime');
var nativeCode = '',
t;
var nativeCommands = XTemplateRuntime.nativeCommands,
nativeUtils = XTemplateRuntime.utils;
... |
const { Router } = require('express');
const controller = require('../controller/user.controller');
const router = Router();
router.route('/register').post(controller.createUserInDB);
router.route('/login').post(controller.logUserIn);
router.route('/checkToken').post(controller.validateJWT);
module.exports = route... |
module.exports = {
map: (user) => {
return {
id: user.id,
is_admin: user.isAdmin,
first_name: user.firstname,
last_name: user.lastname,
email: user.email
}
}
} |
class PaymentPackage {
constructor(name, value) {
this.name = name;
this.value = value;
this.VAT = 20; // Default value
this.active = true; // Default value
}
get name() {
return this._name;
}
set name(newValue) {
if (typeof newValue !== 'string') {... |
$(document).ready(function (e) {
$("#uploadimage").on('submit',(function(e) {
e.preventDefault();
// $("#message").empty();
// $('#loading').show();
$.ajax({
url: "ajax_php_file.php", // Url to which the request is send
type: "POST", // Type of request to be send, called as method
dat... |
var m = require('mithril');
module.exports = m.trust('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="24" height="24" viewBox="0 0 24.00 24.00" enable-background="new 0 0 24.00 24.00" xml:space="preserve"><path fill="#000000" fill-opacity="1" st... |
'use strict';
// Build the dist/packages-dist directory in the same fashion as the legacy
// /build.sh script, by building the npm packages with Bazel and copying files.
// This is needed for scripts and tests which are not updated to the Bazel output
// layout (which always matches the input layout).
// Do not add ne... |
// Copyright 2021 Google LLC
//
// 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 ... |
var searchData=
[
['entitymanager',['entityManager',['../d0/dc0/classch_1_1bfh_1_1gr33nopo55um_1_1enocean_1_1persistence_1_1Store.html#abc2b3c7b806858feb89e7107fa5ac5f8',1,'ch::bfh::gr33nopo55um::enocean::persistence::Store']]],
['eventcode',['eventCode',['../d6/d3e/classch_1_1bfh_1_1gr33nopo55um_1_1enocean_1_1tele... |
'use strict'
const fs = require('fs')
const path = require('path')
const http = require('http')
const url = require('url')
function startServer(opts_or_port, dbfolder_or_cb, cb) {
let opts = opts_or_port
if(typeof opts !== 'object') {
opts = {
port: opts_or_port,
dbfolder: dbfolder_or_cb
}
} ... |
const Formats = ['umd', 'cjs', 'esm'];
const pkgJson = require('./package.json');
const path = require('path');
const { nodeResolve } = require('@rollup/plugin-node-resolve');
const ts = require('rollup-plugin-typescript2');
const { terser } = require('rollup-plugin-terser');
const external = [...Object.keys(pkgJson.... |
import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js'
import buildMatchFn from '../../../_lib/buildMatchFn/index.js'
var matchOrdinalNumberPattern = /^(\d+)\./i
var parseOrdinalNumberPattern = /\d+/i
var matchEraPatterns = {
narrow: /^(p\.m\.ē|m\.ē)/i,
abbreviated: /^(p\. m\. ē\.|m\. ē\.)/i... |
import {
getCommonContainer,
getCommonHeader,
getStepperObject,
getLabel
} from "egov-ui-framework/ui-config/screens/specs/utils";
import {
prepareDocumentsUploadData,
getAppSearchResults,
createUpdateOCBpaApplication
} from "../../../../ui-utils/commons";
import {
getQueryArg,
setBusinessServiceDat... |
/*
* Copyright 2017 StreamSets 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... |
/**
* This module provides functions for creating URLs for Blockstream's
* [block explorer]{@link https://blockstream.info}.
*
* This module does NOT provide implementations of HTTP requests which
* fetch data from these URLs.
*
* @module block_explorer
*/
import {TESTNET} from "./networks";
const BASE_URL_M... |
// Lll
import {
GEO_CULLING_RADIUS, GEO_OPEN_NODE, GEO_DISPLAY_LIST, GEO_CLOSE_NODE, GEO_END,
LAYER_OPAQUE
} from "../../../../../engine/GeoLayout"
import { lll_seg7_dl_070178A8 } from "./model.inc"
// 0x0E000AC0
export const lll_geo_000AC0 = () => {return [
GEO_CULLING_RADIUS(1000),
GEO_OPEN_NODE(),... |
/**
* Helper functions that when passed a request will return a
* boolean indicating if the request uses that HTTP method,
* header, host or referrer.
*/
const Method = method => req =>
req.method.toLowerCase() === method.toLowerCase()
const Connect = Method('connect')
const Delete = Method('delete')
const Get ... |
'use strict';
angular.module('terminaaliApp')
.controller('AdminCtrl', function ($scope, $http, Auth, User) {
// Use the User $resource to fetch all users
$scope.users = User.query();
$scope.delete = function(user) {
User.remove({ id: user._id });
angular.forEach($scope.users, function(u, i... |
import React, { PureComponent } from 'react'
class Brewery extends PureComponent {
render() {
const { brewery } = this.props
const {
name,
street,
city,
state,
postal_code,
country,
longitude,
latitude,
brewery_type,
website_url
} = brewery
... |
const Direction = {
Vertical: 'VERTICAL',
Horizontal: 'HORIZONTAL',
}
const Sense = {
Up: 'UP',
Down: 'DOWN',
Left: 'LEFT',
Right: 'RIGHT'
}
const Cast = {
Ball: 'Circle',
Racket: 'Rectangle'
}
class Vector {
#direction = Direction.Horizontal;
#sense = Sense.Up;
... |
// Copyright 2016 Zipscene, LLC
// Licensed under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
const { createAggregate } = require('common-query');
const SchemaTypeBase = require('./schema-type-base');
const XError = require('xerror');
const { FieldError } = require('common-schema');
... |
/** @namespace H5PEditor */
var H5PEditor = H5PEditor || {};
H5PEditor.SingleChoiceSetTextualEditor = (function ($) {
/**
* Creates a text input widget for editing ssc.
*
* @class
* @param {List}
*/
function SSCEditor(list) {
var self = this;
var recreation = false;
var shouldWarn = fal... |
/*
* @Author: 一尾流莺
* @Description:
* @Date: 2021-12-02 17:16:38
* @LastEditTime: 2021-12-02 17:16:38
* @FilePath: \webpack-03\src\detail.js
*/ |
import selectAdvanced from './selectAdvanced';
export default function selectByRoot(name, query) {
return selectAdvanced(store => store.selectByRoot(name, query));
} |
mycallback( {"_record_type": "fec.version.v7_0.TEXT", "FILER COMMITTEE ID NUMBER": "C00461061", "REC TYPE": "TEXT", "TEXT4000": "Total earmarked through conduit PAC limit not affected", "TRANSACTION ID NUMBER": "TINCA7611IDTA537", "_src_file": "2011/20110504/727407.fec_5.yml", "BACK REFERENCE TRAN ID NUMBER": "INCA7611... |
import _default from './components/material/Material';
export { _default as default }; |
import request from '@/utils/request'
export function getList(params) {
return request({
url: '/brand/list',
method: 'get',
params: params
})
}
export function add(data) {
return request({
url: '/brand/add',
method: 'post',
data
})
}
export function detail(id) {
return request({
u... |
'use strict';
/**
* cydia-api-node
* @version 0.1.0
* @author 1Conan <me@1conan.com> (https://1conan.com)
*/
const cydiaapi = require('./index.js');
const freeTweakName = 'cydia';
const freeTweakDisplay = 'Cydia installer';
const paidTweakName = 'com.ziph0n.pickpocket';
const paidTweakDisplay = 'PickPocket... |
/*!
* devextreme-angular
* Version: 16.2.5
* Build date: Tue Feb 28 2017
*
* Copyright (c) 2012 - 2017 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://git... |
'use strict';
var Backbone = require('backbone');
var TaskModel = Backbone.Model.extend({
urlRoot:"/tasks",
idAttribute: 'id',
parse: function(response){
if(response.tag){
response.tag = new TagModel(response.tag)
}
return response
}
});
module.exports = TaskModel; |
const carrito = [
{ nombre: "Monitor de 29 ", precio: "4 dolares" },
{ nombre: "Monitor de pulgadas", precio: "8 dolares" },
{ nombre: "Monitor 29 pulgadas", precio: "6 dolares" },
{ nombre: "de 29 pulgadas", precio: "1 dolares" },
{ nombre: "29 pulgadas", precio: "32 dolares" },
];
for (let i = 0; i < carri... |
'use strict';
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: 'production',
devtool: false,
}); |
'use strict'
import mongoose from 'mongoose'
import User from '../models/user'
import { logger } from './logger'
import { env } from './env'
import UserRole from '../domain/user-role'
const connectToDatabase = async (
databaseHostName,
databasePort,
databaseName,
shouldAuthenticate,
username,
password
) =... |
/*
* Plugin Name: Vanilla-JS Tip Tap Tip
* Version: 0.1.1
* Plugin URL: https://github.com/Darklg/JavaScriptUtilities
* JavaScriptUtilities Vanilla-JS may be freely distributed under the MIT license.
*/
var dkJSUTipTapTip = function(item, options) {
'use strict';
var self = this;
self.item = false;
... |
export default {
removeParticipant: "Deelnemer verwijderen",
confirmStr1: "Weet u zeker dat u",
confirmStr2: "wilt verwijderen uit deze oproep?",
remove: "Verwijderen",
cancel: "Annuleren",
participants: "deelnemers",
participant: "deelnemer",
conferenceCall: "Conferencecall",
unknownNumber: "Anoniem"... |
import { DOM } from 'angular2/src/platform/dom/dom_adapter';
/**
* A service that can be used to get and set the title of a current HTML document.
*
* Since an Angular 2 application can't be bootstrapped on the entire HTML document (`<html>` tag)
* it is not possible to bind to the `text` property of the `HTMLTitle... |
import {
SET_VIEW_LOADING,
UNSET_VIEW_LOADING,
INCREMENT_VIEW_LOADING,
DECREMENT_VIEW_LOADING,
} from '../../constants/ActionTypes';
/**
* Creates the dispatched SET_VIEW_LOADING action object.
* @param {string} pathname The target pathname.
* @return {Object} The dispatched action object.
*/
export const ... |
"use strict";
self["webpackHotUpdatevisuability"]("contentScript",{
/***/ "./src/pages/Content/index.js":
/*!************************************!*\
!*** ./src/pages/Content/index.js ***!
\************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpa... |
/*
* License
* http://daishihmr.mit-license.org/
*/
(function() {
gls2.Bomb = tm.createClass({
superClass: tm.app.Object2D,
isEffect: true,
gameScene: null,
init: function(player, gameScene) {
this.superInit();
this.player = player;
this.gameScene = gameScene;
t... |
import { publish, subscribe } from "./pubsub";
let current_tab = "today";
export function close_overlay() {
const form = document.querySelector(".modal-content.inactive.active");
form.classList.add("inactive");
form.classList.remove("active");
overlay.className = "";
}
function handle_add_btn() {
... |
/* eslint camelcase: 0 */
const knex = require('./connection')
const _ = require('lodash')
const {
getCurrentReportingPeriodID
} = require('./settings')
async function uploads (period_id) {
if (!period_id) {
console.log('uploads()')
period_id = await getCurrentReportingPeriodID()
}
return knex('upload... |
const Discord = require('discord.js');
const execute = async (message, args) => {
if (!args.length) {
return message.channel.send(`Você não disse valores suficientes, ${message.author}!`);
}
var playerName = args[0]
const fetch = require("node-fetch")
var apiSummoner = `https://br1.api.... |
const { literatures, collections, users } = require("../models");
// exports.getCollection = async (req, res) => {
// try {
// const { id } = req.params;
// const collection = await collections.findAll({
// where: {
// userId: id,
// },
// include: {
// model: users,
// ... |
function _defineProperties(target, props) {
for(var i = 0; i < props.length; i++){
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descript... |
import { applyMiddleware, compose, createStore } from 'redux'
import { browserHistory } from 'react-router'
import createLogger from 'redux-logger'
import thunk from 'redux-thunk'
import getCombineReducer from './reducers'
import { updateLocation } from './location'
import requester from 'MIDDLEWARE/requester'
export ... |
window.onload = () => {
window.scrollTo(0, 25);
let score = sessionStorage.getItem("score").length;
sessionStorage.removeItem("score");
if (score >= 2) {
document.body.style.backgroundImage = "url('img/anim-confetti-quiz_1.gif')";
document.getElementById("success").style.visibility = "visible"... |
//>>built |
import React from "react";
import { Jumbotron } from "react-bootstrap";
export default class Welcome extends React.Component {
render(){
return (
<div id="welcome-message">
<Jumbotron >
<h1> Welcome to PC Build Clone</h1>
<p> On this websi... |
import { __assign } from "tslib";
import * as React from 'react';
import { StyledIconBase } from '@styled-icons/styled-icon';
export var Pocket = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "none",
"xmlns": "http://www.w3.org/2000/svg",
"stroke": "currentColor",
"s... |
import { h } from 'vue'
export default {
name: "CannabisOff",
vendor: "Mdi",
type: "",
tags: ["cannabis","off"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-cannabis-o... |
import esb from 'elastic-builder'
import moment from 'moment'
/**
* Add filters.
*
* @param {Object} esbResult An instance of an Elastic-builder query.
* @param {Object} filters Any filters to be added to the body in filter
* context.
* TODO: Add the ability to pass multiple values... |
angular.module('portal')
.factory('Question', ['BaseUrl', '$resource', function (BaseUrl, $resource) {
var services = {},
_question = $resource(BaseUrl + 'profile/question/:questionDetail/', {}, {
withAnswers: {method: 'GET', params: {questionDetail: 'all-answers'}, isArray: true},
save: {method... |
/**
* @fileoverview gRPC-Web generated client stub for ibc.applications.transfer.v1
* @enhanceable
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
const grpc = {};
grpc.web = require('grpc-web');
var gogoproto_gogo_pb = require('../../../../gogoproto/gogo_pb.js')
var cosm... |
#!/usr/bin/env node
'use strict';
const program = require('commander');
const { collectDetail } = require('@alifd/fusion-collector');
const optionsAttachToEnv = require('../lib/utils/optionsAttachToEnv');
program
.option('--debug', 'debug 模式下不压缩')
.option('--hash', '构建后的资源带 hash 版本')
.option('--project-type <t... |
import React from 'react';
import {Label} from 'ps-react-components-cogwave';
/** Required label */
export default function ExampleRequired() {
return <Label htmlFor="test" label="test" required />
} |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var index = require('./bin/index');
var app = express();
app.io = require('socket.io')();
// view... |
"use strict";
function pluginit(P) {
// Request query params from the embedding window
P.requestMsg(
{
'action':'get',
'key':'QueryParam'
},
function (d) {
let v = d.value;
if (v !== undefined && v["q"] && v["q"] !== "") {
let e = v["q"];
const eq = document.get... |
// @ts-check
import '../typedefs.js'
import { _deleteBranch } from '../commands/deleteBranch.js'
import { FileSystem } from '../models/FileSystem.js'
import { assertParameter } from '../utils/assertParameter.js'
import { join } from '../utils/join.js'
/**
* Delete a local branch
*
* > Note: This only deletes loose... |
'use strict';
angular.module('shieldsCrApp.index', ['ngRoute'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/index', {
templateUrl: 'index/index.html',
controller: 'IndexController'
});
}])
.controller('IndexController', [function() {
}]); |
'use strict';
const db = require('./db');
const mail = require('./mail');
const auth = require('./auth');
module.exports = {
db,
mail,
auth
}; |
'use strict';
/* Builtin Modules */
/* 3rd-party Modules */
/* Project Modules */
var E = require('./serverError');
var CONFIG = require('./yamlResources').get('CONFIG');
var toolkit = require('./toolkit');
var celeryHelper = require('../utils/extraHelpers/celeryHelper');
/* Configure */
exports.send = func... |
exports.up = function(knex) {
return knex.schema.createTable('medication', function(table) {
table.increments('id').primary();
table.string('name').notNullable();
table.string('description').notNullable();
});
};
exports.down = function(knex) {
return knex.schema.dropTable('medicati... |
"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(ex... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* Returns the top coordinate from the bounds of the Game Object.
*
* @function Phaser.Display.Bounds.GetTop
* ... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.y = exports.x = exports.C = void 0;
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPro... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnPrope... |
var express = require("express");
var app = express();
app.use(express.static(__dirname + "/dist"));
app.listen(process.env.PORT, process.env.IP, function () {
console.log("Server is running at: " + process.env.IP + ":" + process.env.PORT);
}); |
module.exports = async d => {
const {code} = d.command;
const inside = d.unpack();
const err = d.inside(inside);
if (err) return d.error(err);
let [guildId, name, type, returnId = 'no', parentId] = inside.splits;
const guild = await d.util.getGuild(d, guildId);
if (!guild) return d.aoiErro... |
var NAVTREEINDEX0 =
{
"group__group__mtb__radar__sensing__callbacks.html":[1,3],
"group__group__mtb__radar__sensing__callbacks.html#ga60a125019df36616a00d86da3c68094b":[1,3,0],
"group__group__mtb__radar__sensing__callbacks.html#ga972c87798ddc18542625e8c6052ea580":[1,3,1],
"group__group__mtb__radar__sensing__high__level... |
/**
* @ngdoc controller
* @name Umbraco.Editors.Content.RecycleBinController
* @function
*
* @description
* Controls the recycle bin for content
*
*/
function ContentRecycleBinController($scope, $routeParams, dataTypeResource, navigationService) {
//ensures the list view doesn't actually load until we q... |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... |
import React, {Component} from "react";
import {StyleSheet, TouchableOpacity, Text} from "react-native";
import configs from "../../config";
export default class MaterialButtonPrimary1 extends Component {
render() {
return (
<TouchableOpacity style={[styles.root, this.props.style]} onPress={thi... |
// Grab the width of the containing box
let width = parseInt(d3.select("#scatter").style("width"));
// Height of the graph
let height = width - width / 4.0
// Margin spacing for graph
let margin = 20
// space between words
let labelArea = 110;
// padding for the text at the bottom and left axes
let textPaddingBo... |
import Check from "../Core/Check.js";
import defaultValue from "../Core/defaultValue.js";
import defined from "../Core/defined.js";
import destroyObject from "../Core/destroyObject.js";
import DeveloperError from "../Core/DeveloperError.js";
import ContextLimits from "./ContextLimits.js";
import RenderbufferFormat from... |
$(document).ready(function() {
$('#sendReview').click(function(){
if ($('#author').val() == '') {
alert('Укажите свое имя!');
return false;
}
if ($('#comment').val() == '') {
alert('Введите текст отзыва!');
return false;
}
if ... |
const axios = require("axios")
module.exports = async function (name, uuid) {
let uuidParsed = uuid.replaceAll('-', '')
let isMatching = false
await axios.get(`https://api.mojang.com/users/profiles/minecraft/${name}`).then( res => {
if(res.data.id && res.data.id === uuidParsed) isMatching = true
... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports... |
/*\
title: $:/core/modules/storyviews/pop.js
type: application/javascript
module-type: storyview
Animates list insertions and removals
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var PopStoryView = function(listWidget) {
this.listWidget = listWidget;
};
PopStoryView... |
var moment = require("../../moment");
/**************************************************
Portuguese
*************************************************/
exports["lang:pt"] = {
"parse" : function(test) {
test.expect(96);
moment.lang('pt');
var tests = 'Janeiro Jan_Fevereiro F... |
import BlogList from "./BlogList";
import useFetch from "./UseFetch";
const Home = () => {
const {
data: blogs,
isPending,
error,
} = useFetch("http://localhost:8000/blogs");
return (
<div className="Home">
{error && <div>{error}</div>}
{isPending && <div>Loading...</div>}
{blog... |
// Copyright © 2019 The Things Network Foundation, The Things Industries B.V.
//
// 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
//
// Un... |
export * from './fake-backend';
export * from './fetch-wrapper';
export * from './history';
export * from './role'; |
import { apiFetchDimensions } from '@dhis2/analytics'
import keyBy from 'lodash-es/keyBy'
import sortBy from 'lodash-es/sortBy'
import { SET_DIMENSIONS } from '../reducers/dimensions.js'
import { sGetSettingsDisplayNameProperty } from '../reducers/settings.js'
export const acSetDimensions = (dimensions) => ({
type... |
define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
var Controller = {
index: function () {
// 初始化表格参数配置
Table.api.init({
extend: {
index_url: 'cesiummapv/modelist/index' + location.search,
... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("circle", {
cx: "7",
cy: "7",
r: "2"
}, "0"), /*#__PURE__*/_jsx("path", {
d: "M20 13V4.83C20 3.27 18.73 2 17.17 2c-.75 0-1.47.3-2 .83l-1.25 1.25c-.16-.05-.33-.08-.5... |
import CalendarLocale from '../../vc-calendar/src/locale/pt_BR';
import TimePickerLocale from '../../time-picker/locale/pt_BR';
// Merge into a locale object
const locale = {
lang: {
placeholder: 'Selecionar data',
rangePlaceholder: ['Data de início', 'Data de fim'],
...CalendarLocale,
},
timePickerL... |
var inquirer = require("inquirer");
var connection = require('./connection');
const viewOptions = [
"View Departments",
"View Roles",
"View Employees",
"Update Employee",
"exit"
];
const employeeOptions = [
"Alice Wonderland",
"Shoe Black",
"Phone Macbook",
"Bruce Springstein",
... |
var group__nemo__cores =
[
[ "INeuroCoreBase", "group__nemo__cores.html#struct_i_neuro_core_base", [
[ "INeuroCoreBase", "group__nemo__cores.html#acdfa59b4e8f55714a1e7ebba5dbc56ba", null ],
[ "core_commit", "group__nemo__cores.html#ab6c8a50ee1c0f96c6bb1ff9065639a85", null ],
[ "core_finish", "grou... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { isPromise } from '../src/facade/lang';
import { Inject, Injectable, OpaqueToken, Optional } from './di';
/**... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.