text stringlengths 2 1.04M |
|---|
module.exports = {
prefix: "-",
devs: ["748065198333755423"], ///تعديل اساسي ايدي حسابك
}; |
/*
* 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/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{364:function(t,e,s){"use strict";s.r(e);var l=s(41),i=Object(l.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[e("h1",{attrs:{id:"hello-guide"}},[e("a",{staticClass:"head... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
(function($) {
const
$payments = $("#payments"),
$paymentDate = $("#payment-date");
$("article").click(function(event) {
const $element = $(event.target);
switch(true) {
case $element.hasClass('delete-payment'):
deletePayment.bind(event.target)();
break;
case $element.hasClass('add-payment'... |
/* eslint-env jest */
/* global jasmine */
import fs from 'fs-extra'
import { join } from 'path'
import { launchApp, findPort, nextBuild } from 'next-test-utils'
jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 2
let appDir = join(__dirname, '..')
const nextConfigPath = join(appDir, 'next.config.js')
const writeConfig... |
import React from "react";
import "./Listitems.css";
function ListItems(props) {
const items = props.items;
//map functiuon is like for loop it takes singular element of the array as the argument and returns what we want to do
const listitems = items.map(item => {
return (
<div className="list" key... |
'use strict'
const { wrap } = require('./setup')
describe('ES6 arrow functions', function () {
it('should work with arrow functions', function () {
const wrapped = wrap.the(n => n * 2)
wrapped(42).should.equal(84)
})
it('should throw when using arrows as constructors', function () {
const Wrapped =... |
(function() {
var bModule = angular.module("backApp");
bModule.controller('TemplateModalCtrl', function($scope, $uibModalInstance, backConfig, template, page, TemplateService) {
$scope.exist = function() {
return TemplateService.getExist(page.context, template.kind, template.path, template.name)
.then(function(... |
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)
import codeCoverageTask from '@cypress/code-coverage/task.js';
import {initPlugin} from 'cypress-plugin-snapshots/plugin.js';
export default (on, config) => {
// `on` is used to hook into various events C... |
/*
* 2012-9-18
*/ |
/**
* @ngdoc service
* @name umbraco.services.tinyMceService
*
*
* @description
* A service containing all logic for all of the Umbraco TinyMCE plugins
*/
function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, stylesheetResource, macroResource, macroService, $routeParams, umbRequestHelper... |
/**************************************************************
* Point: defines a point on the map using X and Y coordinates
*
* x: x coordinate
* y: y coordinate
*
* distanceTo(point): takes a point, calculates the distance to
* that point from the current point.
*
* let point = new Point... |
var IRunner = class_create(class_EventEmitter, class_Dfr, {
constructor: function Runner (driver, container, suite, model, compo) {
this.errors = [];
this.model = model;
this.compo = compo;
this.driver = driver;
this.backtrace = new Error().stack;
this.process = this.process.bind(this);
this.next_ = this... |
'use strict';
const mqtt = require('mqtt');
const Config = require('config');
const socketIO = require('socket.io-client');
const socketIOwildcard = require('socketio-wildcard')(socketIO.Manager);
const mqttConfig = Config.get('mqtt');
const automaticConfig = Config.get('automatic');
let mqttOptions = {
will: {
... |
var face_cascade;
function faceDetect(imageData) {
if (face_cascade == undefined ){
console.log("Creating the Face cascade classifier");
face_cascade = new cv.CascadeClassifier();
let load = face_cascade.load('../../test/data/haarcascade_frontalface_default.xml');
console.log('load training data', lo... |
'use strict'
import sinon from 'sinon'
import engineFactory, { Fact, Rule, Operator } from '../src/index'
describe('Engine', () => {
let engine
let sandbox
before(() => {
sandbox = sinon.createSandbox()
})
afterEach(() => {
sandbox.restore()
})
beforeEach(() => {
engine = engineFactory()
}... |
// Copyright (c) 2012 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.
var testStep = [
function () {
chrome.syncFileSystem.requestFileSystem(testStep.shift());
},
function(fs) {
chrome.syncFileSystem.getUsa... |
// Autogenerated from KST: please remove this line if doing any edits by hand!
var assert = require('assert');
var testHelper = require('testHelper');
testHelper('Expr3', 'src/fixed_struct.bin', function(r, Expr3) {
assert.strictEqual(r.one, 80);
assert.strictEqual(r.two, "ACK");
assert.strictEqual(r.three, "@A... |
"use strict";
var validate = (function () {
var refVal = [];
return function validate(
data,
dataPath,
parentData,
parentDataProperty,
rootData
) {
"use strict" /*# sourceURL=Percentage */;
var vErrors = null;
var errors = 0;
if (rootData === undefined) rootData = data;
if ... |
import React, { Component } from 'react';
class SearchBar extends Component {
constructor(props) {
super(props);
this.state = { term: '' };
}
render() {
return (
<div className="search-bar">
<input
value = {this.state.term}
onChange={(eventObject) =>
th... |
// 布局脚本
/*====================================
*基于JQuery 1.9.0主框架
*DTcms管理界面
*作者:一些事情
====================================*/
//绑定需要浮动的表头
$(function(){
$(".ltable tr:nth-child(odd)").addClass("odd_bg"); //隔行变色
$("#floatHead").smartFloat();
$(".rule-single-checkbox").ruleSingleCheckbox();
$(".rule-multi-che... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["IpldDagCbor"] = factory();
else
root["I... |
import React from 'react';
import { Text, TouchableOpacity } from 'react-native';
const Button = (props) => {
const { buttonStyle, textStyle } = styles;
const { onPress, children } = props;
return (
<TouchableOpacity style={buttonStyle} onPress={onPress}>
<Text style={textStyle}>{children}</Text>
... |
mycallback( {"ELECTION CODE": "G2010", "EXPENDITURE PURPOSE DESCRIP": "Fundraising Consulting Services", "BENEFICIARY CANDIDATE OFFICE": "", "PAYEE ZIP": "91202", "MEMO CODE": "", "PAYEE STATE": "CA", "PAYEE LAST NAME": "MEGRABYAN", "PAYEE CITY": "GLENDALE", "PAYEE SUFFIX": "", "CONDUIT STREET 2": "", "CONDUIT STREET 1... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.AsleepFilled20 = factory());
}(this, (function () { 'use strict';
var _20 = {
elem: 'svg',
attrs: {
xmln... |
const util = require('util')
const nodeExec = util.promisify(require('child_process').exec)
const TEN_MEGA_BYTE = 1024 * 1024 * 10
// Notifications
const notifier = require('node-notifier')
const path = require('path')
// Configuration stuff
const readPkgUp = require('read-pkg-up')
// Used only for logging/debuggin
... |
/**
* Copyright (c) Stanislav Shishankin
*
* This source code is licensed under the MIT license.
*/
const {zzLinkFind, ViewElements} = require('./zzLink');
const {zzReactive, zzStringConcat} = require('../index');
const {Event} = require('../Event');
const {Router} = require('../Router');
class zzLinkPreventSubmi... |
import { ApolloClient, InMemoryCache, HttpLink, ApolloProvider, ApolloLink } from '@apollo/client'
import { useEffect, useState } from 'react'
import { useAuth0 } from '@auth0/auth0-react'
import { setContext } from '@apollo/link-context'
import { SentryLink } from 'apollo-link-sentry'
import React from 'react'
// htt... |
import React from "react";
import Form from 'react-bootstrap/Form';
import Button from 'react-bootstrap/Button';
export const Login = () => (
<div>
<div className="loginForm">
<Form>
<Form.Group className="mb-3" controlId="formBasicEmail">
<Form.Label>Email ... |
var m = require('mithril');
module.exports = m.trust('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 5v14h2V5h-2zm-4 14h2V5h-2v14zM14 5H2c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM8 7.75c1.24 0 2.25 1.01 2.25 2.25S9.24 12.25 8 12.25 5.75 11... |
import { AUTH_USER, AUTH_ERROR } from "../actions/types";
const INITIAL_STATE = {
authenticated: "",
errorMessage: ""
};
export default (state = INITIAL_STATE, action) => {
switch (action.type) {
case AUTH_USER:
return {
...state,
authenticated: action.payload
};
case AUTH_ER... |
var searchData=
[
['e',['e',['../d4/d54/structnlohmann_1_1detail_1_1dtoa__impl_1_1diyfp.html#ae22e170815983961447c429f324c944d',1,'nlohmann::detail::dtoa_impl::diyfp::e()'],['../d5/dfe/structnlohmann_1_1detail_1_1dtoa__impl_1_1cached__power.html#a9e89bc89bb7bf4361f43ea27eed91d23',1,'nlohmann::detail::dtoa_impl::cache... |
const getProductFromID = require("../../helper/products/getProductsFromID");
const getProductWithId = (req, res) => {
const params = req.params;
const products = getProductFromID(params.id);
if (params.id > 0)
return res
.status(200)
.set("content-type", "aplication/json")
.json({
... |
import cors from 'cors';
import { json, urlencoded } from 'body-parser';
import express from 'express';
import './src/database/config';
import routes from './src/routes';
const app = express();
app.use(cors());
app.use(json());
app.use(urlencoded({ extended: false }));
app.use('/api/v1', routes);
export default app; |
module.exports = {
root: true,
parser: 'babel-eslint',
env: {
browser: true,
node: true
},
// extends: 'standard', // fuck you indentation
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
rules: {},
globals: {}
} |
/* eslint-disable jsx-a11y/anchor-is-valid */
import React from "react";
import { NavLink } from "react-router-dom";
export default function TopBar({ institute_info }) {
return (
<div className="probootstrap-header-top">
<div className="container">
<div className="row">
<div className="co... |
(function () {
'use strict';
/** Virtual DOM Node */
function VNode() {}
function getGlobal() {
if (typeof global !== 'object' || !global || global.Math !== Math || global.Array !== Array) {
return self || window || global || function () {
return this;
}();
}
return global;
}... |
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot c... |
// *** Tool ensures that invalid JSON requst won't crash whole app
// *** Potential error handling
const { JSON_INVALID } = require("../tools/Error.messages");
const PrettyError = require("../tools/Errors.tools");
module.exports = (err, req, res, next) => {
if (err instanceof SyntaxError && err.status === 400 && "b... |
import { BaseCommandElement } from './BaseCommandElement.js';
import {textUtil} from '../../../lib/src/text/textUtil';
// import {util} from '../util/util.js';
// console.info('BaseCommandElement', BaseCommandElement);
const dll = {};
//===BEGIN===
const {VideoItemElement, VideoItemProps} = (() => {
const ITEM_HEI... |
// import node express framework
const express = require('express');
// init server
const app = express();
// define port
const PORT = 3000;
// import path module (included w/ node.js by default)
const path = require('path');
// import bodyParser
const bodyParser = require('body-parser');
const promptController = ... |
goog.provide('ol.TileCache');
goog.require('ol');
goog.require('ol.structs.LRUCache');
goog.require('ol.tilecoord');
/**
* @constructor
* @extends {ol.structs.LRUCache.<ol.Tile>}
* @param {number=} opt_highWaterMark High water mark.
* @struct
*/
ol.TileCache = function(opt_highWaterMark) {
ol.structs.LRUCach... |
const http = require('http')
const app = require('./app')
const normalizePort = (val) => {
const port = parseInt(val, 10)
if (isNaN(port)) { return val }
if (port >= 0) { return port }
return false
}
const port = normalizePort(process.env.PORT || '3000')
app.set('port', port)
const errorHandler = (error) => ... |
import React, { useEffect, useState } from "react";
import Button from "../Components/Button";
import InputBox from "../Components/InputBox";
import placeholderImg from "../Assets/placeholderImg.png";
function PlanCard({ defaultChecked }) {
return (
<div className="plans__card">
<input
defaultCheck... |
const React = require('react');
const { Component } = require('react');
const { View, Text, Platform, TouchableHighlight } = require('react-native');
const testIDs = require('../testIDs');
const Button = require('./Button');
const { Navigation } = require('react-native-navigation');
class WelcomeScreen extends Compo... |
import Canvas from './Canvas';
export default Canvas; |
var searchData=
[
['g95',['G95',['../classblackjack_1_1cmake_1_1vars_1_1_compiler_i_d_1_1_compiler_i_d.html#a22384d0ff987fa9efa5be87fe60991d6',1,'blackjack::cmake::vars::CompilerID::CompilerID']]],
['get',['get',['../classpexpect_1_1screen_1_1screen.html#a71a5a103f3aa378a3675cd512925c532',1,'pexpect::screen::screen... |
//// [tests/cases/conformance/jsx/tsxDynamicTagName9.tsx] ////
//// [react.d.ts]
declare module 'react' {
class Component<T, U> { }
}
//// [app.tsx]
import * as React from 'react';
export class Text extends React.Component<{}, {}> {
_tagName: "div" = 'div';
render() {
return (
<this._tagName> Hello w... |
import React from 'react';
export const patientsSummaryConfig = [
{
key: 'problems',
title: 'Diagnosis',
state: 'diagnoses',
titleCheckboxes: 'Diagnosis',
nameCheckboxes: 'problems',
imgPreview: '/images/patients-summary/problems.jpg',
isDefaultSelected: true,
}, {
key: 'contacts',
... |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
module('Integration | Component | foo-bar', function(hooks) {
setupRenderingTest(hooks);
test('it renders', async function(assert) {
... |
const { assert, expect } = require('chai');
const types = require('../../../client/actions');
const { locations } = require('../../../client/reducers/locations');
const { initialState } = require('../../../client/reducers/locations');
const { randString } = require('../../../client/utils');
const { expectNoActionForAll... |
import React from "react";
import { ethers } from "ethers";
// import { BigNumber } from "bignumber.js";
import { useSnackbar } from "notistack";
import { useMutation } from "@apollo/client";
import { cardStyles } from "./styles";
import { Avatar, Button, Typography } from "@material-ui/core";
import AvatarIcons from ... |
'use strict';
exports.BattlePokedex = {
lycanroc: {
inherit: true,
species: "Lycanroc",
types: ["Rock", "Normal"],
baseStats: {
hp: 85,
atk: 133,
def: 65,
spa: 55,
spd: 95,
spe: 137
},
abilities: {0: "Keen Eye", 1: "Sand Rush", H: "Rock Head"},
},
emboar: {
inherit: true,
species: "... |
/******/ (function(modules) { // webpackBootstrap
/******/ // install a JSONP callback for chunk loading
/******/ function webpackJsonpCallback(data) {
/******/ var chunkIds = data[0];
/******/ var moreModules = data[1];
/******/ var executeModules = data[2];
/******/
/******/ // add "moreModules" to the modu... |
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( ["jquery", "../jquery.validate"], factory );
} else if (typeof module === "object" && module.exports) {
module.exports = factory( require( "jquery" ) );
} else {
factory( jQuery );
}
}(function( $ ) {
/*
* Translated default ... |
import AnimationTimer from './animation-timer';
class Settings {
constructor() {
this._fps = 60;
}
set fps(fps) {
this._fps = fps;
AnimationTimer.setFps(fps);
}
get fps() {
return this._fps;
}
}
export default new Settings(); |
/*! jQuery UI - v1.12.1 - 2016-09-14
* http://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/e... |
import React, { useState } from 'react';
import { validateEmail } from '../../utils/helpers';
import { BsGithub } from "react-icons/bs";
import { MdEmail } from "react-icons/md";
function ContactForm({currentCategory}) {
const { description} = currentCategory;
const [formState, setFormState] = useState({ name:... |
function math(arg1, arg2, arg3){
return (arg2 * arg3) + arg1;
}
console.log(math(53, 61, 67)); |
const path = require("path");
module.exports = {
i18n: {
locales: ["en", "tr"],
defaultLocale: "en",
localeDetection: false,
},
localePath: path.resolve("./public/locales"),
}; |
import Document, { Html, Head, Main, NextScript } from 'next/document'
class MyDocument extends Document {
render() {
return (
<Html>
<Head>
<link rel="apple-touch-icon" sizes="76x76" href="/static/favicons/apple-touch-icon.png" />
<link
rel="icon"
type="i... |
module.exports = [{"isApi":true,"priority":1000.0013,"key":"Label","style":{width:Ti.UI.SIZE,height:Ti.UI.SIZE,color:"#000",}},{"isId":true,"priority":100101.0012,"key":"movableView","style":{top:0,zIndex:100,width:"100%",}},{"isId":true,"priority":100101.0014,"key":"leftMenu","style":{height:"100%",left:0,top:0,backgr... |
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var exphbs = require('express-handlebars');
var expressValidator = require('express-validator');
var flash = require('connect-flash');
var session = require('express-sessio... |
!function (e, t) {
"use strict";
function n(e, t) {
for (var n, r = [], o = 0; o < e.length; ++o) {
if (n = c[e[o]] || i(e[o]), !n)throw"module definition dependecy not found: " + e[o];
r.push(n)
}
t.apply(null, r)
}
function r(e, r, o) {
if ("str... |
'use strict';
var Textfield = require('./Textfield');
/**
* Functions well in Chrome, Safari, Firefox, and Internet Explorer.
* @constructor
* @extends Textfield
*/
var Number = Textfield.extend('Number', {
initialize: function(grid) {
this.localizer = grid.localization.get('number');
}
});
mod... |
let get404 = (req, res, next) => {
res
.status(404)
.render('404.ejs', { pageTitle: 'Page not found', path: 'Error' })
}
export default {
get404: get404,
} |
function drawCircle(canvas,currentLoad){
if(canvas){
let context = canvas.getContext('2d');
// Draw Inner Circle
context.clearRect(0,0,500,500)
context.fillStyle = "#ccc";
context.beginPath();
context.arc(100,100,90,Math.PI*0,Math.PI*2);
context.closePath();
... |
import { _CREATE, _EDIT } from '@/config/query-params';
import { CIS } from '@/config/types';
import { findBy } from '@/utils/array';
import { downloadFile, generateZip } from '@/utils/download';
import { get, isEmpty, set } from '@/utils/object';
import { sortBy } from '@/utils/sort';
import day from 'dayjs';
import S... |
import BackendModule from "../components/BackendModule";
import InfiniteSelect from "../components/InfiniteSelect";
export default {
mixins:[BackendModule],
components: {
InfiniteSelect,
},
data: () => ({
model: {
title: null ,
description: null ,
bod... |
'use strict';
var expect = require('chai').expect;
var manager = require('../manager');
describe('length(cb)', function() {
before(manager.setUp);
after(manager.tearDown);
describe('with no sessions', function() {
it('should return 0', function(done) {
manager.sessionStore.length(function(error, count) {
... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[96],{
/***/ "./frontend/src/views/forms/form-element/autosuggest/AutoSuggest.vue":
/*!***************************************************************************!*\
!*** ./frontend/src/views/forms/form-element/autosuggest/AutoSuggest.vue ***!
\********... |
window.__NUXT__=(function(a,b,c,d,e){return {staticAssetsBase:"https:\u002F\u002Fwww.baca-quran.id\u002Fstatic\u002F1627814429",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"Baca Qur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark... |
import React from "react";
import PropTypes from "prop-types";
import styled from "styled-components";
const SpacingTag = styled.div`
${props => {
return `
width: ${!!props.width ? props.width : "100%"};
height: ${!!props.height ? props.height : "100%"};
margin: 0;
padding: 0;
... |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('... |
load("bf4b12814bc95f34eeb130127d8438ab.js");
load("93fae755edd261212639eed30afa2ca4.js");
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.6-4-600
description: >
ES5 Attributes - all attributes in Object.getOw... |
module.exports = {
env: {
browser: true,
es6: true,
jest: true,
node: true,
},
extends: ["airbnb-base", "plugin:prettier/recommended"],
parserOptions: {
ecmaVersion: 2018,
sourceType: "module",
},
rules: {
"import/no-extraneous-dependencies": ["error", { devDependencies: true }],... |
define(["../../../../../../core/declare",
"dojo/_base/lang",
"dojo/has",
"../../../../base/Descriptor",
"../../../../form/Element",
"../../../../form/iso/CodeListReference",
"../../../../form/iso/GcoElement",
"../maintenance/MD_ScopeCode",
"dojo/text!./tem... |
/*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.20
*/
(function( window, angular, undefined ){
"use strict";
/**
* @ngdoc module
* @name material.components.toast
* @description
* Toast and Snackbar component.
*/
MdToastDirective['$inject'] = ["$mdToast"];
MdToastP... |
require = require('esm')(module);
module.exports = require('./app.js'); |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.11.0-rc2-master-587cd22
*/ |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.icon = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _extends() { _extends = Object.assign || function (tar... |
require('dotenv').config()
require('express-async-errors')
const http = require('http')
const express = require('express')
const morgan = require('morgan')
const cors = require('cors')
const mongoose = require('mongoose')
const { dbUri } = require('./services/service.db/_access')
const routes = require('./routes/v1'... |
import PropTypes from "prop-types";
import React, { useRef, useState } from "react";
import SectionNav from "./section-nav";
import styled from "@emotion/styled";
import useMount from "react-use/lib/useMount";
import { HEADER_HEIGHT } from "../utils";
import { IconGithub, IconDiscord, IconPlayground } from "../ui/icons... |
import { ref } from 'vue'
import axios from 'axios'
export const page = ref(1)
export const pages = ref(1)
export const movies = ref([])
const discover = axios.create({
baseURL: import.meta.env.VITE_MOVIES_URL,
headers: {
Authorization: `Bearer ${import.meta.env.VITE_MOVIES_TOKEN}`,
},
params: {... |
// test passing hint to the count cmd
// hints are ignored if there is no query predicate
t = db.jstests_count_hint;
t.drop();
t.save( { i: 1 } );
t.save( { i: 2 } );
assert.eq( 2, t.find().count() );
t.ensureIndex( { i:1 } );
assert.eq( 1, t.find( { i: 1 } ).hint( "_id_" ).count(), "A" );
assert.eq( 2, t.find().hi... |
import React from "react";
import { Route, Switch } from "react-router-dom";
import NationalitiesAppMain from "./NationalitiesAppMain";
import DetailedFlagInfo from "./DetailedFlagInfo/DetailedFlagInfo";
const NationalitiesApp = () => {
return (
<Switch>
<Route path={"/"} exact component={NationalitiesAppM... |
/**
* External dependencies
*/
import classnames from 'classnames';
import { withInstanceId } from '@wordpress/compose';
/**
* Internal dependencies
*/
import RadioControlOption from './option';
import './style.scss';
const RadioControl = ( {
className = '',
instanceId,
id,
selected,
onChange = () => {},
op... |
export * from './8bit'; |
var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create, update: update });
function preload() {
game.load.image('loop', 'assets/sprites/loop.png');
}
var bmd;
var loop;
function create() {
// This is the sprite we're going to be drawing onto the BitmapData
/... |
import React from "react";
import "./PokemonCard.css";
const PokemonCard = props =>
props.selectedCard ? (
<div>
<img
className="card-img"
src={props.selectedCard.imageUrlHiRes}
alt={`${props.selectedCard.name} card`}
/>
<div className="card-controls">
<a href="#... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
'use strict';
const getChannelURL = require('ember-source-channel-url');
module.exports = function() {
return Promise.all([
getChannelURL('release'),
getChannelURL('beta'),
getChannelURL('canary'),
]).then((urls) => {
return {
useYarn: true,
scenarios: [
{
name: 'emb... |
/** This source code is forked from https://github.com/facebook/create-react-app **/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
function load(id = 0) {
return [
{ id: id + 1, name: '1' },
{ id: id + 2, name: '2' },
{ id: id + 3, name: '3' },
{ id: id + 4, name: '4'... |
import { useContext } from "react";
import Contentlistscreen from "../pages/Contentlistscreen";
import Detailscreen from "../pages/Detailscreen";
import Mensascreen from "../pages/Mensascreen";
import CategoryList from "../pages/CategoryList";
import { structureContext } from "../hooks/useStructure";
export const Cat... |
import React from "react"
import { Card, Button } from "react-bootstrap"
const Post = (props) => (
<div className="p-3">
<Card>
<Card.Img variant="top" src={props.image}/>
<Card.Body>
<Card.Title>{props.title}</Card.Title>
<Card.Text>
{props.excerpt}
</Card.Text>
... |
exports.definition = {
config: {
columns: {
"id": "INTEGER",
"fullname": "TEXT",
"username": "TEXT",
"mobile": "TEXT",
"email": "TEXT",
"img_path": "TEXT",
"point": "INTEGER",
},
adapter: {
type: "sql",
collection_name: "user",
idAttribute: "id"
}
},
exte... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[81],{
/***/ "./frontend/src/@core/comp-functions/forms/form-validation.js":
/*!********************************************************************!*\
!*** ./frontend/src/@core/comp-functions/forms/form-validation.js ***!
\*****************************... |
/**
* @module ol/render/EventType
*/
/**
* @enum {string}
*/
export default {
/**
* Triggered before a layer is rendered.
* @event module:ol/render/Event~RenderEvent#prerender
* @api
*/
PRERENDER: 'prerender',
/**
* Triggered after a layer is rendered.
* @event module:ol/re... |
const { colors, fonts } = require("../../config")
export const sharedPreferences = {
fonts: fonts,
breakpoints: {
xs: "480px",
sm: "768px",
md: "992px",
lg: "1200px",
},
borderRadius: "1rem",
pageWidth: "62.5rem",
headerHeight: "6.25rem",
footerHeight: "7.5re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.