text stringlengths 2 1.04M |
|---|
/*
artifact generator: C:\My\wizzi\v5\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js
primary source IttfDocument: c:\my\wizzi\v5\plugins\wizzi-meta\src\ittf\tests\mocks\util\verify.js.ittf
*/
'use strict';
// generated by wizzi.codegen.js4.es2015.module
function _inherits(subClass, superClass) { if (... |
var hora_atual = new Date()
var hora = hora_atual.getHours()
console.log(`Agora são exatamente ${hora} horas.`)
if(hora < 6){
console.log('Boa Madrugada!')
}
else if(hora <= 12){
console.log('Bom dia!')
}
else if(hora <=18){
console.log('Boa Tarde!')
}
else{
console.log('Boa Noite')
} |
import React from 'react'
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'
import IndexPage from '../IndexPage'
import Overlay from '../Overlay'
import { sketches } from '../IndexPage/sketches'
export default function Routes() {
return (
<>
<Router>
<Switch>
{sket... |
//# sourceMappingURL=icon.logo_slack-js.min.js.map |
export function SayHi() {
alert("Ahoy there")
} |
(function() {
var fn = function() {
(function(root) {
function now() {
return new Date();
}
var force = false;
if (typeof root._bokeh_onload_callbacks === "undefined" || force === true) {
root._bokeh_onload_callbacks = [];
root._bokeh_is_loading = und... |
// All functions that need access to the editor's state live inside
// the CodeMirror function. Below that, at the bottom of the file,
// some utilities are defined.
// CodeMirror is the only global var we claim
var CodeMirror = (function() {
// This is the function that produces an editor instance. Its
// closure... |
var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.Run ("on -d -n circe \"seqgrabber.exe --neti Net1 --name /imagesgrabber --dir c:/temp/calib --stop --stereo\"", 7, true); |
import { hooks } from '../utils/hooks';
import hasOwnProp from '../utils/has-own-prop';
import getParsingFlags from '../create/parsing-flags';
// Plugins that add properties should also add the key here (null value),
// so we can properly clone ourselves.
var momentProperties = hooks.momentProperties = [];
export fun... |
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}
function _defineProperties(target, props) {
for(var i = 0; i < props.length; i++){
var descriptor = props[i];
descriptor.enumerable = descriptor.e... |
const fs = require('fs')
const Path = require('path')
const deepSet = require('deep-set')
const {JSONPath} = require('jsonpath-plus')
const debug = require('debug')('dpc.DpcProject')
const Utils = require('./utils')
const uniqueArray = Utils.uniqueArray
const Validator = require('./validator')
const validator = new ... |
/*****************************************************************************
* Open MCT, Copyright (c) 2014-2020, United States Government
* as represented by the Administrator of the National Aeronautics and Space
* Administration. All rights reserved.
*
* Open MCT is licensed under the Apache License, Version ... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("omi"));
else if(typeof define === 'function' && define.amd)
define(["omi"], factory);
else if(typeof exports === 'object')
exports["sync-problem-rounded"] ... |
function newSectionDB(db, number, name) {
return new Promise(function(resolve, reject) {
db.collection('constructionItems').insert({
number: number,
name: name,
items: []
}, function(err, data) {
if (err) {
reject(err)
} els... |
import moment from 'moment';
import isSameDay from './isSameDay';
export default function isPreviousDay(a, b) {
if (!moment.isMoment(a) || !moment.isMoment(b)) return false;
const dayBefore = moment(a).subtract(1, 'day');
return isSameDay(dayBefore, b);
} |
/*!
* vue-carousel v0.14.1
* (c) 2018 todd.beauchamp@ssense.com
* https://github.com/ssense/vue-carousel#readme
*/
"!=" |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=quot_req_grp.js.map |
/**
* @module browserify-plugin-can-compile
* @author scenecs <scenecs@t-online.de>
* @license MIT
*/
const chai = require('chai');
const BrowserifyPluginCanCompile = require('../../').BrowserifyPluginCanCompile;
const dummyFunction = function dummyFunction() {}; // eslint-disable-line no-empty-function
const brows... |
/**
* Auto-generated action file for "Amazon Elastic Compute Cloud" API.
*
* Generated at: 2019-07-08T11:12:45.766Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / amazonaws-com-ec-2-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this conn... |
import { createGlobalId } from '@apollosproject/server-core';
import { dataSource } from '@apollosproject/data-connector-algolia-search';
import { graphql } from 'graphql';
import { get, uniq } from 'lodash';
import ApollosConfig from '@apollosproject/config';
class Search extends dataSource {
async mapItemToAlgolia... |
//# sourceMappingURL=component---src-pages-privacy-policy-index-jsx-53deb7ae921cc2d60377.js.map |
const codeTextJq = $("#code-to-type");
const demoConsoleContainerJq = $("#demo-console-content");
function jQueryScript(id) {
let number = id;
let btn = $("<button>");
let demoText = $("<p>");
btn.addClass("demo-btn");
if (demoConsoleContainerJq.children().length > 0) {
demoConsoleContainerJq.empty();
... |
$(document).ready(function(){
//添加地区信息表单提交
$('#areaForm').submit(function(){
submitForm();
});
});
function submitForm(){
var nameObj = $("#areaName");
if(''==nameObj.val()){
alert('请输入地区名称!');
nameObj.focus();
return false;
}
// if(!isCodeExisted()){
// alert('此地区已经存在,请重新输入!');
// $("#areaName").val(... |
import React, { Component } from 'react';
import Modal from '../../components/UI/Modal/Modal';
import Auxiliary from '../Auxiliary/Auxiliary';
const withErrorHandler = (WrappedComponent, axios) => {
return class extends Component {
state = {
error: null
};
componentDidMount() {
this.reqInterceptor = axi... |
import Vue from 'vue';
import store from './../store';
import iView from 'iview';
import Util from '../libs/util';
import VueRouter from 'vue-router';
import Cookies from 'js-cookie';
import {
routers,
otherRouter,
appRouter
} from './router';
Vue.use(VueRouter);
// 路由配置
const RouterConfig = {
// mode... |
/**
* core/widgets data store: widgets info.
*
* Site Kit by Google, Copyright 2020 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... |
import images from './images';
const wines = [
{
title: 'Chapel Hill Shiraz',
price: '$56',
tags: 'AU | Bottle',
},
{
title: 'Catena Malbee',
price: '$59',
tags: 'AU | Bottle',
},
{
title: 'La Vieillw Rose',
price: '$44',
tags: 'FR | 750 ml',
},
{
title: 'Rhino Pal... |
export const Consts = {
TREELIST_SELECTOR: '.dx-treelist',
TREELIST_DATA_ROW_SELECTOR: '.dx-data-row',
TREELIST_WRAPPER_SELECTOR: '.dx-gantt-treelist-wrapper',
TREELIST_HEADER_ROW_SELECTOR: '.dx-header-row',
GANTT_VIEW_SELECTOR: '.dx-gantt-view',
GANTT_VIEW_ROW_SELECTOR: '.dx-gantt-altRow',
... |
/* eslint-disable no-alert */
import axios from 'axios'
const SET_GOALS = 'SET_GOALS'
const ADD_GOAL = 'ADD_GOAL'
const DELETE_GOAL = 'DELETE_GOAL'
const UPDATE_GOAL = 'UPDATE_GOAL'
export const setGoals = goals => ({
type: SET_GOALS,
goals
})
export const fetchGoals = () => async dispatch => {
try {
const... |
import * as Preact from '#preact';
import {BentoFacebook} from '../component';
import {WithAmpContext} from '#preact/context';
import {createRef} from '#preact';
import {mount} from 'enzyme';
import {serializeMessage} from '#core/3p-frame-messaging';
import {waitFor} from '#testing/helpers/service';
describes.sandboxe... |
$(function(){
// 推送弹窗
$("#tuisong").on("click",function(){
$(".msg-overlay").show();
$("body").css({
'overflow':'hidden'
})
});
$(".msg-overlay .close").on("click",function(){
$(".msg-overlay").hide();
$("body").css({
'overflow':'scroll'
})
});
// 查看推送弹窗
$(... |
const marked = require('marked');
module.exports = function (grunt) {
// convert .md to .html and rename to a .handlebars partial
grunt.registerMultiTask('marked', 'Convert README to html', function () {
let readMe = grunt.file.read(this.data.path);
marked.defaults.langPrefix = 'rmcode ';
let markdownRe... |
import { createTheme, responsiveFontSizes } from "@material-ui/core/styles";
import fonts from "./fonts";
import commonSettings, { handleBackdropFilter } from "./global.js";
const lightTheme = {
color: "#ffffff",
gold: "#F8CC82",
gray: "#A3A3A3",
blueish_gray: "#cccccc",
textHighlightColor: "#93AEBC", // "#F... |
class Employee {
constructor(employeeName, employeeID, employeeEmail, employeeRole) {
this.name = employeeName;
this.ID = employeeID;
this.email = employeeEmail;
this.role = employeeRole;
}
getName() {
return this.name
}
getId() {
return this.ID
}... |
function() {
this.label = 'planet';
this.render = function() {
this.duringSketch(function() {
mCurve(makeOval(-.95, -.95, 1.9, 1.9, 16, PI/2,3*PI/2));
mCurve(makeOval(-.95, -.95, 1.9, 1.9, 16,3*PI/2,5*PI/2));
});
}
this.fragmentShaders = [
[
,'void main(void) {'
,' ... |
import Options3d from './Options3d';
export default Options3d; |
import peerDepsExternal from "rollup-plugin-peer-deps-external";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import typescript from "rollup-plugin-typescript2";
import postcss from "rollup-plugin-postcss";
import copy from "rollup-plugin-copy";
import { babel } fro... |
/**
* Created by DuanG on 2016/7/27.
*/
/*export class CarServer{
public addNumber():void{
console.log("addNumber");
}
}*/
var CarServer = function () {
};
CarServer.prototype.addNumber = function () {
console.log("addNumber");
};
module.exports = CarServer; |
var riffsyWrapi = require('../index.js');
var apiKey = process.env.RIFFSY_API_KEY;
var client = new riffsyWrapi(apiKey);
client.trending(
{
type: 'audiovideo'
},
function(err, data) {
if (!err) {
console.log(data);
}
}
); |
var express = require('express');
var router = express.Router();
var facebook = require('../auth/facebook');
/* GET home page. */
router.get('/', function (req, res, next) {
res.render('index', { title: 'Express' });
});
router.get('/auth/facebook', facebook.authFacebook);
router.get('/auth/facebook/callback', fac... |
define([
'./function-registry',
'./math-helper'
], function (__module__0, __module__1) {
'use strict';
var exports = {};
var module = { exports: {} };
var functionRegistry = __module__0, mathHelper = __module__1;
var mathFunctions = {
ceil: null,
floor: null,
sqrt: nu... |
/**
* Quotes API For Digital Portals
* The quotes API combines endpoints for retrieving security end-of-day, delayed, and realtime prices with performance key figures and basic reference data on the security and market level. The API supports over 20 different price types for each quote and comes with basic search e... |
({"HKD_displayName":"dolar hongkoński","CHF_displayName":"frank szwajcarski","CHF_symbol":"SwF","JPY_symbol":"¥","HKD_symbol":"HK$","CAD_displayName":"dolar kanadyjski","CNY_displayName":"juan renminbi","USD_symbol":"$","AUD_displayName":"dolar australijski","JPY_displayName":"jen japoński","CAD_symbol":"Can$","USD_dis... |
import { csgeo, csmouse } from "Setup";
import { scheduleUpdate, move, mouse, getmover, setMove } from "Events";
import { CSNumber } from "libcs/CSNumber";
import { List } from "libcs/List";
import { statusbar } from "libcs/Operators";
import { csport } from "libgeo/GeoState";
import { removeElement, addElement } from ... |
define([
"dojo/_base/declare","./FeatureGridContainer","./Confirmation","../WorkspaceManager","dojo/when"
], function(
declare,FeatureGridContainer,Confirmation,WorkspaceManager,when
){
return declare([FeatureGridContainer], {
selectionActions: FeatureGridContainer.prototype.selectionActions.concat([
[
"Rem... |
/**
* Created by Raphson on 9/28/16.
*/
import React from 'react';
import { Link, hashHistory } from 'react-router';
import NavBar from '../NavBar/index';
import Footer from '../Footer/Index';
import UserStore from '../../stores/UserStore';
import ProjectStore from '../../stores/ProjectStore';
import UserActions from... |
function solve(array){
let data = array.shift();
let objData = JSON.parse(data);
let html = '<table>';
html += '<tr><th>Name</th><th>Price</th></tr>';
for (const obj of objData) {
html += `<tr><td>${Object.values(obj)[0]}</td><td>${Object.values(obj)[1]}</td></tr>`;
}
html +... |
import { css } from '@emotion/core';
export const galleryFigureModal = css`
align-items: center;
background-color: rgba( 0, 0, 0, 0.8 );
bottom: 0;
display: flex;
height: 100%;
justify-content: center;
left: 0;
margin: 0;
position: absolute;
right: 0;
top: 0;
width: 100%;
`;
export const galleryGrid = css... |
// @flow
import React, { type ComponentType } from 'react';
import Avatar from '@findable/avatar';
import AddIcon from '@findable/icon/glyph/add';
import BacklogIcon from '@findable/icon/glyph/backlog';
import BoardIcon from '@findable/icon/glyph/board';
import DashboardIcon from '@findable/icon/glyph/dashboard';
impo... |
var searchData=
[
['offset_46',['offset',['../struct_vma_allocation_info.html#a4a3c732388dbdc7a23f9365b00825268',1,'VmaAllocationInfo::offset()'],['../struct_vma_defragmentation_pass_move_info.html#a8ab4508bc03625b0653c880576be96c6',1,'VmaDefragmentationPassMoveInfo::offset()']]],
['opengl_20interop_47',['OpenGL In... |
'use strict';
'use strict';
const assert = require('assert');
class MRow {
constructor(attribs, children) {
this.attribs = attribs;
this.children = children;
}
getFontLevel() {
return this.children.map(
child => child.getFontLevel()
).reduce(
(accumulator, child) => Math.max(accumul... |
module.exports = function( db ) {
let PurchaseModel = {};
PurchaseModel.Get = function( purchaseId ) {
return db.one( "SELECT * FROM purchase WHERE id = $1", purchaseId );
};
PurchaseModel.GetByCustomer = function( customerId ) {
return db.any( "SELECT * FROM purchase WHERE customer_id = $1 ORDER BY created_a... |
import React from 'react';
import PropTypes from 'prop-types';
import CodeExample from './CodeExample';
class Example extends React.Component {
constructor(props) {
super(props);
this.state = { showCode: false };
}
toggleCode = event => {
event.preventDefault();
this.setState(prevState => {
... |
var SystemJSConfig = (function () {
function SystemJSConfig() {
}
// add package entries for angular packages in the form '@angular/common': { main: 'index.js', defaultExtension: 'js' }
SystemJSConfig.init = function () {
SystemJSConfig.packageNames.forEach(function (pkgName) {
Syste... |
import React from 'react';
import {expect} from 'chai';
import {shallow} from 'enzyme';
import {
Profile
} from '../src/components';
describe('Profile Component', () => {
it('should have a root div', () => {
const wrapper = shallow(<Profile/>);
expect(wrapper.find('div')).to.have.length(1);
});
it('sh... |
version https://git-lfs.github.com/spec/v1
oid sha256:10295496314b229f532f229117f7052296751c90ed05772c1183c4ad8304cb78
size 1092 |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { withRouter } from 'react-router'
import {
Button,
FormGroup,
ControlLabel,
FormControl
} from 'react-bootstrap'
import { Field, reduxForm } from 'redux-form'
class PostForm extends Component {
state = {
value: ''
}
... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports"], factory);
} else if (typeof exports !== "undefined") {
factory(exports);
} else {
var mod = {
exports: {}
};
factory(mod.exports);
global.undefined = mod.exports;
}
})(this, function... |
// @flow
import React, { Component } from 'react';
import Spinner from '@atlaskit/spinner';
import { Cell, TreeRowContainer, LoaderItemContainer } from '../styled';
type Props = {
isCompleting: boolean,
onComplete: Function,
depth?: number,
};
type State = {
phase: 'loading' | 'complete',
};
export default ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pluginFileParsedMiddleware = void 0;
/**
* Calls fileParsed hook on plugins.
*/
function pluginFileParsedMiddleware(plugins) {
const fileParsedPlugins = plugins.filter(p => 'fileParsed' in p);
if (fileParsedPlugins.length ===... |
// 文件上传公共库
const _ = require('lodash');
const fs = require('fs');
const path = require('path');
const multer = require('multer');
const log = require('../log');
// 检查上传的文件夹
const uploadDir = path.join(__dirname, '../public/uploads');
fs.stat(uploadDir, function (err, stat) {
if (err) {
fs.mkdir(uploadDir, funct... |
search_result['4607']=["topic_0000000000000B1D.html","QuestionVideoService.GetQuestion Method",""]; |
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "42bca541c520cdecd9889e782d05c280",
"url": "/index.html"
},
{
"revision": "1fe4268787bf0efdf977",
"url": "/static/css/2.e8d6ffa6.chunk.css"
},
{
"revision": "bf0f886cacf1be6a0253",
"url": "/static/css/main... |
document.getElementById("reminder").addEventListener("click",remind);
function remind(){
var minutes = parseInt(document.getElementById("minute").value);
const hours = parseInt(document.getElementById("hour").value);
if (isNaN(minutes) || isNaN(hours)){
console.log("It's not a number!");
}else... |
function getProducts(arr) {
const newArr = [];
for (let i = 0; i < arr.length; i++) {
let product = 1;
for (let k = 0; k < arr.length; k++) {
if (i !== k) {
product *= arr[k];
}
}
newArr.push(product);
}
return newArr;
}
module.exports = getProducts; |
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(<App />, document.getElementById("app"));
serviceWorker.unregister(); |
const os = require("os");
const path = require("path");
const readJson = require("load-json-file");
const FormData = require("form-data");
const fetch = require("node-fetch");
let config;
const getConfig = async () => {
if (!config) {
const dataPath = path.join(os.homedir(), ".webiny", "config");
t... |
// Copyright 2018 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.
/** @fileoverview Runs the Polymer Print Preview interactive UI tests. */
// Polymer BrowserTest fixture.
GEN_INCLUDE(['//chrome/test/data/webui/polymer_... |
/*!
* SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
* (c) Copyright 2009-2014 SAP AG or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/ |
function verifica(value){
var input = document.getElementById("input");
if(value == 2){
input.disabled = false;
}else if(value == 3){
input.disabled = true;
}
}; |
/* DreemGL is a collaboration between Teeming Society & Samsung Electronics, sponsored by Samsung and others.
Copyright 2015-2016 Teeming Society. 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 a... |
module.exports = {
//"@context": { type: String, default: "http://schema.org" },
//"@type": { type: String, default: "Article" },
//>>Properties from NewsArticle
//dateline: String,//The location where the NewsArticle was produced.
//printColumn: String,//The number of the column in which the NewsArticle appears ... |
import createElement from './createElement';
import attachEditBehavior from './attachEditBehavior';
import attachActionContainer from './attachActionContainer';
import createTextElement from './createTextElement';
import createDetailsElement from './createDetailsElement';
const createCompoundItem = (
{
nam... |
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
backgroundImage: {
"hero-image": "url('/static/images/laurel.png')",
},
// fontFamily: {
// sans: ["calibri", "Noto Sans", "Noto Sans JP", "sans-serif"],
... |
const path = require('path'),
ifd = require(path.join(process.cwd(), 'dist/ifd.js'));
const isAnArrayOfTwo = ifd({
truthy: true,
//create custom identity
identity: function (val) {
return Array.isArray(val) && val.length === 2;
}
});
const testTrue = isAnArrayOfTwo([1], [2], [3, 4, 5], [3, 4], 'no... |
import { SIGNIN_START, signinSuccess } from './users-reducer';
export default store => next => action => {
if (action.type === SIGNIN_START) {
console.log('[REDUX AUTH] Signin request : ', action.username);
setTimeout(function() {
console.log('[REDUX AUTH] Signin success : ', action.username);
st... |
const fs = require('fs');
const path = require('path');
let inputFile = path.join(__dirname, 'text.txt');
let readableStream = fs.createReadStream(inputFile, 'utf8');
readableStream.on('data', function(chunk){
console.log(chunk);
}); |
import React from 'react';
import { StyleSheet, Text, View, StatusBar} from 'react-native';
//Import Components
import PrimeiroComponente from './src/components/PrimeiroComponente';
import ParOuImpar from './src/components/ParOuImpar'
export default function App() {
return (
<View style={styles.container}>
... |
function biggerIsGreater(w) {
let a = w.split(""),
l = a.length,
i = l - 1;
while (i > 0 && a[i - 1] >= a[i])
i--;
if (i <= 0)
return "no answer";
let j = l - 1;
while (a[j] <= a[i - 1])
j--
[a[i - 1], a[j]] = [a[j], a[i - 1]]
j = l - 1;
wh... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _typeof(obj) { if (typeof Symbol === "function... |
AJAXOmeter.prototype.newTextOnPath = function (txt, path, config) { /* {{{ */
if (this.svg == null) return;
var xlinkns = "http://www.w3.org/1999/xlink";
this.path_id = this.path_id == undefined ? 0 : this.path_id+1;
var p = this.newElt("path", {'id':"textPath"+this.path_id, 'd':path});
var d... |
import {foo} from "./foo";
console.log(foo) |
export const initFormField = ({ value, required = true, skipValidation = false }) => ({
value,
required,
state: skipValidation ? true : null,
feedback: null,
}); |
import axios from "axios";
export default {
login: function(user) {
return axios.post('/api/admin/login', function(req, res) {
if (req.user) {
res.render('admin/login', { user: req.user });
} else {
res.redirect('/');
}
}
... |
{
"AssetAdmin.BATCHACTIONSDELETECONFIRM": "Vill du verkligen radera %s mappar?",
"AssetAdmin.ConfirmDelete": "Vill du verkligen radera denna mapp och alla filer i den?",
"AssetTableField.MOVING": "Flyttar %s fil(er)",
"AssetTableField.REALLYDELETE": "Vill du verkligen radera de markerade filerna?",
... |
import { desc } from '@:/utils/testing'
import handleMutationSubmit, {
execNamedMutation
} from '../handleMutationSubmit'
let responseData, namedMutationObj, variables
beforeEach(() => {
responseData = 'the response'
namedMutationObj = {
myMutation: jest.fn(() => ({
data: {
myMutation: response... |
(function($){
$.fn.simpleStars = function(){
return this.each(function(){
$(".plugin_stars").on("click",".star",function(){
$(this).nextAll().removeClass("star_yes").addClass("star_no");
$(this).removeClass("star_no").addClass("star_yes");
$(this).prevAll().removeClass("star_no").addClass("star_yes");... |
import * as _contentType from './content-type';
export { _contentType as contentType };
import * as _entry from './entry';
export { _entry as entry };
import * as _asset from './asset';
export { _asset as asset };
import * as _assetKey from './asset-key';
export { _assetKey as assetKey };
import * as _environment from ... |
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed un... |
const path = require('path')
const glob = require('glob')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const MiniCssExtractPlugin = require("mini-css-extract-plugin")
const TerserPlugin = require('terser-webpack-plugin')
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin");
const Co... |
/*! For license information please see 2.47cf8218.chunk.js.LICENSE.txt */
//# sourceMappingURL=2.47cf8218.chunk.js.map |
var CONFIG = require('../config.js');
var globalInfo = require('../globalInfo.js');
var log4js = require('log4js');
var mysql = require('mysql');
var logger = log4js.getLogger();
logger.setLevel(CONFIG.LOG_LEVEL);
var dbPool = mysql.createPool({
host: CONFIG.DBTOKEN.HOST,
user: CONFIG.DBTOKEN.USER,
password: CON... |
var util = require('util');
var mysql = require('mysql');
var Base = require('./base');
var type = require('../data_type');
var MysqlDriver = Base.extend({
init: function(connection) {
this._super();
this.connection = connection;
},
mapDataType: function(str) {
switch(str) {
case type.STRING:
... |
module.exports = {
Reader: require('./Reader'),
Blueprint: require('./Blueprint'),
BlueprintBook: require('./BlueprintBook'),
Decoder: require('./Decoder'),
Entity: require('./Entity'),
Recipe: require('./Recipe'),
Grid: require('./Grid')
}; |
// both attention check images (raw and annotated) should be the same images;
// Both main annotated and raw image should be in the same order;
var annotated_check_imgs = [
"data/VOC_grad-cam/cat-2007_000528.jpg",
"data/VOC_grad-cam/cat-2007_000876.jpg",
"data/VOC_grad-cam/cat-2007_003778.jpg",
"data/VOC_grad-cam/cat-... |
const React = require("react");
function BookOpenIcon(props) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
stroke: "currentColor",
"aria-hidden": "true"
}, props), /*#__PURE__*/React.createElement("path"... |
import { useState, useEffect } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { getUser } from '../../redux/users/users.actions';
export const useUsersHandler = (id) => {
const dispatch = useDispatch();
const { user } = useSelector(({ Users }) => ({
user: Users.user
}));
con... |
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
var path = CKEDITOR.basePath.split('/');
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
/... |
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react');
const fs = require('fs');
const classNames = require('classnames');
const HeaderNav = require('./nav/He... |
const assert = require('assert');
const {describe, it} = require('mocha');
const SuperData = require('../../structures/superdata.js');
const constants = require('../../constants.json');
const uuid = 'testuuid';
const uri = `data/${uuid}/init.json`;
const comment = 'test comment';
function createGroup() {
return {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.