text stringlengths 2 1.05M |
|---|
define([
"dojo/_base/kernel",
"dojo/_base/lang",
"dojo/_base/declare",
"dojo/_base/array",
"dojo/_base/connect",
"dojo/_base/event",
"dojo/_base/sniff",
"dojo/_base/html",
"dojo/keys",
"dijit/a11y",
"dijit/focus",
"../_FocusManager"
], function(dojo, lang, declare, array, connect, event, has, html, keys, di... |
module.exports = {
extends: ['@commitlint/config-angular'],
rules: {
'type-enum': [
2,
'always', [
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test'
]
]
}
};... |
var callbackArguments = [];
var argument1 = function callback(){callbackArguments.push(arguments)};
var argument2 = "";
var argument3 = null;
var argument4 = function callback(){callbackArguments.push(arguments)};
var argument5 = ["WM-{-","7"];
var argument6 = "";
var argument7 = function callback(){callbackArgum... |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const tsc = require('typescript');
module.exports = {
process(src, path) {
if (path.endsWith('.ts') ||... |
/**
* 全局工具类导出
* */
const { regeneratorRuntime } = global;
import { promisify, complete } from 'promisify';
import $http from './x-http'; // 二次封装 wx.request
import $filters from './x-filters'; // 过滤器
/*
* 静默授权登录,获取用户信息
* app.$login().then(res=>{})
* */
const $login = async() => {
// 获取本地存储的用户信息
let userInfo =... |
var searchData=
[
['headertype_2135',['HeaderType',['../structHeaderType.html',1,'']]],
['hpdir_5ft_2136',['hpdir_t',['../structhpdir__t.html',1,'']]]
];
|
/**
* Component watchers
*/
const mixin = {
watch: {
// Watch window width change
widthWindow (newValue, oldValue) {
if (oldValue) {
this.prepareCarousel()
this.toggleFade()
}
},
// Watch current slide change
currentSlide () {
this.prepareSlidesClasses()
// Set start time of slide
... |
const Locations = require('../lib/repositories/locations');
const { ErrorHandler } = require('../lib/utils');
const { PARENT_LOC_NOT_FOUND } = require('../constants');
async function checkParentId(ctx, next) {
try {
const { parentLocation } = ctx.request.body;
const { db } = ctx;
if (parentLocation) {
... |
"use strict";
// end-snippet
// begin-snippet: adt-boolean-functions
function and(left, right) {
return left.tag === "true" ? right : { tag: "false" };
}
function or(left, right) {
return left.tag === "true" ? { tag: "true" } : right;
}
// end-snippet
// begin-snippet: adt-boolean-encode-decode
function adtEnco... |
module.exports = {
nodeuse : '',
component : {
file : '',
module : '',
path : ''
},
isDebug : false,
isIsolation : false
};
|
/*
* Copyright (C) IBM Corp. 2009 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 list of condition... |
module.exports = {
tabWidth: 2,
semi: true,
singleQuote: true,
trailingComma: 'es5',
};
|
$(function(){
var pick = '#videoupload',
uploadUrl = $(pick).attr('data-url'),
beforeUrl = $(pick).attr('data-base'),
successUrl = $(pick).attr('data-success'),
GUID = WebUploader.Base.guid()
id = $(pick).attr("data-id");
/** 实现webupload hook,触发上传前,中,后的调用关键 **/
WebUp... |
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var __chunk_1 = require('../chunk-49d9503c.js');
var React = _interopDefault(require('react'));
require('@carbon/icon-helpers');
require('prop-types');
var Api32 =
/*#__PURE__*/
React.forw... |
// Size of canvas. These get updated to fill the whole browser.
let width = 150;
let height = 150;
var count = 0;
const numBoids = 100;
const visualRange = 75;
var boids = [];
var terrain = [];
var active = false;
var currentX;
var currentY;
var initialX;
var initialY;
var xOffset = 0;
var yOffset = 0;
var header... |
"use strict";
/** @type {import('@adonisjs/framework/src/Hash')} */
const Hash = use("Hash");
/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
const Model = use("Model");
class User extends Model {
static boot() {
super.boot();
/**
* A hook to hash the user password before saving
... |
describe('loader-map for combo', function () {
var S = KISSY;
it('use map to modify single url', function () {
var url = '';
KISSY.config({
packages: {
a: {
base: window['PACKAGE_LOADER_MAP_COMBO_A_PATH'] || '../specs/loader-map'
... |
import React, { useState, useEffect } from 'react'
import { Table } from 'reactstrap';
import axiosWithAuth from '../utils/axiosWithAuth';
import NewComments from './NewComments'
import { Link } from 'react-router-dom'
import { Button } from 'reactstrap'
import {connect} from "react-redux";
import {getAllTickets} from ... |
'use strict'; /**
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of pate... |
/**
* mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill
* v1.1.0
*
* Copyright 2013, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*
* Date: 2013-12-27
*/
!function(e,t){"use strict";function n(e,... |
//// [contextualTypingOfObjectLiterals2.ts]
interface Foo {
foo: (t: string) => string;
}
function f2(args: Foo) { }
f2({ foo: s => s.hmm }) // 's' should be 'string', so this should be an error
//// [contextualTypingOfObjectLiterals2.js]
function f2(args) {
}
f2({
foo: function (s) {
return s.... |
import ol_ext_inherits from '../ext'
import ol_ext_element from '../element';
import ol_ext_input_Base from './Base'
/** Base class for input popup
* @constructor
* @extends {ol_ext_input_Base}
* @fires change:color
* @fires color
* @param {*} options
* @param {string} [options.className]
* @param {ol.colorLi... |
import assert from "assert"
import createNamespace from "../../create-namespace.js"
import defaultArray, * as nsArray from "../../fixture/cjs/export/array.js"
import defaultClass, * as nsClass from "../../fixture/cjs/export/class.js"
import defaultDefault, * as nsDefault from "../../fixture/cjs/export/default.js"
impor... |
(function(){
module("kendo attr", {
teardown: function(){
kendo.ns = "";
}
});
test("default ns is empty", function() {
equal(kendo.ns, "");
});
test("attr returns a data attribute", function() {
kendo.ns = "kendo-";
equal(kendo.attr("role"), "data-kendo-role");
});
test("attr handles em... |
config.$inject = [ '$stateProvider' ];
function config ($stateProvider) {
$stateProvider
.state('main.import-students', {
url: '/alumnos/importar-alumnos',
templateUrl: 'templates/components/main/import-students/import-students.html',
controller: "ImportStudentsController as vm",
onEnter: onStateEnter
... |
import { h } from 'vue'
export default {
name: "CommentOutline",
vendor: "Mdi",
type: "",
tags: ["comment","outline"],
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-comm... |
angular.module('portainer.app')
.factory('EndpointService', ['$q', 'Endpoints', 'FileUploadService',
function EndpointServiceFactory($q, Endpoints, FileUploadService) {
'use strict';
var service = {};
service.endpoint = function(endpointID) {
return Endpoints.get({id: endpointID}).$promise;
};
service.e... |
import { settings } from '../../../settings';
import { getUserPreference, getURL } from '../../../utils';
import { API } from '../api';
const getInfoFromUserObject = (user) => {
const {
_id,
name,
emails,
status,
statusConnection,
username,
utcOffset,
active,
language,
roles,
settings,
customF... |
import React from 'react';
import PropTypes from 'prop-types';
// Mui Example:
// https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/Avatar/Avatar.js#L38
// eslint-disable-next-line prefer-arrow-callback
const ArrowRightCircle = React.forwardRef(function ArrowRightCircle(
props,
ref
) {
... |
/*Nav Start*/
var navFlag = false;
function showNav() {
if (navFlag === false) {
document.querySelector("#mainNav").style.width = "100%";
document.querySelector("#mNavBtn").style.transform="translateX(-100px)";
document.querySelector("#mNavBtn2").style.top="15px";
return navFlag ... |
/*
*
* debounce(fn, interval[, self]); // returns a debounced function
* fn - function
* interval - time in ms
* self - (optional) explicit `this` for the eventually called function
*
* Usage: document.addEventListener(
* "mousemove"
* , limiter.debounce(function (e) { console.log(this, e); }, 500, d... |
webpackHotUpdate(0,{
/***/ "./src/Views/Posters.js":
/*!******************************!*\
!*** ./src/Views/Posters.js ***!
\******************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony imp... |
import { Server, Model, belongsTo } from "miragejs";
/*
A model with a belongsTo association can be in six states
with respect to its association. This helper class
returns a child (and its association) in these various states.
The return value is an array of the form
[ child, parent ]
where the paren... |
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*-------------------------------------------------... |
/*! lozad.js - v1.10.0 - 2019-09-18
* https://github.com/ApoorvSaxena/lozad.js
* Copyright (c) 2019 Apoorv Saxena; Licensed MIT */
/**
* Detect IE browser
* @const {boolean}
* @private
*/
const isIE = typeof document !== 'undefined' && document.documentMode;
const defaultConfig = {
rootMargin: '0px',
thresho... |
define([
'kb_widget/bases/dataWidget',
'kb_service/client/workspace',
'kb_service/utils',
'kb_common/html'
], function(DataWidget, Workspace, serviceUtil, html) {
'use strict';
function factory(config) {
/**
* Utility function to build a table based on the given object.
... |
const hedValidator = require('hed-validator')
const utils = require('../../utils')
const Issue = utils.issues.Issue
module.exports = function checkHedStrings(events, headers, jsonContents) {
const issues = []
// get all headers associated with task data
const taskHeaders = headers.filter(header => {
const fi... |
/*
* Copyright 2016 Austin Lehman
*
* 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... |
/**
* Admui-iframe v2.0.0 (http://www.admui.com/)
* Copyright 2015-2018 Admui Team
* Licensed under the Admui License 1.1 (http://www.admui.com/about/license)
*/
!function(e,t,n){"use strict";jQuery.components.register("selective",{mode:"default",defaults:{search:function(){return'<input class="'+this.namespace+'-s... |
/*!
diff v2.0.2
Software License Agreement (BSD License)
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistribution... |
/*global angular*/
(function () {
angular
.module('simplAdmin.cms')
.factory('htmlWidgetService', widgetService);
/* @ngInject */
function widgetService($http) {
var service = {
getWidgetZones: getWidgetZones,
getHtmlWidget: getHtmlWidget,
create... |
module.exports = {
testEnvironment: "node",
globals: {
DB_JSON: JSON.stringify({
client: "pg",
connection: {
host: "127.0.0.1",
"port": "5432",
"database": "spoke_test",
"password": "spoke_test",
"user": "spoke_test"
},
}),
JOBS_SYNC: true,
J... |
/* global it, describe */
import { expect } from 'chai';
import FlowTemplate from '../src/template/flow-template';
import card from './cards/card.json';
describe('Flow Template', () => {
describe('Constructor', () => {
it('Should construct an instance', () => {
let instance = new FlowTemplate({ l... |
import React from 'react'
import {Link} from 'react-router-dom'
import './Nav.css'
const Nav = () => {
return (
<nav>
<h2>MERN</h2>
<ul>
<li>
<Link to="/">Home</Link>
<Link to="/register">Register</Link>
... |
import {
TagLabel,
Tag,
Text,
Stack,
Divider,
Link,
Image,
Skeleton,
useColorMode,
ScaleFade
} from '@chakra-ui/react'
import { useMediaQuery } from 'react-responsive';
import {
FaGithub,
FaPython,
FaDocker,
FaDatabase,
FaJs,
FaReact,
FaCode,
FaW... |
// https://www.codewars.com/kata/5ce969ab07d4b7002dcaa7a1
const solve = s => {
const limit = ~~(s.length / 2);
for (let length = limit; length > 0; length--) {
const prefix = s.slice(0, length);
const suffix = s.slice(-length);
if (prefix === suffix) {
return length;
}
}
return 0;
}
|
// @flow
import {isEqual} from 'lodash-es'
import * as ChatTypes from '../../constants/types/chat2'
import * as Chat2Gen from '../../actions/chat2-gen'
import * as TeamsGen from '../../actions/teams-gen'
import {type ChannelMembershipState} from '../../constants/types/teams'
import ManageChannels from '.'
import {
co... |
module.exports = [
require("./uri/ip"),
require("./uri/info"),
require("./google-news/google-news"),
require("./dict/countries"),
require("./elasticsearch/elasticsearch"),
// require("./nlp-uk/token"),
// require("./nlp-uk/ner")
]
.concat(require("./cypher"))
.concat(require("./mysql"))
.concat(require("./plantu... |
'use strict';
exports.__esModule = true;
var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _componentOrElement = require('prop-types-extra/lib/componentOrElement');
var _componentOrElement2 = _interopRequireDefault(_componentOrElement);
var _react = require('react')... |
const actions = {
SET_CLASS_STATE: 'SET_CLASS_STATE',
GET_CLASS_DATA: 'GET_CLASS_DATA',
}
export default actions
|
// This file was procedurally generated from the following sources:
// - src/class-fields/computed-name-valueof-err.case
// - src/class-fields/class-evaluation-error/cls-expr.template
/*---
description: Custom error evaluating a computed property name (field definitions in a class expression)
esid: sec-runtime-semantic... |
import * as tslib_1 from "tslib";
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AppRoutingModule } from './app-routing.module';
import { NgbM... |
export var $ = (s, d = document) => Array.from(d.querySelectorAll(s));
$.one = (s, d = document) => d.querySelector(s); |
module.exports = {
siteMetadata: {
title: 'Full-Stack Bootcamp!',
author: 'Artur Karpiński'
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-source-contentful',
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
accessToken: proce... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { MemoryRouter } from 'react-router-dom';
import App from './App';
it('renders without crashing', () => {
const storeFake = (state) => ({
default: () => { },
subscribe: () => { },
dispatch: () =>... |
gdo.net.app["Maps"].drawEmptyMapTable = function (maxCol, maxRow) {
$("iframe").contents().find("#map_table").empty();
for (var i = 0; i < maxRow; i++) {
$("iframe").contents().find("#map_table").append("<tr id='map_table_row_" + i + "' row='" + i + "'></tr>");
for (var j = 0; j < maxCol; j++) ... |
let data = {
"body": "<path d=\"M31.93 19.2L17.33 4.6a2 2 0 0 0-1.41-.6H6a2 2 0 0 0-2 2v9.92a2 2 0 0 0 .59 1.41l14.6 14.6a2 2 0 0 0 2.83 0l9.9-9.9a2 2 0 0 0 .01-2.83zM9.65 11.31a1.66 1.66 0 1 1 1.66-1.66a1.66 1.66 0 0 1-1.66 1.66z\" class=\"clr-i-solid--badged clr-i-solid-path-1--badged\" fill=\"currentColor\"/><circl... |
const passport = require('passport');
const User = require('../models/user');
const LocalStrategy = require('passport-local').Strategy;
const FacebookStrategy = require('passport-facebook').Strategy;
//==============================================================================
// SESSION SERIALIZATION
//===========... |
var cobs = require('../');
function run(text, ws) {
var program = cobs.compileProgram(text, ws);
program.procedure = program.compileFunction();
var data = program.run(null);
if (data)
return data.working_storage;
else
return null;
};
exports['compile and run move'... |
const ghpages = require('gh-pages');
const { copyFileSync } = require('fs');
const { copySync } = require('fs-extra');
const { join } = require('path');
const { execSync } = require('child_process');
const basePath = join(process.cwd(), 'dist/app');
const branch = process.env.TRAVIS_BRANCH || execSync(`git branch | sed... |
var path = require('path');
var config = require('./config');
var loader = require('./loader');
var plugin = require('./plugin');
var { resolve } = require('./utils');
//基本配置
var webpackConfig = {
// entry: {},
cache: true,
// devtool: false,
// output: {},
resolve: {
modules: [
resolve('node_modul... |
import React, {
useEffect,
useState,
useCallback,
useLayoutEffect,
useRef,
useMemo,
} from "react";
import PropTypes from "prop-types";
import {
StyledSelectList,
StyledSelectLoaderContainer,
StyledPopoverContainer,
StyledSelectListTable,
StyledSelectListTableHeader,
StyledSelectListTableBody,
}... |
const express = require("express");
const Message = require('../model/messageModel');
const router = express.Router();
//mesaj ekleme kismi
router.post("/",async(req,res)=>{
const newMessage = new Message(req.body);
try {
const savedMessage = await newMessage.save();
res.status(200).json(savedM... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","cy",{title:"Canllawiau Hygyrchedd",contents:"Cynnwys Cymorth. I gau y deialog hwn, pwyswch ESC.",legend:[{name:"Cyffredinol",items:[{n... |
export const GET_TYPPES = "GET_TYPPES"
export const CHANGE_TYPES = "CHANGE_TYPES"
import {api} from "./AY_API"
export function getTypes(){
return (dispatch)=>{
api("ebs.setting.getcheckset","",function(e){
dispatch({
type:GET_TYPPES,
types:e.types
});... |
define(
{
"toc":[
{
"heading":"Table of Contents",
"topics":[
{
"title":"List of Figures",
"href":"lof.html"
},
{
"title":"List of Tables",
"href":"lot.html... |
import { Component, Children } from 'react'
import { storeShape } from './PropTypes'
export default class Provider extends Component {
static propTypes = {
store: storeShape.isRequired
}
static childContextTypes = {
store: storeShape.isRequired
}
getChildContext () {
return {
store: this.... |
class Storage extends (require('../../BaseMethod').BaseMethod) {
constructor(props) {
super(props);
}
getByKey(request_key, callback) {
console.log(5, request_key[0]);
this.db.query("select * from storage where `request_key` = ? ORDER BY rand() limit 0,1",
[request_key[0].toLowerCase()], (q_err... |
/**
* Calculates a new result graph from the given source graph.
* @param {Object} config Configuration parameters.
* @constructor
*/
GraphView = function(config){
// Constructor with no arguments is used for subclasses.
if (arguments.length <= 0) return;
this['config'] = config == null ? {} : config;
this[... |
define([], function() {
return function(config, element) {
'use strict'
const activeItemClass = 'rating__rate-item--active',
errorVisibleClass = 'rating__error--visible',
reviewError = document.getElementById(config.reviewError),
ratingElements = [...element.querySele... |
// Sepcific a new version, like 2.0.1 -> 2.0.2
const fs = require('fs')
const { spawnSync } = require('child_process')
const version = process.argv[2]
if (!version) {
throw Error('No version specified')
}
const files = ['package.json', 'chrome/manifest.json', 'octohint.safariextension/Info.plist']
files.slice(0,... |
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
* in FIPS PUB 180-1
* Version 2.1a Copyright Paul Johnston 2000 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
*/
/*
*... |
// Update with your config settings.
module.exports = {
development: {
client: 'sqlite3',
connection: {
filename: './data/database.db3'
},
useNullAsDefault:true,
migrations:{
directory:'./data/migrations'
},
seeds: {
directory: './data/seeds'
},
// add the follo... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var axios = _interopDefault(require('axios'));
var qs = _interopDefault(require('qs'));
(function (Stat) {
Stat["ok"] = ... |
var YUITest = require('yuitest').YUITest;
var mockery = require('mockery');
var Sequelize = require('sequelize');
var Assert = YUITest.Assert;
var sutPath = '../../../middleware/airbrakeNotifier.js';
var AirbrakeNotifier = require(sutPath);
function FakeAirbrake() {
this.errorNotified = null;
this.notify = f... |
// 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... |
let listaDeGanhos = [10, 30, -10, -5, -1, 40]
let totalNegativos = 0
//seu loop aqui:
for(let i = 0; i< listaDeGanhos.length; i++){
if(listaDeGanhos[i] < 0){
totalNegativos++;
console.log(totalNegativos)
}
} |
var redis = require("ioredis");
var config = require("config");
var util = require("util");
//var resource = config.Host.resource;
//change and modify the secret
var redisip = config.Security.ip;
var redisport = config.Security.port;
var redispass = config.Security.password;
var redismode = config.Security.mode;
var r... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var querystring_builder_1 = require("@aws-sdk/querystring-builder");
function formatUrl(request) {
var protocol = request.protocol, path = request.path, hostname = request.hostname, port = request.port, query = request.query;
if (proto... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var styled_icon_1 = require("@styled-icons/styled-icon");
exports.Wrench = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentC... |
const express = require('express');
const mongoose = require('mongoose');
const routes = require('./routes')
const cors = require('cors')
const app = express();
mongoose.connect('mongodb+srv://omnistack:omnistack@cluster0-yv3gr.mongodb.net/week10?retryWrites=true&w=majority', {
useNewUrlParser: true,
useUnifi... |
"use strict";
require("./helpers/setup");
var actions = require('./helpers/actions');
var wd = require("wd"),
_ = require('underscore'),
serverConfigs = require('./helpers/appium-servers');
var TouchAction = require('wd').TouchAction;
var Q = require('q');
wd.addPromiseChainMethod('tap_once', actions.tap_onc... |
var assert = require('assert');
var revaluate = require('..');
var result = [];
for (var i = 0; i < 10; i++) {
var cls = revaluate([
'class Class {',
' set value(value) {',
' this[' + i + '] = value;',
' }',
'}',
'Class',
].join('\n'), __filename, function(output) {
return eval(out... |
Search.setIndex({docnames:["data_reader/convert_FIRE_data","data_reader/files","data_reader/fire_quickstart","data_reader/flask","data_reader/flask_tutorial","data_reader/index","data_reader/multiple_datasets","data_reader/multiple_datasets_tutorial","data_reader/reader","data_reader/reader_tutorial","data_reader/setti... |
let
images = document.images ,
images_total_count = images.length ,
images_loaded_count = 0 ;
for (let i = 0; i < images_total_count; i++)
{
image_clone = new Image();
image_clone.... |
import React from 'react';
import Radio from '@material-ui/core/Radio';
import RadioGroup from '@material-ui/core/RadioGroup';
import FormControlLabel from '@material-ui/core/FormControlLabel';
import FormControl from '@material-ui/core/FormControl';
import FormLabel from '@material-ui/core/FormLabel';
function FormCo... |
var group___s_t_m8_a_f___s_t_m8_s_struct___c_a_n__t_8_page_8_p_a_g_e__0_8_m_d_a_r1 =
[
[ "DATA", "group___s_t_m8_a_f___s_t_m8_s.html#ae44f9e348e41cb272efa87387728571b", null ]
]; |
const util = require('../../utils/util.js');
const api = require('../../config/api.js');
const user = require('../../services/user.js');
import _gsTracker from '../../utils/gs_v3.8.5.15.js';
//获取应用实例
const app = getApp()
const options = {
data: {
floorGoods: [],
openAttr: false,
showChannel... |
function setHdrSectionPropFun() {
// ---------- Set ObjProperties
setHdrSectionProp('', viewBag.ObjKy, '', 'HdrSec1');
setHdrSectionProp('', viewBag.ObjKy, '', 'HdrSec2');
setHdrSectionProp('', viewBag.ObjKy, '', 'HdrSec3');
setHdrSectionProp('', viewBag.ObjKy, '', 'HdrSec4');
setHdrSectionPr... |
const mongoose = require("mongoose");
const { Schema } = mongoose;
const moment = require("moment");
const commentSchema = new Schema({
commentBody: {
type: String,
required: true,
minlength: 1,
maxlength: 300,
},
createdAt: {
type: Date,
default: Date.now,
get: (timestamp) => moment(... |
import { init } from "./classEditor";
import { init as serverInit } from "./server";
import { configureToasts } from "./toast";
configureToasts({
topOrigin: -48
});
window.addEventListener("load", () => {
serverInit(data => init(data));
}); |
/**
* @license Highstock JS v7.2.1 (2019-10-31)
*
* Parabolic SAR Indicator for Highstock
*
* (c) 2010-2019 Grzegorz Blachliński
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
mo... |
import AlertingModel from "./model";
import AlertingTemplate from "text-loader!./template.html";
import "bootstrap/js/alert";
/**
* @member AlertingTemplate
* @description Template used to create the alert message
* @memberof Alerting
*/
const AlertingView = Backbone.View.extend(/** @lends AlertingView.prototype */... |
import DistanceItem from './DistanceItem'
export default DistanceItem
|
const ast = ["svg",{"attrs":{"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","class":"feather feather-inbox"}},[["polyline",{"attrs":{"points":"22 12 16 12 14 15 10 15 8 12 2... |
var searchData=
[
['saph_5fa',['saph_a',['../group__saph__a__api.html',1,'']]],
['saph',['saph',['../group__saph__api.html',1,'']]],
['sdhs',['sdhs',['../group__sdhs__api.html',1,'']]],
['sfr',['sfr',['../group__sfr__api.html',1,'']]],
['sysctl',['sysctl',['../group__sysctl__api.html',1,'']]]
];
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("val... |
import React from 'react';
import AppBar from '@material-ui/core/AppBar';
import CssBaseline from '@material-ui/core/CssBaseline';
import Drawer from '@material-ui/core/Drawer';
import Hidden from '@material-ui/core/Hidden';
import IconButton from '@material-ui/core/IconButton';
import List from '@material-ui/core/List... |
import React from 'react'
const About = () => (
<div>
<br/>
<h3>About Recipe Box: </h3>
<p>Recipe Box is a cookbook in your pocket. Our service allows you to add and remove any recipes and saves all your recipes in our database so that they will never be lost. We hope to provide the best experience in ... |
const puppeteer = require('puppeteer');
/**
* To have Puppeteer fetch a Firefox binary for you, first run:
*
* PUPPETEER_PRODUCT=firefox npm install
*
* To get additional logging about which browser binary is executed,
* run this example as:
*
* DEBUG=puppeteer:launcher NODE_PATH=../ node examples/cross-bro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.