text stringlengths 2 1.04M |
|---|
import React from "react"
import "./style.scss"
const ToggleButton = props => {
return (
<button
className="toggle-button"
onClick={props.onClick}
data-testid="toggle-button"
>
<div className="toggle-button-line" />
<div className="toggle-button-line" />
<div className="t... |
import React, { Component } from "react";
import PropTypes from "prop-types";
import { connect } from "react-redux";
import { analytics, validators } from "additional";
import { appOperations } from "modules/app";
import ErrorFieldTooltip from "components/ui/error_field_tooltip";
import { info } from "modules/notificat... |
goog.provide('os.ui.timeline.BaseItem');
goog.require('goog.events.EventTarget');
goog.require('os.ui.timeline.ITimelineItem');
/**
* Base timeline item
* @abstract
* @constructor
* @extends {goog.events.EventTarget}
* @implements {os.ui.timeline.ITimelineItem}
*/
os.ui.timeline.BaseItem = function() {
os.ui... |
'use babel';
import { CompositeDisposable } from 'atom';
import { View } from 'atom-space-pen-views';
import nomnoml from 'nomnoml';
class NomnomlPreviewView extends View {
static content () {
this.div({outlet: 'container', style: 'background-color: #fdf6e3;'}, () => {
this.div({outlet: 'canvas', id: 'ca... |
import styled, { css } from 'styled-components';
const Select = styled.select`
line-height: 1em;
background-color: ${props =>
props.inverse ? props.theme.colors['dark-3'] : 'transparent'};
border-style: none;
${props =>
props.inverse
? css`
color: ${props.theme.colors.white};
`
... |
const jwt = require("jsonwebtoken");
module.exports = function (req, res, next) {
const token = req.header("x-bearer-token");
if (!token)
return res.status(401).send("access denied. no token was provided.");
try {
const payload = jwt.verify(token, process.env.JWT_SECRET, {
issuer: [process.env.JWT... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("codesnippet","tr",{button:"Kod parçacığı ekle",codeContents:"Kod",emptySnippetError:"Kod parçacığı boş bırakılamaz",language:"Dil",title:"Kod pa... |
const express = require('express');
const server = express()
server.get('/', (req, res)=> {
res.send("<h1>Hello, world</h1>");
});
const PORT = 8000;
server.listen(PORT, ()=> console.log(`server running on port ${PORT}`)) |
import rootReducer from '../../../js/redux/OrderReducers'
import * as Actions from '../../../js/redux/OrderActions'
import * as ActionTypes from '../../../js/constants/OrderActionTypes'
import expect from 'expect'
describe('OrderReducers', () => {
// Initial state
it('should return the initial state', () => {
exp... |
"no use strict";
!(function(window) {
if (typeof window.window != "undefined" && window.document)
return;
if (window.require && window.define)
return;
if (!window.console) {
window.console = function() {
var msgs = Array.prototype.slice.call(arguments, 0);
postMessage({type: "log", data: ms... |
/* eslint-disable no-multi-spaces */
// Extensions
import { Service } from '../service'; // Utilities
import * as ThemeUtils from './utils';
import { getNestedValue } from '../../util/helpers'; // Types
import Vue from 'vue';
export class Theme extends Service {
constructor(preset) {
super();
this.disabled ... |
const optionsPegawai = [
{
value: "1",
label: "Nova Dwi Sapta",
},
{
value: "2",
label: "Purwanto",
},
{
value: "3",
label: "Muhammad Asep",
},
];
export default optionsPegawai; |
// ##############################
// // // javascript library for creating charts
// #############################
var Chartist = require("chartist");
// ##############################
// // // variables used to create animation on charts
// #############################
var delays = 80,
durations = 500;
var delays2... |
const { resolve } = require('path')
module.exports = {
rootDir: resolve(__dirname, '..'),
buildDir: resolve(__dirname, '.nuxt'),
srcDir: __dirname,
render: {
resourceHints: false
},
css: [
'~/assets/styles/default.scss'
],
build: {
extractCSS: true
},
modules: [
['nuxt-i18n', {
... |
import * as Util from './util';
const docStyle = window.document.documentElement.style;
function testProp(props) {
if (!docStyle) return props[0];
for (let i = 0; i < props.length; i++) {
if (props[i] in docStyle) {
return props[i];
}
}
return props[0];
}
export function create(tagName, className,... |
import React from 'react';
import IconButton from 'material-ui/IconButton';
import Clear from 'material-ui/svg-icons/content/clear';
import './RemoveButton.scss';
const RemoveButton = ({removePlayer, position}) => (
<div className="remove-btn"
onClick={() => removePlayer(position)}
>
... |
import { useMemo } from 'react'
import { area, stack as d3Stack } from 'd3-shape'
import { scaleLinear, scalePoint } from 'd3-scale'
import {
curveFromProp,
useTheme,
stackOrderFromProp,
stackOffsetFromProp,
useValueFormatter,
} from '@banzaicloud/nivo-core'
import { useInheritedColor, useOrdinalCol... |
/* eslint-disable jsx-a11y/alt-text */
/* eslint-disable jsx-a11y/anchor-is-valid */
import React from "react";
import SVG from "react-inlinesvg";
import { toAbsoluteUrl } from "../../../../_helpers";
export function QuickSearch() {
return (
<>
{/* begin::Search Panel */}
<div id="kt_quick_search" cl... |
const omit = require('lodash/omit')
/**
* clear config properties that shouldn't be visible on frontend
*/
module.exports = function loader(source) {
let config = JSON.parse(source);
const purgeConfig = (config.purgeConfig || []).slice()
config = omit(config, purgeConfig)
delete config['purgeConfig']
r... |
const fetch = require(`node-fetch`)
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
title: 'PostHog',
titleTemplate: '%s',
description:
'Open-source product analytics built for developers. Automate the collection of eve... |
exports.config = {
bundles: [
{ components: ['gis-viewer', 'map-container', 'toolbar-comp'] },
// { components: ['dev-component', 'gis-viewer'] },
],
collections: [
{ name: '@stencil/router' }
],
serviceWorker: {
globPatterns: [
'**/*.{js,css,json,html,ico,png,jpg,jpeg}'
]
}
};
e... |
// Auto-generated. Do not edit!
// (in-package novice_tutorials.srv)
"use strict";
const _serializer = _ros_msg_utils.Serialize;
const _arraySerializer = _serializer.Array;
const _deserializer = _ros_msg_utils.Deserialize;
const _arrayDeserializer = _deserializer.Array;
const _finder = _ros_msg_utils.Find;
const _g... |
const fs = require('fs');
const path = require('path');
const exec = require('child_process').execSync;
let packages = JSON.parse(
exec(
`${path.join(__dirname, '..', 'node_modules', '.bin', 'lerna')} ls --json`,
),
);
let packageVersions = new Map(packages.map(pkg => [pkg.name, pkg.version]));
let configsDir... |
Router.route('/admin', {
name: 'admin',
}, function () {
this.render('admin');
SEO.set({ title: Meteor.App.NAME });
});
Router.route('/about', {
name: 'about'
}, function () {
SEO.set({ title: Meteor.App.NAME });
});
Router.route('/projects/:_id', {
name: 'projectDetails',
data: function() {
return ... |
/* @flow */
import React from 'react';
import {
Platform,
ScrollView,
StyleSheet,
TouchableOpacity,
Text,
View,
} from 'react-native';
import { StackNavigator } from 'react-navigation';
import Banner from './Banner';
import CustomTabs from './CustomTabs';
import Drawer from './Drawer';
import ModalStack ... |
/**
* gitlogin <https://github.com/tunnckoCore/gitlogin>
*
* Copyright (c) 2014 Charlike Mike Reagent, contributors.
* Released under the MIT license.
*/
'use strict';
var gitlogin = require('./index');
gitlogin()
.then(console.log)
.catch(console.error) |
var Alloy = require('/alloy'),
Backbone = Alloy.Backbone,
_ = Alloy._;
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
}
return arg;
}
function Controller() {
require('/alloy/controllers/' + 'BaseController').apply(this, Array.prototype.slice.call(arguments));
... |
export const RECORD_FORM = 'RECORD_FORM'; |
/**
* @license
* Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris)
*
* This sofware is provided under multiple licenses. Please see below for
* links to appropriate usage.
*
* Free amCharts linkware license. Details and conditions:
* https://github.com/amcharts/amcharts4/blob/master/LICENSE
*... |
import React from "react"
import Layout from "../components/Layout"
import { Link } from "gatsby"
import SEO from "../components/SEO"
const Error = () => {
return <Layout>
<main className="error-page">
<div className="error-container">
<h1>oops it's a dead end</h1>
<Link to="/home" className="btn... |
'use strict';
var my_news = [
{
author: 'Саша Печкин',
text: 'В четчерг, четвертого числа...',
bigText: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur, nisi!'
},
{
author: 'Вася Пупкин',
text: 'Считаю, что $ должен стоить 35 рублей!',
bigText: 'Lorem ipsum dolor sit amet, consect... |
export {default as UserRowDisplay} from './assoc_row/row_display/user_row_display'
export {default as AppRowDisplay} from './assoc_row/row_display/app_row_display'
export {default as ServerRowDisplay} from './assoc_row/row_display/server_row_display'
export {default as LocalKeyRowDisplay} from './assoc_row/row_display/... |
var config = require('./test-config.js')
var request = require('request')
var from = require('from')
var test = require('tape')
var fs = require('fs')
var bl = require('bl')
var s3 = require('./')
var testKey = 'testing-s3-write-stream'
var largeUploadSize = 20*1024*1024
var loremBuffer = new Buffer([
'Lorem ipsum... |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { Health... |
// Copyright 2015 The Oppia Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... |
// 入口文件
import Vue from 'vue'
import app from'./App.vue'
// 我这个版本,发现局部引用,如果不全局引用import 'mint-ui/lib/style.css',
// 会造成局部引用没有样式的情况,解决办法就是全局引用一下样式。
// 如果有遇到跟我一样问题的朋友,这样做就可以。不用引入文档中说的.babelrc的配置
// 导入MUI的样式
import './lib/mui/css/mui.min.css'
import '../src/lib/mui/css/icons-extra.css'
import VueRouter from 'vue-router'
... |
/*!
* Copyright 2015 Drifty Co.
* http://drifty.com/
*
* Ionic, v1.3.1-nightly-4219
* A powerful HTML5 mobile app framework.
* http://ionicframework.com/
*
* By @maxlynch, @benjsperry, @adamdbradley <3
*
* Licensed under the MIT license. Please see LICENSE for more information.
*
*/
|
const be = require('bejs');
const Model = require('..');
describe('valify-return-immutable', function () {
before('reset locale', function () {
Model.setLocale(require('../src/locale'));
});
it('should be different', function (done) {
const userModel = new Model({
firstName: ... |
describe("", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("build/docs/examples/example-example29/index-jquery.html");
});
it('should freeze binding after its value has stabilized', function() {
var oneTimeBiding = element(by.id('one-time-binding-example'));
... |
/**
* Generated by Apache Royale Compiler from org/apache/royale/core/IStyleObject.as
* org.apache.royale.core.IStyleObject
*
* @fileoverview
*
* @suppress {missingRequire|checkTypes|accessControls}
*/
goog.provide('org.apache.royale.core.IStyleObject');
/* Royale Dependency List: org.apache.royale.core.IStylea... |
import { LitElement, html } from 'lit-element';
import { hasConfigOrEntityChanged, fireEvent } from 'custom-card-helpers';
import './vacuum-card-editor';
import styles from './styles';
import defaultImage from './vacuum.png';
class VacuumCard extends LitElement {
static get properties() {
return {
hass: Ob... |
var express = require('express');
var path = require('path');
var morgan = require("morgan");
var app = express();
// all environments
app.set('port', process.env.PORT || 9393);
app.use(morgan("dev"));
app.use(function (req, res, next) {
res.set('X-Powered-By', 'Truck Tracker');
next();
});
... |
export { default as ButtonLoadingSpinner } from './button-loading-spinner' |
import React, { Component } from 'react';
import styles from './App.scss';
import classNames from 'classnames/bind';
import { Badge, Jumbotron, Grid, Row, Col, Button } from 'react-bootstrap';
const cx = classNames.bind(styles);
console.log(styles);
class App extends Component {
render() {
return (
<React... |
/*
* Changes:
* Inlined determinant3x3 (check --trace-inlining "Did not inline determinant3x3 called from determinant (target text too big)")
*/
(function(){
function Matrix(m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44) {
var m_matrix = [];
m_matrix[0] = m11; m_matrix[1] ... |
/* Copyright (c) 2006 by Apple Computer, Inc. All Rights Reserved. */
var transparentGIF = 'http://www.mac.com/1/up/comments/images/transparent.gif';
// Manages PNGs inserted
var pngs = {
list: [],
add: function(id)
{
if (browser.windowsInternetExplorer && browser.version < 7) {
pngs.list.push(id);
}
},
... |
const path = require('path');
module.exports = function(RED) {
module.ID = path.basename(__filename, '.js');
function nomosObject(config) {
RED.nodes.createNode(this, config);
var node = this;
this.nomosHub = RED.nodes.getNode(config.config);
if(this.nomosHub) {
th... |
'use strict';
//global Variables
var itemLabels = []; //for the chart.
var voteLabels = []; //also for chart
var results = document.getElementById('update');
var refresh = document.getElementById('refreshPage');
var chartData = localStorage.getItem('chartPersist');
//array for all products
var productImages = [];
/... |
"use strict";
var LoxoneAPI = require('loxone-nodejs');
var LoxoneTemperatureSensor = require('./types/TemperatureSensor');
var LoxoneHumiditySensor = require('./types/HumiditySensor');
//var LoxoneAirQuality = require('./types/AirQualitySensor');
var LoxoneOutlet = require('./types/Outlet');
var LoxoneLightbulb = req... |
'use strict';
import axios from 'axios';
//基本配置
const Util = {
imgPath: 'http://127.0.0.1:8011/img/',
apiPath: 'http://127.0.0.1:8010/'
};
// 获取今天的时间戳
Util.getTodayTime = () => {
const date = new Date();
date.setHours(0);
date.setMinutes(0);
date.setSeconds(0);
date.setMilliseconds(0);
... |
import React, {Component} from 'react';
import {createStackNavigator, createAppContainer, StackActions, NavigationActions} from 'react-navigation';
import {Root, Toast} from 'native-base';
import Home from './src/screens/Home';
import {Kategori} from './src/screens/HomeScreens/Kategori';
import {MyProfile} from './sr... |
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import store from "./store.js";
import { Provider } from "react-redux";
import { BrowserRouter } from "react-router-dom";
ReactDOM.render(
<Provider store={store}>
<BrowserRouter>
<App />
</Browse... |
/*!
* CoreUI v2.1.6 (https://coreui.io)
* Copyright 2019 Łukasz Holeczek
* Licensed under MIT (https://coreui.io)
*/
//# sourceMappingURL=coreui-utilities.min.js.map |
'use strict';
/*
* Fuzzy
* https://github.com/myork/fuzzy
*
* Copyright (c) 2012 Matt York
* Licensed under the MIT license.
*/
var fuzzy = {};
// Return all elements of `array` that have a fuzzy
// match against `pattern`.
fuzzy.simpleFilter = function(pattern, array) {
return array.filter(function(val) {
... |
// This optional code is used to register a service worker.
// register() is not called by default.
// This lets the app load faster on subsequent visits in production, and gives
// it offline capabilities. However, it also means that developers (and users)
// will only see deployed updates on subsequent visits to a p... |
const { mnemonicToSeed, entropyToMnemonic } = require('@ethersproject/hdnode')
const EventEmitter = require('events')
const didJWT = require('did-jwt')
const { Resolver } = require('did-resolver')
const get3IdResolver = require('3id-resolver').getResolver
const getMuportResolver = require('muport-did-resolver').getReso... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var PlatformTools_1 = require("../platform/PlatformTools");
/**
* Loads all exported classes from the given directory.
*/
function importClassesFromDirectories(directories, formats) {
if (formats === void 0) { formats = [".js", ".ts"]; }... |
/**
* CMS Configuration
* Alter 'netlify' in the import statment below to one of the following:
* netlify
*/
import theCMS from '../cms/netlify/cms'
/**
* General Site configurations
*/
export default {
siteName: 'Sovblog',
tagline: 'To join our mailing list send an email to edaveiga@caltech.edu',
featureI... |
angular.module('app.routes', ['ionicUIRouter'])
.config(function($stateProvider, $urlRouterProvider) {
// Ionic uses AngularUI Router which uses the concept of states
// Learn more here: https://github.com/angular-ui/ui-router
// Set up the various states which the app can be in.
// Each state's controller ca... |
import React, { useState, useEffect } from 'react';
import './Recibo.scss';
import { Print } from './Print.js'
export const Recibo = () => {
const [from,setFrom] = useState('Johan Vargas');
const [to,setTo] = useState('Johan Vargas');
const [amount,setAmount] = useState(0);
const [date,setDate] = useState(new ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _SVG = require('./SVG');
var _SVG2 = _interopRequireDefault... |
import React from 'react';
import AniLink from 'gatsby-plugin-transition-link/AniLink';
import styles from '../css/footer.module.css';
import links from '../constants/links';
import socialIcons from '../constants/social-icons';
const Footer = () => {
return (
<footer className={styles.footer}>
<div classNa... |
(function () {
'use strict';
angular.module('BlurAdmin.pages.verifyDocumentResidence')
.controller('AddDocumentResidenceModalCtrl', AddDocumentResidenceModalCtrl);
function AddDocumentResidenceModalCtrl($scope,$rootScope,$uibModalInstance,toastr,Upload,environmentConfig,cookieManagement,errorToast... |
/**
* Created by finderlo on 07/05/2017.
*/
/**
* Created by finderlo on 07/05/2017.
*/
// document.ready(function () {
//
// })
function getSelectValue(obj,orderId) {
var sValue = obj.options[obj.options.selectedIndex].value; //这是取值
var sText = obj.options[obj.options.selectedIndex].innerHTML; //这是取文本内容
... |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'liststyle', 'gu', {
armenian: 'અરમેનિયન આંકડા પદ્ધતિ',
bulletedTitle: 'બુલેટેડ લીસ્ટના ગુણ',
circle: 'વર્તુળ',
decimal: 'આંકડા (1, 2, 3, etc.)'... |
import React, { Component } from "react";
import styles from "./Searchbar.module.css";
export default class Searchbar extends Component {
state = { search: "" };
handleChange = e => {
this.setState({ search: e.target.value });
};
handleSubmit = e => {
e.preventDefault();
this.props.onSubmit(this... |
import React, { Component } from 'react'
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import { Redirect } from 'react-router-dom'
import { Form, Icon, Input, Button, Checkbox, Row, Col, message, Alert } from 'antd'
const FormItem = Form.Item
import { login_request, clear_errors } f... |
/*
Copyright (c) 2011, Radu Viorel Cosnita <radu.cosnita@1and1.ro>
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... |
//Timer for messages and tasks
var i = 3, j=5, k=9;
function incrementI() {
i++;
document.getElementById('quickMessages').innerHTML = i;
}
setInterval('incrementI()', 5000);
function incrementJ() {
j++;
document.getElementById('quickAlerts').innerHTML = j;
}
setInterval('incrementJ()', 12000);
function inc... |
import React from 'react'
import { BiSearchAlt } from 'react-icons/bi'
import { AiFillHome, AiFillCaretDown } from 'react-icons/ai'
import { MdPeopleOutline } from 'react-icons/md';
import { IoBagAddOutline } from 'react-icons/io5';
import { AiOutlineMessage } from 'react-icons/ai';
import { BiBell, BiUserCircle } from... |
import React from "react";
import Container from "@material-ui/core/Container";
import Grid from "@material-ui/core/Grid";
import { makeStyles } from "@material-ui/core/styles";
import DeleteForeverIcon from "@material-ui/icons/DeleteForever";
import IconButton from "@material-ui/core/IconButton";
const useStyles = ma... |
/* detect click or drag on zoomed images */
var dragged = false;
document.addEventListener("mousedown", () => (dragged = false));
document.addEventListener("mousemove", () => (dragged = true));
/* add actions on images */
function activateBigImg() {
/* enable zoom-in */
var figures = document.querySelectorAll(... |
// Copyright 2005 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... |
// Move right to reach the oasis,
// Move left to avoid nearby yaks.
while(true) {
var x = hero.pos.x;
var y = hero.pos.y;
var enemy = hero.findNearestEnemy();
if (enemy && hero.distanceTo(enemy) < 10) {
// Subtract 10 from x to move left.
x -= 10;
// Use moveXY to move to the ne... |
webpackHotUpdate(0,{
/***/ "./src/Posters/Posters.js":
/*!********************************!*\
!*** ./src/Posters/Posters.js ***!
\********************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* har... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[416],{igUg:function(e,c,a){"use strict";a.r(c);var t=a("q1tI"),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v13... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _helperPluginUtils() {
const data = require("@babel/helper-plugin-utils");
_helperPluginUtils = function () {
return data;
};
return data;
}
function _core() {
const data = require("@babe... |
'use strict'
const { imgDiff } = require('img-diff-js')
const existsFile = require('exists-file')
const listen = require('test-listen')
const onExit = require('signal-exit')
const { copy } = require('fs-extra')
const temp = require('temperment')
const { serve } = require('micri')
const pdf = require('pdf-parse')
const... |
// Functions to save and load the map
"use strict";
// download map as SVG
async function saveSVG() {
TIME && console.time("saveSVG");
const url = await getMapURL("svg");
const link = document.createElement("a");
link.download = getFileName() + ".svg";
link.href = url;
link.click();
tip(`${link.download... |
const hardcoded_elems = [
{ "data": { "id": "nwtN_50c55b8c-3489-4c4e-8bea-6a1c1162ac9c" }, "position": { "x": 577.5410894097904, "y": 612.5647477282114 }, "group": "nodes" },
{ "data": { "source": "nwtN_3a5d1ad1-5bfe-48e7-99ee-0cdf3913b062", "target": "nwtN_743ee692-2363-4e76-a0c2-d6d3f717953e", "id": "nwtE_6d4afc1... |
/* eslint-env detox/detox, mocha */
/* eslint func-names: ["error", "never"] */
const detox = require('detox');
const adapter = require('detox/runners/mocha/adapter');
const config = require('../package.json').detox;
before(async () => {
await detox.init(config);
});
beforeEach(async function () {
await adapter.... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
Vue.component('app-systems-warning', {
props: ['is_hidden'],
template: `
<img src="images/warning.png"
v-if="is_hidden"
height="20px"
style="position:relative;top:6px;left:-5px;display: inline"
title="This is a hidden system. Hidden systems are often used for internal functionali... |
import React, { useEffect, useState } from 'react'
import { useSelector } from 'react-redux'
import { selectSong } from '../songSlice'
export default function MediaCard () {
const [radioStation, setRadioStation] = useState('not identified')
const song = useSelector(selectSong)
useEffect(() => {
setRadioStat... |
/** @jsx jsx */
import { jsx } from "theme-ui"
const Header = ({ children }) => (
<header
className="site-header"
sx={{
bg: "siteColor",
}}
>
{children}
</header>
)
export default Header |
define( [
"./core",
"./var/getProto",
"./var/indexOf",
"./traversing/var/dir",
"./traversing/var/siblings",
"./traversing/var/rneedsContext",
"./core/nodeName",
"./core/init",
"./traversing/findFilter",
"./selector"
], function( jQuery, getProto, indexOf, dir, siblings, rneedsContext, nodeName ) {
"use stri... |
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/uni-nav-bar/uni-nav-bar"],{
/***/ "../../../../../../Users/bai/Desktop/vue/hellow/components/uni-nav-bar/uni-nav-bar.vue":
/*!****************************************************************************!*\
!*** /Users/bai/Desktop/vue/hellow/c... |
const config = require('./config.json');
// const winston = require('winston');
// const logger = new winston();
// ? Steam
const SteamUser = require('steam-user');
const Steam = require('steam');
const SteamTotp = require('steam-totp');
const SteamCommunity = require('steamcommunity');
const TradeOfferManager = requi... |
// TODO Add a couple lines about each project
const data = [
{
title: 'Comma.ai Open Pilot',
subtitle: 'open source driver assistance system',
image: '/images/projects/comma-ai.png',
desc:
'Comma openpilot is an open source driver-assistance system. '
+ 'It performs the functions of Adapti... |
console.warn( "THREE.FresnelShader: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/#manual/en/introduction/Installation." );
... |
const uuid = require('uuid/v4');
const { createService: createServiceInApi } = require('./../../infrastructure/applications');
const parseAndValidateModel = (req) => {
const model = {
service: {
name: req.body.name,
description: req.body.description,
redirectUris: req.body.redirectUris || [],
... |
!function(){var a=seajs.data,b=document;seajs.Module.preload=function(b){var c=a.preload,d=c.length;d?seajs.Module.use(c,function(){c.splice(0,d),seajs.Module.preload(b)},a.cwd+"_preload_"+a.cid()):b()},seajs.use=function(b,c){return seajs.Module.preload(function(){seajs.Module.use(b,c,a.cwd+"_use_"+a.cid())}),seajs},a... |
'use strict';
//Datacollectors service used to communicate Datacollectors REST endpoints
angular.module('datacollectors').factory('Datacollectors', ['$resource',
function($resource) {
return $resource('datacollectors/:datacollectorId', { datacollectorId: '@_id'
}, {
update: {
method: 'PUT'
}
});
}
])... |
/**
* @license
* Copyright (C) 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
import * as PropTypes from 'prop-types';
export const propTypes = {
label : PropTypes.string,
labelWidth : PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
noLabel : PropTypes.bool,
noStretch : PropTypes.bool,
field: PropTypes.shape({
name : PropTypes.string.isRequired,
value : Prop... |
/* ===========================================================
* sw.js
* ===========================================================
* Copyright 2016 @huxpro
* Licensed under Apache 2.0
* service worker scripting
* ========================================================== */
// CACHE_NAMESPACE
// CacheStorage i... |
const EVENTS = {
LOADING: 'simulator.loading',
NOTIFICATION: 'simulator.notification',
TRACKING: {
NEW_DEVICE_SELECTED_DROPDOWN: 'new device selected from dropdown ',
SENSOR_VALUE_CHANGED_SLIDER: 'sensor value changed on slider',
SENSOR_VALUE_CHANGED_BUTTON: 'sensor value changed on a button',
... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[140],{
/***/ "./frontend/src/@core/components/b-card-code/index.js":
/*!************************************************************!*\
!*** ./frontend/src/@core/components/b-card-code/index.js ***!
\****************************************************... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
CommonActions: true,
BaseRouter: true,
StackRouter: true,
StackActions: true,
StackActionHelpers: true,
StackActionType: true,
StackRouterOptions: true,
StackNavigationState: true,
TabRouter: true,
T... |
'use strict';
var global = require('./$.global')
, $ = require('./$')
, DESCRIPTORS = require('./$.descriptors')
, SPECIES = require('./$.wks')('species');
module.exports = function(KEY){
var C = global[KEY];
if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {
configurable: true... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.