text stringlengths 2 1.04M |
|---|
'use strict';
const input_correo = document.querySelector('#correo');
const input_codigov = document.querySelector('#codigo');
const input_btn_verificar = document.querySelector('#btn_verificar');
// function obtener_datos
let obtener_datos = () => {
let correo = input_correo.value;
let codigov = input_codigo... |
/**
* Written by Neil Crosby.
* http://www.workingwith.me.uk/articles/scripting/standardista_table_sorting
*
* This module is based on Stuart Langridge's "sorttable" code. Specifically,
* the determineSortFunction, sortCaseInsensitive, sortDate, sortNumeric, and
* sortCurrency functions are heavily based on hi... |
var searchData=
[
['lazycoordinatedescent',['LazyCoordinateDescent',['../classfoxfire_1_1_lazy_coordinate_descent.html',1,'foxfire']]],
['logscalevector',['LogScaleVector',['../generics_8hpp.html#ad3eafab12f8cbb7b895b0c144a1d65c7',1,'foxfire']]]
]; |
if("ResizeObserver"in self)for(var element,ro=new ResizeObserver(function(e){var t={LG:1200,MD:992,SM:768,XS:1};e.forEach(function(e){var r=e.target.dataset.breakpoints?JSON.parse(e.target.dataset.breakpoints):t;Object.keys(r).forEach(function(t){console.log("remove"+t),e.target.classList.remove(t)}),Object.keys(r).eve... |
"use strict";
$(document).ready(function() {
function sendAjax(action, data) {
$.ajax({
cache: false,
type: "POST",
url: action,
data: data,
dataType: "json",
success: function(result, status, xhr) {
if(result.redirect != nul... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[185],{260:function(n,e,t){"use strict";function a(n){n.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,inside:{... |
var RelativeElement = require('./abc_relative_element');
var spacing = require('./abc_spacing');
var addChord;
(function () {
"use strict";
addChord = function (getTextSize, abselem, elem, roomTaken, roomTakenRight) {
for (var i = 0; i < elem.chord.length; i++) {
var chord = elem.chord[i];
var x = 0;
var... |
// *****************************************************************************
//
// Copyright (c) 2020, Southwest Research Institute® (SwRI®)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:... |
import React from 'react';
import { Link } from 'react-router';
class MediaView extends React.Component {
render() {
return (
<div class="single-photo">
<h1>
<Link to="/">picsame</Link>
</h1>
</div>
)
}
}
export default MediaView; |
"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
_Object$defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _react = _int... |
import { ACTIONS } from 'Actions/orders'
export default (state = [], action) => {
switch (action.type) {
case ACTIONS.GET_ALL_ORDERS:
return action.payload.orders
case ACTIONS.GET_ALL_ORDERS_FAILED:
return {
...state,
message: action.payload.message
}
default:
retu... |
/* */
var $ = require('./$'),
document = $.g.document,
isObject = $.isObject,
is = isObject(document) && isObject(document.createElement);
module.exports = function(it) {
return is ? document.createElement(it) : {};
}; |
define(function(){return {"AM":"上午","PM":"下午","\/":"\/",":":":","days":{"names":["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],"namesAbbr":["週日","週一","週二","週三","週四","週五","週六"],"namesShort":["日","一","二","三","四","五","六"]},"months":{"names":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],"namesAbbr":["一月",... |
/**
* Artificial Intelligence for Reversi
* https://github.com/endel/jquery.reversi.ai.js
*
* Copyright (c) 2011 Endel Dreyer
*/
// Paste here your knoweledge base
(function($) {
$.reversi.ai.reinforcementLearning = { rewards: { 'white': {}, 'black': {} } };
})(jQuery); |
/*
* Bug 486490 - Fennec browser-chrome tests to verify correct implementation of chrome
* code in mobile/chrome/content in terms of integration with Places
* component, specifically for bookmark management.
*/
var testURL_01 = chromeRoot + "browser_blank_01.html";
var testURL_02 = chrome... |
/// <reference path="../../node_modules/@types/jquery/index.d.ts" />
// ↑ jQueryを使う場合パスを通す
'use strict';
/* common */
var Hello = /** @class */ (function () {
function Hello() {
this.holder = document.getElementById('hello');
this.int();
}
Hello.prototype.int = function () {
this.wri... |
/**
* Spinner component.
*
* Site Kit by Google, Copyright 2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* U... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[178],{419:function(e,a,n){"use strict";n.r(a);var o=n(3),w=n(2),r=n(5),i=n(41);new o.a({target:"map",layers:[new r.a({source:new i.a({key:"As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5",imagerySet:"Aerial"})})],view:new w.a({center:[-13553864,59182... |
import './Element.scss';
import PropTypes from 'prop-types';
import React from 'react';
const Element = ({
Tag,
children,
className,
flex,
dirColumn,
spaceAround,
spaceBetween,
centered,
autoMargin,
autoBottomMargin,
horizontalHalf,
flexStart,
noWrap,
centeredInDesktop,
relative,
...pr... |
conn = new Mongo();
db = conn.getDB("cloud");
db.instances.drop();
db.instances.save({name:"name1", id:"id1", itype:"type1", state:"state1", az: "az1", publicIP: "1.2.3.4", privateIP:"4.3.2.1"})
db.instances.save({name:"name2", id:"id2", itype:"type2", state:"state2", az: "az2", publicIP: "2.2.3.4", privateIP:"4.3.2... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... |
// const mysql = require('mysql');
// var data;
// const connection = mysql.createConnection({
// host: 'localhost',
// user: 'root',
// password: 'password',
// database: 'dorm_database'
// });
// connection.query("SELECT * FROM rule WHERE label = 'all' or label = ?", ['dien'], (err, rows) => {
// ... |
export default {
name: 'tr',
weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
weekStart: 1,
formats: {
LT: 'HH:mm',
LTS: 'HH:mm:ss',
L: 'DD.MM.YYYY',
... |
import styled from 'styled-components';
import { A } from '../Theme';
// eslint-disable-next-line import/prefer-default-export
export const Section = styled.section`
padding: 10px 15px;
padding-bottom: 20px;
> h1 {
margin-top: 0;
}
> p {
font-size: 17px;
}
`;
export { A }; |
var game = window.game;
var cursors;
var keys;
var sprite = 0;
var iter = 0;
var speed = 200;
var player = {};
var projectile = require("projectileFactory")
var init_char = require("character")
var particles = require("particles")
var shapes = require("shapes");
var meleeCooldown = false;
var meleeCooldownTime = 20... |
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue');
/**
* The following block of code may be ... |
var browserSync = require("../../../../");
var testUtils = require("../../../protractor/utils");
var Immutable = require("immutable");
var request = require("supertest");
describe.skip("E2E proxy test with custom cookies options passed to foxy", function() {
this.timeout(15000);
var bs, app;
before(funct... |
import React from "react";
import PropTypes from "prop-types";
import { Group as MantineGroup } from "@mantine/core";
import { omit } from "ramda";
/**
* Compose elements and components in flex container. For more information, see: https://mantine.dev/core/group/
*/
const Group = (props) => {
const { children, c... |
import React from 'react';
export default function HTML(props) {
return (
<html {...props.htmlAttributes}>
<head>
<meta charSet="utf-8" />
<meta httpEquiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
... |
/**
* Copyright 2015, Yahoo! Inc.
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
import globalVars from './globalVars';
var removers = globalVars.removers;
/**
* Unsubscribe to UI events.
* @method unsubscribe
* @param {String} type - The type of event.
* @par... |
import {ClipTask, ClipMethod} from "./defines";
import {Box3Helper} from "./utils/Box3Helper";
export function updatePointClouds(pointclouds, camera, renderer){
for (let pointcloud of pointclouds) {
let start = performance.now();
for (let profileRequest of pointcloud.profileRequests) {
profileRequest.update(... |
var Backbone = require('backbone');
var Trait = require('./Trait');
var TraitFactory = require('./TraitFactory');
module.exports = Backbone.Collection.extend({
model: Trait,
setTarget(target) {
this.target = target;
},
add(models, opt) {
// Use TraitFactory if necessary
if(typeof models === 'str... |
const mongoose = require("mongoose");
const Deck = require("../server/models/Deck");
const Card = require("../server/models/Card");
const config = require("../config/index");
mongoose.set("useFindAndModify", false);
require("../database/index")();
const getDeckFromRecord = record => ({
airtableId: record.id,
na... |
/**
* @author TristanVALCKE / https://github.com/Itee
* @author Anonymous
*/
/* global QUnit */
import {
TetrahedronGeometry,
TetrahedronBufferGeometry
} from '../../../../src/geometries/TetrahedronGeometry';
export default QUnit.module( 'Geometries', () => {
QUnit.module.todo( 'TetrahedronGeometry', ( hooks )... |
var class_p_h_p_unit___runner___base_test_runner =
[
[ "clearStatus", "class_p_h_p_unit___runner___base_test_runner.html#a12113684dc8266d3a43668f1266ff890", null ],
[ "getLoader", "class_p_h_p_unit___runner___base_test_runner.html#a461527c1de39a5520c52951b8f03d99f", null ],
[ "getTest", "class_p_h_p_unit___... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StorefrontAccessToken = void 0;
var tslib_1 = require("tslib");
var base_rest_resource_1 = tslib_1.__importDefault(require("../../base-rest-resource"));
var base_types_1 = require("../../base-types");
var StorefrontAccessToken = /** @c... |
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_Home_vue"],{
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/... |
import 'veui-theme-one-icons/upload'
import 'veui-theme-one-icons/times'
import 'veui-theme-one-icons/check'
import 'veui-theme-one-icons/paperclip'
import 'veui-theme-one-icons/sync-alt'
import 'veui-theme-one-icons/plus'
import 'veui-theme-one-icons/exclamation-circle'
import config from 'veui/managers/config'
confi... |
import React from "react";
// import Test from "./components/ObjDetect/src/App";
import AppGraph from "./components/Graphs/Graph"
function Visual(){
return(
<div>
{/* <Test/> */}
<AppGraph />
</div>
)
}
export default Visual; |
#!/usr/bin/env node
const boltComplete = require('./complete');
boltComplete.start(); |
/*
Face-API
homepage: <https://github.com/vladmandic/face-api>
author: <https://github.com/vladmandic>'
*/
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.g... |
define(["dojo/_base/lang", "dojo/_base/declare", "dojo/sniff", "dojo/_base/window", "dojo/_base/config",
"dojo/dom-attr", "dojo/topic", "dojo/dom-style", "../utils/constraints", "../Controller"],
function(lang, declare, has, win, config, domAttr, topic, domStyle, constraints, Controller){
// module:
// dojox/app/c... |
const Discord = require('discord.js');
module.exports = {
name: 'kick',
aliases: ['추방', '킥'],
description: '멤버를 추방해요.',
usage: 'u!kick <유저 멘션> [추방 이유]',
permission: '서버 관리하기',
run: async (client, message, args, ops) => {
if (!message.member.hasPermission('KICK_MEMBERS')) return message.c... |
// This file was procedurally generated from the following sources:
// - src/dstr-assignment/array-rest-nested-array-yield-ident-invalid.case
// - src/dstr-assignment/syntax/for-of.template
/*---
description: When a `yield` token appears within the DestructuringAssignmentTarget of a nested destructuring assignment and ... |
"use strict";
var EntityFactory = require('./EntityFactory');
/**
* @class binding.DeviceFactory
* @extends binding.EntityFactory<model.Device>
*
* @param {Object=} properties initial properties to set on the instance
* @param {...*} arguments Additional constructor params passed through the type constructor
* ... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import typeof * as FeatureFlagsType from 'shared/ReactFeatureFlags';
import typeof * as ExportsType from './ReactFeatu... |
'use strict';
const path = require('path');
const projectDir = path.resolve(__dirname, '../../../../..');
module.exports = {
extends: path.resolve(projectDir, '.eslintrc.js'),
rules: {
'import/no-extraneous-dependencies': [
'error',
{
packageDir: [
projectDir,
path.res... |
function openMenu (){
var select = document.getElementById("mainMenu");
if (select.className === "superNav") {
select.className += " mobile"; /* superNav.mobile */
} else {
select.className = "superNav";
}
} |
import axios from 'axios';
const api = axios;
export const reducer = (state, action) => {
const store = {
setPosts() {
return { posts: action.data }
}
}
return (
(action && action.type && store[action.type] && store[action.type]()) ||
state
);
}; |
import React from "react";
import {
ScrollView,
View,
TouchableWithoutFeedback,
Keyboard,
TouchableOpacity,
FlatList,
} from "react-native";
import { TextInput, Button, Card, Title, List, Text } from "react-native-paper";
import Colors from "../../../../globals/colors";
import Styles from "../../../../style... |
/**
* Loading Directive
* @see http://tobiasahlin.com/spinkit/
*/
angular
.module('KMS')
.directive('rdLoading', rdLoading);
function rdLoading() {
var directive = {
restrict: 'AE',
template: '<div class="loading"><div class="double-bounce1"></div><div class="double-bounce2"></div></div>'
};
return direct... |
var table;
$(function () {
table = $('#data_list').DataTable({
"ajax": {
"url": "/libsystem/admin/borrow/list.php",
"type": "POST",
"cache": false,
"data": function (d) {
return {
"sno": $("#borrow_sno").val(),
... |
const appFiles = [
'',
'package.json',
'app.js',
'.sequelizerc',
'routes',
'routes/index.js',
'database',
'controllers',
'controllers/resourceController.js',
'database/config',
'database/config/config.json',
'database/migrations',
'database/migrations/.keep',
'database/seeders',
'database/... |
// Peter de Jong
// lynntf January 2020
// based on code by j.tarbell, complexification.net
max_iters = 200;
startup = 5;
xmin = -2.5;
xmax = 2.5;
ymin = -2.5;
ymax = 2.5;
maxnum = 4000;
maxexposures = 10000000;
num = 0;
exposures = 0;
min_dim = 500;
shift_x = 0;
shift_y = 0;
m = 0;
q = 0;
let travelers = [];
funct... |
import React from 'react';
import './style.css';
import Menu from './components/Menu';
import ImageSlider from './components/ImageSlider';
import Banners from './components/Banners';
import Footer from './components/Footer';
export default function App() {
return (
<div className="page-container">
<Menu />... |
(function(){
'use strict';
angular.module('app.libros.list', [
'app.libros.list.controller',
'app.libros.list.directive'
]);
})(); |
import produce from 'immer'
import constants from '../constants/job'
const initialState = {
job: {},
ui: {
saving: false,
doneSaving: false,
saveError: '',
fetching: false,
doneFetching: false,
fetchError: ''
}
}
export default produce((draft, action) => {
switch (action.type) {
c... |
var file = process.argv[2]
var fs = require('fs')
fs.readFile(file, 'utf8', function(error, text){
if (!error) {
//var text = buf.toString()
var arrayLines = text.split('\n')
console.log(arrayLines.length - 1)
}
}) |
/*!
* jCarousel - Riding carousels with jQuery
* http://sorgalla.com/jcarousel/
*
* Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Built on top... |
import filterReducer from 'material-ui-filter/lib/store/reducer'
import firekitReducers from 'firekit'
import { reducer as formReducer } from 'redux-form'
export const appReducers = {
...firekitReducers,
form: formReducer,
filterReducer,
}
export default appReducers |
'use strict';
const should = require('should');
const mockrequire = require('mock-require');
const {
PluginImplementationError,
} = require('../../../index');
const KuzzleMock = require('../../mocks/kuzzle.mock');
const AbstractManifest = require('../../../lib/core/shared/abstractManifest');
class AbstractManifes... |
const { execCmd } = require("../../../dist/utils/runGitCommand/execCmd");
test();
async function test() {
console.log(await execCmd("git --version"));
try {
console.log(await execCmd("iDontExist"));
} catch (err) {
console.log(err);
}
} |
var NAVTREEINDEX1 =
{
"file__neighbor__model_8h_source.html":[4,0,5],
"files.html":[4,0],
"ftp__files__model_8h_source.html":[4,0,6],
"functions.html":[3,3,0],
"functions_func.html":[3,3,1],
"g3__log__format_8h_source.html":[4,0,7],
"g3__log__item_8h_source.html":[4,0,8],
"hierarchy.html":[3,2],
"index.html":[],
"log__... |
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... |
/*
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/license
*/ |
var Class = require('../../ext/Class');
var TableServiceNodeLabels = require('./TableServiceNodeLabels');
var TableServiceUtils = require('../TableServiceUtils');
/***
* A table service, that decorates the schema of the underlying table service
* with column headings based on the corresponding facet path
*/
var Tab... |
/* workbox.config.js */
module.exports = {
// キャッシュ保持の対象となるディレクトリ
"globDirectory": "build/",
// キャッシュするファイル
"globPatterns": [
"**/*.{js,json,css,jpg,png,html,txt,ico}"
],
// serviceWorkerの場所
"swDest": "build/sw.js",
// ラインタイムキャッシュ
"runtimeCaching": [
{
urlPattern: /^https:\/\/docs\.opencv\.org\/*\/open... |
import * as client from "middleware/ln/client";
import fs from "fs";
import * as pb from "middleware/ln/rpc_pb";
import * as wupb from "middleware/ln/walletunlocker_pb";
import { strHashToRaw } from "helpers/byteActions";
import { ipcRenderer } from "electron";
export const getLightningClient = client.getLightningClie... |
#!/usr/bin/env node
(function(e, a) { for(var i in a) e[i] = a[i]; if(a.__esModule) Object.defineProperty(e, "__esModule", { value: true }); }(exports,
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ 591559:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
module... |
import React, { useEffect, useState } from 'react'
import Footer from './Footer/Footer'
import Navbar from './Navbar/Navbar'
import SEO from './SEO/SEO'
import CookieBanner from './CookieBanner/CookieBanner'
import './all.sass'
const addDeviceClass = () => {
if (typeof window === 'undefined' || !window.document) {
... |
'use strict';
const path = require('path');
const fs = require('fs');
const moduleFileExtensions = [
'mjs',
'js',
'ts',
'tsx',
'jsx',
];
// Resolve file paths in the same order as webpack
const resolveModule = (resolveFn, filePath) => {
const extension = moduleFileExtensions.find(extension =>
fs.exis... |
/**
* 每个数据属性都有一个Dep类的实例,谁(watcher实例)使用到了这个数据 就将 谁 添加进来
*/
export default class Dep {
constructor() {
this.subs = [];
}
addSub(sub) {
this.subs.push(sub);
}
removeSub(sub) {
remove(this.subs, sub);
}
depend() {
if(window.target) {
this.addSub(... |
'use strict';
// import matey
const Matey = require('../lib');
global.matey = new Matey();
// import jsdom-worker to mock Worker object which doesn't work by default in Jest/jsdom
require('jsdom-worker-fix');
// createObjectURL isn't available in Jest by default, so has to be mocked too
global.URL.createObjectURL = ... |
'use strict'
process.env.BABEL_ENV = 'web'
const path = require('path')
const webpack = require('webpack')
const BabiliWebpackPlugin = require('babili-webpack-plugin')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const HtmlWebpackPlugin = re... |
/**
* rubico v1.8.11
* https://github.com/a-synchronous/rubico
* (c) 2019-2021 Richard Tong
* rubico may be freely distributed under the MIT license.
*/
!function(n,t){"object"==typeof module?module.exports=t:"function"==typeof define?define((()=>t)):n.assign=t}("object"==typeof globalThis?globalThis:this,functio... |
jQuery.extend({
createUploadIframe: function(id, uri)
{
//create frame
var frameId = 'jUploadFrame' + id;
if(window.ActiveXObject) {
var io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />');
if(typeof uri== 'boolean'){
... |
import React from "react"
import { graphql, StaticQuery, Link } from "gatsby"
// import styled from "styled-components"
import Img from "gatsby-image"
import styled from "styled-components"
import Layout from "../components/workLayout"
import SEO from "../components/seo"
import "../utils/normalize.css"
import "../uti... |
(function () {
"use strict";
var App = function () {
var o = this;
this._ready(function () {
o.initialize();
});
};
var p = App.prototype;
p.isProd = false;
p.isMobile = false;
p.screen = {
laptop: 1365,
tablet: 991,
ipad: 767,
... |
module.exports = (sequelize, DataTypes) => {
const Enemy = sequelize.define('Enemy', {
id: {
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true,
autoIncrement: true
},
name: {
type: DataTypes.STRING,
allowNull: false
},
health: {
type: DataTypes.INTEGER,
... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../shared_vars_css.m.js';
import {dom, html, PolymerElement} from '//resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {assert} fro... |
const userCertGenerator = require('aws-sap-user-cert-generator')
exports.handler = async (event, context) => {
var config = {}
config.DDBForCerts = process.env.DDB_FOR_CERTS
config.certPassSecret = process.env.CERT_PASS_SECRET
if (event.forceCreate) {
config.forceCreate = true
}else{
... |
"use strict";
/**
* Validates information entered by user
* @param {int} id The id of the material.
* @param {string} description The description of the description
* @param {string} siaCode The code of the material in SIA
* @param {string} cutRiteCode The code of the material in CutRite
* @param {string} thickn... |
//=============================================================================
// MoveSpeedChangeByRegion.js
// ----------------------------------------------------------------------------
// (C)2015-2018 Triacontane
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
... |
import React, { Component } from 'react';
import { FlatList, View } from 'react-native';
import { connectStyle } from 'native-base-shoutem-theme';
import mapPropsToStyleNames from '../utils/mapPropsToStyleNames';
class List extends Component {
render() {
const { dataArray } = this.props;
if (dataArray) {
... |
import React, { useEffect } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import List from '@material-ui/core/List';
import ListItem from '@material-ui/core/ListItem';
import ListItemText from '@material-ui/core/ListItemText';
import { Grid, Card } from '@material-ui/core';
import Divider from '@... |
'use strict';
let angular = require('angular');
module.exports = angular.module('spinnaker.azure.serverGroup.configure.deployInitialization.controller', [
require('../../../../core/serverGroup/serverGroup.read.service.js'),
require('../../../../core/utils/lodash.js'),
require('../serverGroupCommandBuilder.servi... |
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
'use strict'
const common = require('./collection-common')
const mongoPackage = require('mongodb/package.json')
const semver = require('semver')
function verifyAggregateData(t, data) {
t.equal(data.length, 3... |
modules.define('players-list', ['i-bem__dom', 'player', 'game'], function(provide, BEMDOM, Player, Game) {
provide(BEMDOM.decl(this.name, {
onSetMod : {
'js' : {
'inited' : function() {
this._players = null;
}
}
},
_getPlayers : function() {
... |
var url = require('url');
module.exports = function (u, total, limit, offset, qry) {
qry = qry || {};
qry.limit = limit;
qry.offset = offset + limit;
if (qry.offset < total) {
// Removed undefined values
for (var i in qry) {
if (typeof qry[i] === 'undefined' || qry[i] === null) {
delete qry[i];
}
... |
import {EventEmitter} from 'events';
import dispatcher from '../dispatcher';
import petActions from '../actions/PetActions';
import PetData from '../data/PetData';
class PetStore extends EventEmitter{
handleAction (action) {
switch (action.type){
case petActions.types.CREATE_PET : {
this.create(... |
import React from 'react';
import Counter from './Counter';
const CountIntersectionObserver = () => {
return (
<div className="countdown">
<div className="count">
<Counter target={3} title='Resorts' duration={3} />
</div>
<div className="count">
... |
import React from 'react'
import { StyleSheet } from 'react-native';
const Style = StyleSheet.create({
Header : {
backgroundColor: "#009AED",
height: 120,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
borderBottomLeftRadius: 15,
border... |
const test = require('tape')
const createRegistry = require('../dist/lib/registry').default
const config = require('../dist/config').default
test('Error event from couchwatch should not exit process', (t) => {
t.plan(1)
const registry = createRegistry({ npmConfig: config.npm })
registry.watcher.init = () => {}
... |
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_components_products_list_vue"],{
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/products/list.vue?vue&type=script&lang=js&":... |
const fs = require('fs')
const { multiplicar } = require('../math/multiply')
let createDir = (path) => {
return new Promise((resolve, reject) => {
fs.exists('tablas/', (exists)=>{
if(!exists){
fs.mkdir('tablas/', (err) => {
if(err) return reject(err)
... |
import React from 'react';
import classes from './Conditions.module.css'
const conditions = (props) => {
return (
<div className={classes.Wrapper}>
{props.error && <small className={classes.Small}>Please enter a valid city.</small>}
{props.loading && <div className={classes.Loader... |
module.exports = {
parser: 'sanipack/babel/eslint-parser',
extends: ['sanity', 'sanity/react', 'prettier'],
ignorePatterns: ['lib/**/'],
} |
const Blockly = require ("blockly");
Blockly.Blocks['op_greatherthan'] = {
init: function() {
this.appendDummyInput()
.appendField(">");
this.setOutput(true, "Operator");
this.setColour(210);
this.setTooltip("");
this.setHelpUrl("");
}
};
Blockly.Blocks['op_greatherorequal'] = {
init: func... |
/**
* Copyright 2018 The WPT Dashboard Project. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
import '../node_modules/@polymer/polymer/polymer-element.js';
const $_documentContainer = document.createElement('template');
$_documentCont... |
/* eslint-disable react/no-multi-comp */
import React from 'react';
import { mount } from 'enzyme';
import Table from '..';
import Input from '../../input';
import Tooltip from '../../tooltip';
import Button from '../../button';
import Select from '../../select';
import ConfigProvider from '../../config-provider';
// ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.