text stringlengths 2 1.04M |
|---|
/* From css-tricks.com */
/* Requires JQuery */
$(function() {
$('.smooth-scroll').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.ha... |
import PropTypes from 'prop-types';
const RefComponent = PropTypes.shape({ current: PropTypes.element });
const StyledComponent = PropTypes.shape({
classes: PropTypes.object,
innerRef: RefComponent
});
export const propTypes = {
actions: PropTypes.arrayOf(
PropTypes.oneOfType([
PropTypes.func,
P... |
import React from 'react';
import '../styles/Header.css';
const Header = () => {
return (
<div className="header">
<nav className="navbar container">
<div className='logo-box'>
<img id ='logoLM' src='img/logo.jpeg' width='60px' ></img>
<a ... |
require("dotenv").config();
const pg = require("pg");
if (process.env.DATABASE_URL) {
pg.defaults.ssl = { rejectUnauthorized: false };
}
const sharedConfig = {
client: "pg",
migrations: { directory: "./api/data/migrations" },
seeds: { directory: "./api/data/seeds" },
};
module.exports = {
development: {
... |
/*****************************************************************************
* Open MCT, Copyright (c) 2014-2018, 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 ... |
import ActionTypes from '../constants/actions';
export default (state = null, action) => {
switch (action.type) {
case ActionTypes.ROUTER_STATE_CHANGE:
return action.state;
default:
return state;
}
}; |
/*!
* Bootstrap v3.3.4 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=38a0653c5267fe665b68)
* Config saved to config.json and https:... |
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M7 18h2V6H7v12zm4 4h2V2h-2v20zm-8-8h2v-4H3v4zm12 4h2V6h-2v12zm4-8v4h2v-4h-2z" /></g>
, 'GraphicEq'); |
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import MaterialTextField from '@material-ui/core/TextField';
const inputLabelBase = {
transform: 'none',
transition: 'none',
position: 'initial',
color: '#5b5b5b',
};
const styles = {
materi... |
const uuidv1 = require("uuid/v1");
/**
* Handles stuff like this:
{
"directive": {
"header": {
"namespace": "Alexa.PowerController",
"name": "TurnOn",
"payloadVersion": "3",
"messageId": "553b13e6-7202-4adb-ac03-ee30b8a7f273",
"correlationToken":... |
/*
LEVELS:
E = Exposure = 0
N = Novice = 1
P = Proficient = 2
J = Journeyman = 3
*/
function createCategoryObject(name, items) {
return {
category: name,
items: items
}
}
function createStandardObject(name, level, sample1, sample2, sample3) {
return {
name: name,
level: le... |
sap.ui.define([
"sap/ui/core/mvc/Controller",
"sap/m/MessageBox"
], function (Controller, MessageBox) {
"use strict";
var sResponsivePaddingClasses = "sapUiResponsivePadding--header sapUiResponsivePadding--content sapUiResponsivePadding--footer";
return Controller.extend("sap.m.sample.MessageBoxInfo.C", {
onS... |
import Module from '../../core/Module.js';
import defaultReaders from './defaults/readers.js';
import defaultWriters from './defaults/writers.js';
class Persistence extends Module{
constructor(table){
super(table);
this.mode = "";
this.id = "";
// this.persistProps = ["field", "width", "visible"];
this.d... |
function cancelPopup(message, message2){
swal({
title: message,
text: message2,
type: "error",
showConfirmButton: true
});
}
function checkQuickNotif() {
if (document.getElementById('title').value == "" || document.getElementById('body').value == "") {
cancelPopup("¡... |
let db;
const request = indexedDB.open('budget', 1);
// checks if new version is available
request.onupgradeneeded = function (e) {
const db = e.target.result;
// creates object store called 'new_transaction' that auto increments for data retrieval
db.createObjectStore('new_activity', { autoIncrement: tru... |
var _ = require('underscore');
module.exports = function checkAndBuildRequiredOpts (actualOpts, requiredOpts, context) {
if (requiredOpts === void 0) {
throw new Error('Opts are required');
}
_.each(requiredOpts, function (item) {
if (actualOpts[item] === void 0) throw new Error(item + ' is required');
... |
/** @license MUI v5.0.0-alpha.51
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export * from './AutocompleteUnstyled';
export { default as BackdropUnstyled } from './BackdropUnstyled';
export * from './BackdropUnstyled';
export { def... |
Grailbird.data.tweets_2014_09 =
[ {
"source" : "\u003Ca href=\"http:\/\/twitter.com\/#!\/download\/ipad\" rel=\"nofollow\"\u003ETwitter for iPad\u003C\/a\u003E",
"entities" : {
"user_mentions" : [ ],
"media" : [ ],
"hashtags" : [ ],
"urls" : [ ]
},
"geo" : { },
"id_str" : "516292310645346304... |
import Data from './Data';
/**
* Wrap an element around Bulma.
* @param {String|HTMLElement} selector The selector or HTMLElement to wrap.
*/
function Bulma(selector) {
if(! (this instanceof Bulma)) {
return new Bulma(selector);
}
if(selector instanceof Bulma) {
return selector;
}
... |
//// [tests/cases/compiler/unusedImports12.ts] ////
//// [b.ts]
export class Member {}
export default Member;
//// [a.ts]
import { Member } from './b';
import d, { Member as M } from './b';
import * as ns from './b';
import r = require("./b");
//// [b.js]
"use strict";
exports.__esModule = true;
exports.Member = v... |
'use strict';
var _ = require('lodash');
var $ = require('preconditions').singleton();
var chai = require('chai');
chai.config.includeStack = true;
var sinon = require('sinon');
var should = chai.should();
var async = require('async');
var request = require('supertest');
var Uuid = require('uuid');
var sjcl = require(... |
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]; } } } return target; };
var _createClass = function () { function defineProperties(ta... |
'use strict';
const _ = require('lodash');
const Graph = function(stories) {
this.stories = stories;
};
Graph.prototype.loadAllStories = function() {
// TODO
};
Graph.prototype.render = function(renderOptions) {
};
module.exports = Graph; |
const fs = require('fs');
const pkg = require('./package.json');
const filename = 'anchor.min.js';
const script = fs.readFileSync(filename);
const padStart = str => ('0' + str).slice(-2)
const dateObj = new Date;
const date = `${dateObj.getFullYear()}-${padStart(dateObj.getMonth() + 1)}-${padStart(dateObj.getDate())}`;... |
//# sourceMappingURL=787.cff6ef16.chunk.js.map |
return _inherits(b,a),_createClass(b,[{key:"setDimensions",value:function setDimensions(a){// SyntheticResizeEvent
var b=a.offsetHeight,c=a.offsetWidth;this.setState({overflow:{x:this.state.container.width-c,y:this.state.container.height-b}})}},{key:"positionTarget",value:function positionTarget(){var a=Math.abs,b=this... |
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this n... |
var searchData=
[
['m900dllshared_5fexport',['M900DLLSHARED_EXPORT',['../m900dll__global_8h.html#a93876c6896df560c9a654e4a42adc793',1,'m900dll_global.h']]]
]; |
const Category = require('../models/category');
const Item = require('../models/item');
const debug = require('debug')('controller');
const Joi = require('@hapi/joi');
const path = require('path');
const mf = require('../lib/fileManager');
const { findAllValidationErrors } = require('../lib/validationErrorManager');
co... |
import React, {
useReducer, useState, useEffect, createContext,
} from 'react';
import * as arr from 'd3-array';
import { getQueriedWord } from '../../lib/getQueriedWord';
import { getSentences } from '../../lib/stats';
import reducer from './reducer'
const TextAreaContext = createContext();
const { Provider, Consume... |
// Copyright (c) 2022, Arnold DJAPOU and contributors
// For license information, please see license.txt
frappe.ui.form.on('Activit', {
// refresh: function(frm) {
// }
}); |
const firebase = require('firebase')
window.app = firebase.initializeApp({
apiKey: "AIzaSyBMlvoWc9MI1boEeXFWNuD8uYv-8mpAMSU",
projectId: "ic-firebase-uploader",
storageBucket: "ic-firebase-uploader.appspot.com",
databaseURL: "https://ic-firebase-uploader.firebaseio.com/",
})
window.unload = app.delete |
var timer = 60;
var intervalId;
var isSubmitted = false;
var selectedAnswers = [];
var checkedAnswers = [];
//You can add any amount of questions!
var questions = [
{
question: 'Which insect inspired the term computer bug?',
answers: ['Moth','Cockroach','Fly','Beetle'],
correctIndex: 0,
divToAppend: $('div',{... |
var PImage = require('../src/pureimage');
{
// compositing tests
// red onto white
eq(PImage.compositePixel(0xFF0000FF, 0xFFFFFFFF), 0xFF0000FF);
// blue onto white
eq(PImage.compositePixel(0x00FF00FF, 0xFFFFFFFF), 0x00FF00FF);
// red onto black
eq(PImage.compositePixel(0xFF0000FF, 0x00000... |
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
export default class ReactNativeSample extends Component {
render() {
return (
<View style={styles.c... |
'use strict';
const path = require('path');
const assert = require('assert');
const memoryWriter = require('../stubs/memory-writer');
const generateTestSuite = (module, proxyquire) => {
const moduleName = path.basename(module.filename, '.js');
const modulePath = path.dirname(module.filename);
const path... |
/**
*
* ©2016-2017 EdgeVerve Systems Limited (a fully owned Infosys subsidiary),
* Bangalore, India. All Rights Reserved.
*
*/
var mongoHost = process.env.MONGO_HOST || 'localhost';
var dbName = process.env.DB_NAME || 'oe-common-mixins-test';
module.exports =
{
"memdb": {
"name": "memdb",
"connector": "... |
// Enter a speed between 0 and 180
var level = 175;
// Trig to calc meter point
var degrees = 180 - level,
radius = .5;
var radians = degrees * Math.PI / 180;
var x = radius * Math.cos(radians);
var y = radius * Math.sin(radians);
// Path: may have to change to create a better triangle
var mainPath = 'M -.0 -0.0... |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import * as productActions from "../../../actions/productActions";
import ProductDetails from '../../presentational/ProductDetails/ProductDetails';
class ProductPage extends... |
'use strict';
require('chai').should();
const Hexo = require('hexo');
const hexo = new Hexo();
describe('button', () => {
const postButton = require('../../scripts/tags/button')(hexo);
it('only url', () => {
postButton(['#']).should.eql('<a class="btn" href="#"></a>');
});
it('url and text', () => {
... |
var path = require('path');
var webpack = require('webpack');
module.exports = {
devtool: 'eval',
entry: [
'./src/index'
],
output: {
path: path.join(__dirname, 'dist'),
filename: 'bundle.js',
publicPath: '/static/'
},
resolve: {
extensions: ['.js', '.ts', '.tsx']
},
module: {
l... |
exports.up = async function (knex) {
return knex.schema.createTable('profile', (table) => {
table.increments('id').primary()
table.integer('user_id').notNullable().references('user.id').unsigned().index()
table.string('snail_mail_address', 250).defaultTo(null)
table.string('phone_number', 32).defaultT... |
import { useContext } from 'react';
import Card from './Card';
import BillDetail from './BillDetail';
import CartContext from '../../FoodOrdering/components/Cart/CartController/CartContext';
import classes from './Bill.module.css';
import React from 'react';
import random from './Id'
import { LoginContext } from '../.... |
/**
* 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.
*/
/* global expect, describe, it */
'use strict';
const fs = require('fs');
const path = require('path');
function applyTransform... |
var background = (function() {
var render = function() {
var html = helper.e("html");
var background = helper.e(".background");
var backgroundImage = helper.e(".background-image");
if (state.get().background.image.show) {
helper.removeClass(background, "is-hidden");
html.style.setProperty... |
/*
* Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com.
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is free software: you can redistribute it and/or modify
* it under the terms... |
import React, { PureComponent } from 'react'
import { connect } from 'dva'
import { withI18n } from '@lingui/react'
import { Page } from '../../../src/components'
import styles from './index.less'
import { config, helpers } from '../../../src/utils'
import { Button, Col, Form, Input, Row, Select } from 'antd'
const { T... |
import moment from 'moment';
import decorate from '../../../decorate';
const extended = decorate(moment);
describe('validateInputValue', function () {
it(`should throw an error if you do not pass a 'format'`, function () {
expect(() => extended.validateInputValue('12/02/2022')).toThrow(
`[moment.validateI... |
const router = require('express').Router();
const userRoutes = require('./userRoutes');
const postRoutes = require('./post-routes');
const commentRoutes = require('./comment-routes');
router.use('/users', userRoutes);
router.use('/posts', postRoutes);
router.use('/comments', commentRoutes);
module.exports = router; |
export const appState = {
initialized: false,
} |
/*
* Class for a drawing a bar marker on the map. This is the basis for the BarChartMarker
*/
L.BarMarker = L.Path.extend({
initialize: function (centerLatLng, options) {
L.Path.prototype.initialize.call(this, options);
this._latlng = centerLatLng;
},
options: {
fill: true,
width: 2,
maxHeight: 10,
... |
(self.webpackChunkgeonode_mapstore_client=self.webpackChunkgeonode_mapstore_client||[]).push([[5442],{871405:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>o});var c=t(418093).createSink;const o=function(){return{Map:c((function(){})),Layer:c((function(){})),Feature:c((function(){}))}}}}]); |
import React, { useEffect, useState } from "react";
import { makeStyles } from "@material-ui/core/styles";
import Accordion from "@material-ui/core/Accordion";
import AccordionSummary from "@material-ui/core/AccordionSummary";
import AccordionDetails from "@material-ui/core/AccordionDetails";
import Typography from "@m... |
import React from 'react'
import Heading from './heading'
export const Projects = () => (
<>
<Heading title="Projects" subtitle="Work done" isRight />
<div className="project">
<div className="project__container container">
<div className="project__inner row">
<div className="project... |
/* Mudança de Tela de Cadastro e Login*/
let btnLogin = document.querySelector("#login");
let btnSignup = document.querySelector("#signup");
let view = document.querySelector("body");
btnLogin.addEventListener("click", function () {
view.className = "loginJs";
});
btnSignup.addEventListener("click", function () ... |
import { arrayOf, oneOfType, shape, string } from 'prop-types';
const itemsShape = arrayOf(
shape({
text: string,
url: string
})
);
const categoryDataShape = shape({
title: string,
items: itemsShape
})
export default oneOfType([
itemsShape,
categoryDataShape
]) |
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
import { createStore, applyMiddleware, combineReducers, compose } from 'redux';
import {Provider, connect} from "... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[65],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Pagination/index.vue?vue&type=script&lang=js&":
/*!************************************************************************************... |
'use strict';var lang_1 = require('angular2/src/facade/lang');
var forms_1 = require('./forms');
var directives_1 = require('./directives');
/**
* A collection of Angular core directives that are likely to be used in each and every Angular
* application. This includes core directives (e.g., NgIf and NgFor), and forms... |
/**
* Copyright (c) Nicolas Gallagher.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';
import { MONOSPACE_FONT_STACK, SYSTEM_FONT_STACK, STYLE_SHORT_FORM_EXPANSIONS } f... |
import * as tslib_1 from "tslib";
import '../polyfill';
import Control from '../Control';
import '../../css/TextArea.css';
var TextArea = /** @class */ (function (_super) {
tslib_1.__extends(TextArea, _super);
function TextArea(params) {
var _this = _super.call(this) || this;
_this._onClick = fu... |
$(document).ready(function(e){
$( document ).on( 'click', '.bs-dropdown-to-select-group .dropdown-menu li', function( event ) {
let $target = $( event.currentTarget );
$target.closest('.bs-dropdown-to-select-group')
.find('[data-bind="bs-drp-sel-value"]').val($target.attr('data-value'))
.end()
.chil... |
import chalk from 'chalk';
const help = () => {
console.log(`
bottender messenger <command> <action>
${chalk.dim('Commands:')}
get-started <action> Manage get-started
greeting <action> Manage greeting text
menu, persistent-menu <action> Manage persist... |
import DappLib from "@decentology/dappstarter-dapplib";
import DOM from "../components/dom";
import "../components/action-card.js";
import "../components/action-button.js";
import "../components/text-widget.js";
import "../components/number-widget.js";
import "../components/account-widget.js";
import "../components/upl... |
;(function(global){
var mmirName = typeof MMIR_CORE_NAME === "string"? MMIR_CORE_NAME : "mmir";
var mmir = global? global[mmirName] : void(0);
var require = mmir && mmir.require? mmir.require : (typeof requirejs !== "undefined"? requirejs : (global? global.require : require));
var semanticInterpreter = require("mmirf/s... |
/** @jsx hyperscript */
import hyperscript from '../hyperscript';
export default (
<value>
<document>
<table>
<table_row>
<table_cell>
<paragraph>Col 0, Row 0</paragraph>
</table_cell>
<table_cel... |
/**
* Auto-generated action file for "Zuora API Reference" API.
*
* Generated at: 2019-05-07T14:45:12.773Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / zuora-com-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed... |
#!/usr/bin/env node
const arguita = (function () {
"use strict";
const fs = require("fs");
const COMMA = 44;
const SEMICOLON = 59;
const COLON = 58;
const SPACE = 32;
const LEFT_PARENTHESIS = 40;
const RIGHT_PARENTHESIS = 41;
const NUMERIC = [48, 57];
const ALPHA = [[65, 90], [97, 122]];
const ALPHA_SPACE = ... |
'use strict';
import {API_SERVICE} from 'core/api/api.service';
let angular = require('angular');
module.exports = angular.module('spinnaker.azure.image.reader', [API_SERVICE])
.factory('azureImageReader', function ($q, API) {
function findImages(params) {
return API.one('images/find').get(params)
... |
'use strict';
/* Appenders implementations */
function Appender() {
}
Appender.prototype.write = function(level, message){}
/* Console appender */
function ConsoleAppender() {
}
ConsoleAppender.prototype = Object.create(Appender.prototype);
ConsoleAppender.prototype.constructor = ConsoleAppender;
ConsoleAppen... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.printBlockString = exports.printType = exports.printIntrospectionSchema = exports.printSupergraphSdl = void 0;
const graphql_1 = require("graphql");
const utilities_1 = require("../utilities");
const coreSpec_1 = require("../coreSpec")... |
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/ |
#!/usr/bin/env node
'use strict';
/*jshint esversion: 6 */
/*jslint node: true */
var _yargs = require('yargs');
var _yargs2 = _interopRequireDefault(_yargs);
var _package = require('../../package.json');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
_yargs2.defau... |
import React, { Component } from "react";
import Loader from "react-loader-spinner";
import Post from "./Post";
import PostForm from "./PostForm";
import { connect } from "react-redux";
import { getPosts } from "../../actions";
import { likePost } from "../../actions";
import PropTypes from "prop-types";
class PostCon... |
import { ActionNames } from "../../constants.js";
import { Map } from "immutable";
import createAPIReducer from "../utils/createAPIReducer";
const initialState = Map({
data: Map({
users: 0,
repositories: 0,
repoEntries: 0,
verilogEntries: 0,
netlistEntries: 0,
testb... |
// Convenient way for opening links in external browser, not in the app.
// Useful especially if you have a lot of links to deal with.
//
// Usage:
//
// Every link with class ".js-external-link" will be opened in external browser.
// <a class="js-external-link" href="http://google.com">google</a>
//
// The same behavi... |
$(document).ready(function() {
console.log('loaded');
$('#btn_avaliar').click(function() {
$('#myModal').modal('show');
})
$('#myModal').on('shown.bs.modal', function () {
/*
Funcao responsavel por avaliar a receita
*/
$.ajax({
url: URL_AVALI... |
module.exports = {
env: {
browser: true,
es2021: true,
jest: true,
},
extends: ['plugin:react/recommended', 'airbnb', 'prettier'],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: ['react'],
rules: {},
}; |
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under the MIT license
*/
if ("undefined" == typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");
+function (a) {
"use strict";
var b = a.fn.jquery.split(" ")[0].split(".");
if (b[0] < 2 &&... |
/* global wpseoReplaceVarsL10n, YoastSEO */
(function() {
'use strict';
/**
* variable replacement plugin for wordpress.
*/
var YoastReplaceVarPlugin = function() {
this.replaceVars = wpseoReplaceVarsL10n.replace_vars;
YoastSEO.app.registerPlugin( 'replaceVariablePlugin', { status: 'ready' } );
this.reg... |
import { useState, useEffect, useRef, useCallback } from 'react'
import TokenTracker from '@alayanetwork/eth-token-tracker'
import { useSelector } from 'react-redux'
import { getCurrentNetwork, getSelectedAddress } from '../selectors'
export function useTokenTracker (tokens) {
const network = useSelector(getCurrent... |
/*
* Copyright 2010-2012 Research In Motion Limited.
*
* 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 ... |
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* DS206: Consider reworking classes to avoid initClass
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
let _ShareView;
const _ = require('underscore');
const Backbone = r... |
const util = require("util");
const glob = util.promisify(require('glob'));
const fs = require("fs").promises;
const path = require('path');
async function main() {
var errors = [];
var directories = await glob(__dirname + '../../dishes/**/*.md');
for (var filePath of directories) {
var data = aw... |
import {
COMMON,
WEB,
NATIVE
} from '../config'
import {
specialObserver
} from '../helpers'
import {
RENDER_HELPER_MODULE_NAME
} from '../constants'
class BaseGenerator {
constructor (ast, options) {
this.ast = ast
this.variableDependency = []
this.slots = []
this.vueConfig = options.vueCo... |
import React from "react";
// Project imports
import MainViewIndex from "../views/main";
import PasswordGenerateIndex from "../views/passwordGenerate";
import PasswordListIndex from "../views/passwordList";
import PasswordViewIndex from "../views/passwordView";
const mainRoutes = {
path: "/",
element: <MainViewIn... |
module.exports = {
purge: { content: ['./public/**/*.html', './src/**/*.vue'] },
darkMode: false, // or 'media' or 'class'
theme: {
colors: {
black: 'var(--black)',
primary: 'var(--primary)',
secondary: 'var(--secondary)',
'primary-hover': 'var(--primary-hover)',
'ws-wave-color':... |
import Togglable from '../mixin/togglable';
import {$$, addClass, attr, children, css, data, endsWith, filter, getIndex, index, isEmpty, matches, queryAll, removeClass, toNodes, within} from 'uikit-util';
export default {
mixins: [Togglable],
args: 'connect',
props: {
connect: String,
to... |
import React from "react"
import styles from "./about-css-modules.module.css"
import Container from "../components/container"
import { graphql } from "gatsby"
const User = props => (
<div className={styles.user}>
<img src={props.avatar} className={styles.avatar} alt="" />
<div className={styles.description}>... |
import React, { useEffect } from "react"
import { TimelineMax } from "gsap"
import { useStaticQuery, graphql } from "gatsby"
import BtnContact from "../BtnContact"
import Background from "./background"
import * as S from "./styled"
const ImgLogo = () => {
const { imgLogo } = useStaticQuery(graphql`
query {
... |
"use strict"
const path = require("path")
module.exports = {
build: {
// Webpack mode
mode: "production",
// Template for index.html
index: path.resolve(__dirname, "../dist/index.html"),
// Paths
assetsRoot: path.resolve(__dirname, "../dist"),
assetsSubDirectory: "assets",
assetsPu... |
import React from "react";
import Hero from "../components/Hero";
import Banner from "../components/Banner";
import { Link } from "react-router-dom";
import RoomsContainer from "../components/RoomsContainer";
const Rooms = () => {
return (
<>
<Hero hero="roomsHero">
<Banner title='our rooms'>
... |
/**
* ----------------------------------------------------------------------------------------------------
* Generate Algorand Wallet [Input]
*
* @author Buildable Technologies Inc.
* @access open
* @license MIT
* @docs https://tatum.io/apidoc.php#operation/AlgorandGenerateWallet
* ----------------... |
var express = require('express');
var router = express.Router();
router.get('/', function(req, res, next) {
res.send('Go check the ping endpoint.')
});
module.exports = router; |
var searchData=
[
['pixel',['Pixel',['../structEstructura_1_1Pixel.html',1,'Estructura']]],
['pixel',['pixel',['../classEstructura.html#a654a8d1db30bd97916e083a4f7a05666',1,'Estructura']]],
['point',['point',['../structEstructura_1_1Pixel.html#af5a856559840e7f38fab3147aa576146',1,'Estructura::Pixel']]],
['point... |
/*
* PopupBox (for jQuery)
* version: 1.2 (05/05/2008)
* @requires jQuery v1.2 or later
*
* Examples at http://famspam.com/popupbox/
*
* Licensed under the MIT:
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright 2007, 2008 Chris Wanstrath [ chris@ozmm.org ]
*
* Usage:
*
* jQuery(docum... |
/**
* Combine all reducers in this file and export the combined reducers.
* If we were to do this in store.js, reducers wouldn't be hot reloadable.
*/
import { combineReducers } from 'redux-immutable';
import { fromJS } from 'immutable';
import { LOCATION_CHANGE } from 'react-router-redux';
/*
* routeReducer
*
... |
/**
* ----------------------------------------------------------------
* Copyright © Backbase B.V.
* ----------------------------------------------------------------
* Author : Backbase R&D - Amsterdam - New York
* Filename : core.spec.js
* Description:
* --------------------------------------------------... |
// Copyright 2017 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.
(async function() {
'use strict';
TestRunner.addResult(
`Verify that a network file tab gets substituted with filesystem tab when persistence bi... |
var searchData=
[
['id_293',['ID',['../namespace_s_g_core_1_1_parsing.html#a61fa86f27439ac626c7c8c5314121c6ba849cd23e48df3f8b654d20e02baf2223',1,'SGCore::Parsing::ID()'],['../namespace_s_g_core_1_1_nova_1_1_parsing.html#a1b50041ca98a2314fe5278ba29c7f321a12eb3672efedfe5dcfb08bb70b84f0db',1,'SGCore::Nova::Parsing::ID()... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.