text stringlengths 2 1.04M |
|---|
self.__precacheManifest = [
{
"revision": "c2d2420ec4230fd9f5c1",
"url": "/static/css/main.33b6586e.chunk.css"
},
{
"revision": "c2d2420ec4230fd9f5c1",
"url": "/static/js/main.c2d2420e.chunk.js"
},
{
"revision": "fdfcfda2d9b1bf31db52",
"url": "/static/js/runtime~main.fdfcfda2.js"
},
... |
/**
* @license Angular v4.4.4
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser'), require('@angular/animations/browser'), requ... |
/** changes canvas listeners - removes and adds function */
export const switch_functions = (canvas, type, oldFunction, newFunction, callback) => {
canvas.off(type, oldFunction)
callback(type, newFunction)
} |
const Koa=require('koa')
const views=require('koa-views')
const path=require('path')
const app=new Koa();
app.use(views(path.join(__dirname,'./view'),{
extension:'ejs'
}))
app.use(async(ctx)=>{
let title='hello L.Rain'
await ctx.render('index',{title})
})
app.listen(3000,()=>{
console.log('[demo is start... |
import * as types from './authActionTypes';
import axios from 'axios';
import history from '../../history';
export const apiURL = 'https://codeclannigeria-api.herokuapp.com/api/auth';
export const signup = userData => {
return async dispatch => {
dispatch({ type: types.AUTH_START });
const token_data = {
... |
/*global $*/
$(function () {
var editLoader = $('#edit-loader');
var editMsg = $('#edit-msg');
var postTitle = $('#post-title');
var editor = $('#editor');
var docIdEl = $('#doc-id');
function savePost() {
editLoader.show();
var title = postTitle.val();
var content =... |
'use strict';
// NOTE: The usage of window and document instead of $window and $document here is
// deliberate. This service depends on the specific behavior of anchor nodes created by the
// browser (resolving and parsing URLs) that is unlikely to be provided by mock objects and
// cause us to break tests. In addit... |
import NavaidVordme16 from "./NavaidVordme16.svelte";
export default NavaidVordme16; |
const { Readable } = require('stream');
const readableStream = new Readable({
read(size) {
setTimeout(() => {
if (this.currenCharCode > 90) {
this.push(null);
return;
}
this.push(String.fromCharCode(this.currenCharCode++).concat('-'));
}, 100);
},
});
readableStream.curren... |
import{r as e,h as t}from"./p-bd5842d7.js";import{T as r}from"./p-fd654465.js";import"./p-40b98907.js";const o=class{constructor(t){e(this,t),this.errorLoadingPage=!1}watchHandler(e){this.getPageContent(e,this.getPageHandler())}componentWillLoad(){return new Promise(e=>{this.getPageContent(this.pageUrl,this.getPageHand... |
var app = {
userAgent : navigator.userAgent,
init : function(){
var $this = this;
// $this.splashScreen = document.createElement("img");
// $this.splashScreen.addEventListener("load", function () {
// document.getElementById("loader-page-image").appendChild($this.splashScreen);
... |
/* eslint no-shadow: ["error", { "allow": ["state"] }] */
import Vue from 'vue';
import Vuex from 'vuex';
import axios from 'axios';
Vue.use(Vuex);
export const currentLanguagesCount = 22;
export const state = {
dailyData: {
word: {},
language: {},
quote: {},
photo: { user: {} },
},
hasError: ... |
import React from 'react'
import PropTypes from 'prop-types'
import PermissionsField, { IfEditable } from '../../common/PermissionsField'
import { MANAGEMENT_CONSIDERATIONS } from '../../../constants/fields'
import { useReferences } from '../../../providers/ReferencesProvider'
import { REFERENCE_KEY } from '../../../co... |
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery.min.map
/**
* An Angular module that gives you access to the browsers local storage
* @version v0.2.3 - 2015-10-11
* @link https://github.com/grevory/angular-local-storage
* @author grevory <greg@gregpike.ca... |
const { Model } = require('sequelize');
module.exports = (sequelize, DataTypes) => {
class RawDeployProcessedEvent extends Model {
static associate(models) {}
toJSON() {
return {
sourceNodeId: this.sourceNodeId,
apiVersionId: this.apiVersionId,
... |
var modiActionsTplConfig = {
html: `
<div class="{class}" data-element="overlay" data-visible="false" data-outside-close="{outsideClose}">
<div data-element="modal" data-small-width="500">
<span data-element="close">×</span>
<div data-element="content"></div>
<div data-element="actions">
... |
import flattenMods from './flattenMods';
import identity from './identity';
export default function applyMods(base, mods) {
if(!mods) {
return base;
}
if(!Array.isArray(mods) && typeof mods !== 'object') {
mods = [mods];
} else if(!Array.isArray(mods) && typeof mods === 'object') {
mods = flattenM... |
/* ********************************************************************************************
* *
* Plese read the following tutorial before implementing tasks: *
* https://developer.mozilla.org... |
import request from '@/utils/request'
/**
* 洗车套餐列表
*/
export function carIndex(data) {
return request({
url: '/admin/sys/taocan/index',
method: 'post',
data
})
}
/**
* 洗车套餐添加/编辑
*/
export function carAdd(data) {
return request({
url: '/admin/sys/taocan/add',
met... |
/**
* Copyright IBM Corp. 2020, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
test('should work', () => {
expect(1 + 2).toBe(3);
}); |
import React from 'react';
import PropTypes from 'prop-types';
import { Modal, Button, Checkbox } from 'semantic-ui-react';
import styles from './style.scss';
import classnames from 'classnames';
import VideoStages from '../VideoStages';
import { Styled } from 'direflow-component';
import AnimatedButton from './Animate... |
import React, { PureComponent } from 'react';
import {
Form,
Input,
Card,
Row,
Col,
Button,
InputNumber,
TreeSelect,
Radio,
Icon,
Modal,
message,
} from 'antd';
import { connect } from 'dva';
import Panel from '../../../components/Panel';
import styles from '../../../layouts/Sword.less';
import ... |
boneMod = angular.module('marrowApp.directives.boneList', []);
boneMod.directive('boneList', function () {
return {
scope: { bone: '=', reshare: '&' },
templateUrl: 'js/directives/bone-list/bone-list.html'
};
}); |
import React from 'react'
import '../styles/Tools.css'
function Tools() {
return (
<div className="center-div">
<div id="Tools">
<div id="ToolsText">
Tools used:
<ul>
<li>React</li>
<li>NodeJ... |
import React, { useState, useEffect } from 'react';
import { connect } from 'react-redux';
import ArrowBackIcon from '@material-ui/icons/ArrowBack';
import { updateUser, createUser } from '../../../store/actions';
import { compose } from 'redux';
import { withRouter } from 'react-router-dom';
import IconButton from '@m... |
export const LOAD = 'ethstats/gasSpending/LOAD';
export const LOAD_SUCCESS = 'ethstats/gasSpending/LOAD_SUCCESS';
export const LOAD_FAIL = 'ethstats/gasSpending/LOAD_FAIL'; |
//constants
const express = require('express')
const app = express()
//leverages
app.use(express)
console.log('[*] congrats, server is running.')
//has to be checked these ones
app.use(express.urlencoded({ extended: false }))
app.use(express.json())
app.use()
//connect to mongodb in db.js -- we define the Port there |
const { twitter } = require('../lib/scrape')
let handler = async (m, { conn, args, usedPrefix, command }) => {
if (!args[0]) throw `*Perintah ini untuk mengunduh media twitter dengan link*\n\ncontoh:\n${usedPrefix + command} https://twitter.com/gofoodindonesia/status/1229369819511709697`
if (!args[0].match(/(https:... |
const PHM = 1;
const PHB = 0;
const TEMPM = 1;
const TEMPB = 0;
//console.log('starting');
var i2c = require('i2c');
var _messenger = require("./messenger.js");
var messenger = new _messenger.client({});
exports.init = function(pHTempAddr) {
device = new i2c(pHTempAddr, {device: '/dev/i2c-1'});
//console.log('ini... |
(function signInIIFE() {
const usernameField = document.getElementsByName('username')[0];
document.getElementsByClassName('sign-in-form')[0].onsubmit = onSignInFormSubmit;
function onSignInFormSubmit() {
window.sessionStorage.setItem('username', usernameField.value);
console.log(window.se... |
'use strict'
/*
* Create a constant variable named `escapeStr` that contains
* the following specials characters: /\`"'
*
* @notions Primitive and Operators, Variables
*/
// Your code :
const escapeStr="'";
const escapeStr='"';
const escapeStr='`';
const escapeStr='/';
const escapeStr='\\\\';
//* Begin of tests... |
/**
* @fileOverview Provides the Server Side Access API for CrowdLogger remote
* modules (CLRMs). There are two parts -- the CrowdLogger-side interface (CLI)
* and the sandbox- side interface (SBI). CRMs communicate with the SBI, which
* in turn communicates with the CLI, which has access to the CROWDLOGGER
* obj... |
import nextConnect from "next-connect"
import middleware from "../../../../middleware/db"
const handler = nextConnect()
handler.use(middleware)
handler.get(async (req, res) => {
const {
query: { exchange },
} = req
req.dbModels.ExchangeOracles.findOne({
attributes: ["id"],
where: { exchange },
}... |
#!/usr/bin/env node
var fs = require('fs')
var path = require('path')
var Getopt = require('node-getopt');
var Q = require(__dirname + '/../src/quiita-team.js');
getopt = new Getopt([
['o', 'outdir=DIR', 'specify output directory (default: quiita-team-html).'],
['c', 'cookie=FILE', 'specify cookie file to login qii... |
import request from '../../api/request'
const state = {
deployList: []
}
const getters = {}
const mutations = {
SET_DEPLOY_LIST(state, value) {
state.deployList = value
}
}
const actions = {
getDeployList({ state, commit }) {
request.get('/deploys')
.then(response => {
commit('SET_DEPL... |
module.exports = {
preset: "ts-jest"
} |
import Input from './Input';
class TextInput extends Input {
setValue(value) {
$('input', this.element).val(value);
}
init(data) {
return this.render("textinput", data);
}
}
export default TextInput; |
$traceurRuntime.ModuleStore.getAnonymousModule(function() {
"use strict";
angular.module("kao.utils", []).factory("KaoDefer", function($q) {
function KaoDefer() {
var defer = $q.defer();
defer.promise.success = function(callback) {
defer.promise.then(function() {
callback.apply(thi... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[118],{
/***/ "./node_modules/@ionic/core/dist/esm/es5/build/mo7qeek2.entry.js":
/*!***********************************************************************!*\
!*** ./node_modules/@ionic/core/dist/esm/es5/build/mo7qeek2.entry.js ***!
\*******************... |
/**
* @licstart The following is the entire license notice for the
* Javascript code in this page
*
* Copyright 2021 Mozilla Foundation
*
* 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... |
$(function () {
$.noConflict();
user_tbl = $('#user-table').DataTable({
processing: true,
serverSide: false,
order: [[1, 'asc']],
ajax: 'users/data',
columns: [
{data: 'checkmark', name:'id', orderable: false, searchable: false},
{data: 'first_name... |
'use strict';
var util = require('../util/util');
var StyleTransition = require('./style_transition');
var StyleDeclaration = require('./style_declaration');
var styleSpec = require('./style_spec');
var validateStyle = require('./validate_style');
var parseColor = require('./parse_color');
var Evented = require('../ut... |
import React, { useState, useContext, useEffect } from 'react';
import { useHistory } from 'react-router-dom';
import { FirebaseContext } from '../context/firebase';
import { HeaderContainer } from '../containers/header';
import { FooterContainer } from '../containers/footer';
import { Form } from '../components';
impo... |
import React, { useEffect, useState } from 'react'
import {
// CButton,
CFormText,
CCard,
CCardBody,
CCardHeader,
CCol,
CForm,
CFormGroup,
CInput,
CInputFile,
CInputGroup,
CLabel,
CRow,
} from '@coreui/react'
import Switch from "react-switch";
import { yupResolver } f... |
import * as ApplicationModeService from './ApplicationModeService';
import { openUrl } from './ElectronAdapter';
describe('ElectronAdapter Tests', () => {
/**
* Checks if openUrl use electron to open a browser
*/
describe('Function : openUrl', () => {
beforeEach(() => {
jest.resetModules();
});
... |
import React from 'react';
import { FormattedMessage } from 'react-intl';
import { fieldLimits } from '../constants';
const validateCustomFields = customField => value => {
if (customField.required && !value) {
return <FormattedMessage
id="stripes-smart-components.customFields.fieldValue.required"
va... |
//# sourceMappingURL=9.2b0c5cca409daa8299f3.js.map |
var net = require('net');
var StringDecoder = require('string_decoder').StringDecoder;
var decoder = new StringDecoder();
var JsonSocket = function(socket, opts) {
this._socket = socket;
this._contentLength = null;
this._buffer = '';
this._opts = opts || {}
if (!this._opts.delimeter) {
this... |
import React from "react";
// import "../scss/layout.scss";
import { Link } from "react-router-dom";
export function Layout() {
return (
<nav>
<ul>
<Link to="/">
<li>Home</li>
</Link>
</ul>
</nav>
);
} |
import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from 'react-redux';
import './styles/index.css';
import {loadSources} from './actions/sourcesActions'
import App from './components/App';
import configureStore from './store/configureStore'
import registerServiceWorker from './registerServi... |
const request = require('supertest');
const sinon = require('sinon');
const test = require('ava');
const { s3 } = require('@cumulus/aws-client/services');
const {
recursivelyDeleteS3Bucket
} = require('@cumulus/aws-client/S3');
const { randomString } = require('@cumulus/common/test-utils');
const { createFakeJwtAuth... |
import * as dom from '../utils/dom/index'
import { swalClasses } from '../utils/classes'
/**
* Show spinner instead of Confirm button and disable Cancel button
*/
function hideLoading () {
const domCache = this._domCache
if (!this.params.showConfirmButton) {
dom.hide(domCache.confirmButton)
if (!this.par... |
const {
serializeComponent,
serializeJSValue,
} = require('./serialization-helpers');
const {
deserializeComponent,
deserializeJSValue,
} = require('./deserialization-helpers');
const yaml = require('js-yaml');
const u = require('unist-builder');
const toString = require('mdast-util-to-string');
const { omit } ... |
import React, { Component, Fragment } from 'react'
import { hot } from 'react-hot-loader'
import {Switch, Route, withRouter} from 'react-router-dom'
import Sidebar from 'react-sidebar'
import Header from 'src/components/Header/Header'
import SideNavbar from 'src/components/SideNavbar'
import routes from './routes'
c... |
const puppeteer = require('puppeteer');
const assert = require('assert');
const url = require('url');
const cas = require('../../cas.js');
(async () => {
const browser = await puppeteer.launch(cas.browserOptions());
const page = await browser.newPage();
await page.goto("https://localhost:8443/cas/login");
... |
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.1.1
build: 47
*/
YUI.add("lang/datatype-date-format_en-NZ",function(A){A.Intl.add("datatype-date-format","en-NZ",{"a":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"A":["Sund... |
import logger from '../../shared/utils/logger';
let start = null;
const perfStart = () => (start = (new Date()).valueOf());
const perfStop = message => logger.debug(message, 'in', (new Date()).valueOf() - start, 'ms');
export { perfStart, perfStop }; |
var app = angular.module('OpenITService' , []);
app.config(function ($interpolateProvider)
{
$interpolateProvider.startSymbol('[[');
$interpolateProvider.endSymbol(']]');
});
app.directive('fileModel' , ['$parse' , function ($parse)
{
return {
restrict: 'A' ,
link : function (scope , el... |
/**
* Kendo UI v2021.3.1207 (http://www.telerik.com/kendo-ui)
* Copyright 2021 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.... |
/*! jquery-qrcode v0.14.0 - https://larsjung.de/jquery-qrcode/ */ |
const app = getApp();
Page({
data: {
price_symbol: app.data.price_symbol,
indicator_dots: false,
indicator_color: 'rgba(0, 0, 0, .3)',
indicator_active_color: '#e31c55',
autoplay: true,
circular: true,
data_bottom_line_status: false,
data_list_loding_status: 1,
data_list_lodin... |
const joke = require('one-liner-joke').getRandomJoke;
exports.run = async (client, message, args, level) => { // eslint-disable-line no-unused-vars
try {
message.channel.send(joke({'exclude_tags': ['dirty', 'racist', 'marriage', 'sex', 'death']}).body);
} catch (err) {
message.channel.send('There was an er... |
// simple templating function;
// str: a string like "Hello {name}";
// data: object like {"name": "Elliot"}
function tpl(str, data) {
return str.replace(/\{([^\}]+)\}/g, function (sub, prop) {
return data[prop];
});
}
// async GET for JSON responses only;
// path: path to a file on the domain serving ... |
app.controller('RegisterCtrl', function (RegisterService, $scope, $state) {
$scope.form = {};
$scope.register = () => {
const data = {
email: $scope.form.email,
referenceId: $scope.form.referenceId,
password: $scope.form.password,
};
RegisterService.re... |
module.exports = {
testRegex: '(.*)\\.it\\.js$',
} |
/* xlsx.js (C) 2013-2015 SheetJS -- http://sheetjs.com */
\f\r
!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����",D=[],e={};... |
const quizTimeoutInSeconds = 30;
const quizA = [
"https://docs.google.com/presentation/d/e/2PACX-1vQViVGCOUfNVS3awdxPd_gBWoU5AKuylGXOcGXhsi0uopTjixdczsIf7bWJWkoyhir94VEMuPsPlkCT/pub?start=false&loop=false&delayms=3000",
"https://docs.google.com/presentation/d/e/2PACX-1vRoi3_N-_tWy6XLmkWmExHTycnPUbKCgettFi1ssZi-qcu0bx... |
import _Object$keys from 'babel-runtime/core-js/object/keys';
/* eslint-disable prefer-template */
export default function objectToGetParams(object) {
return '?' + _Object$keys(object).filter(function (key) {
return !!object[key];
}).map(function (key) {
return key + '=' + encodeURIComponent(object[key]);
... |
/**
* Auto-generated action file for "AWS Server Migration Service" API.
*
* Generated at: 2019-07-08T11:13:23.178Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / amazonaws-com-sms-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this conne... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const countDownLatch = require("../../util/countDownLatch");
const utils = require("../../util/utils");
const channelRemote_1 = require("../remote/frontend/channelRemote");
const pinus_logger_1 = require("pinus-logger");
var logger = pinus_log... |
import {applyMiddleware} from 'redux'
import logger from './logger'
import thunk from 'redux-thunk'
export default applyMiddleware(thunk, logger); |
function tursashadow(options){
var images = document.querySelectorAll('shadowizard');
if(options.shadow_type == 'soft') {
options.shadow_type = '0px';
}
else if(options.shadow_type == 'medium') {
options.shadow_type = '8px';
}
else if(options.shadow_type == 'hard') {
op... |
var crypto = require('crypto')
var bitcoin = require('bitcoinjs-lib')
var HttpUtility = require('./http-utility')
var payments = require('./payments')
var paymentRequest = require('./payment-request')
module.exports = {
Client: Client,
Xpub: Xpub,
Xprv: Xprv,
XpubPass: XpubPass,
PaymentRequest: pay... |
webpackHotUpdate("app",{
/***/ "./src/scenes/game-scene.ts":
/*!**********************************!*\
!*** ./src/scenes/game-scene.ts ***!
\**********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/***/ }),
/***/ "./src/scenes/index... |
const router = require('express').Router();
const { User, Post, Comment } = require('../models');
const withAuth = require('../utils/auth');
router.get('/', async (req, res) => {
try {
const postData = await Post.findAll({
include: [{ model: User, attributes: ['first_name', 'last_name']}, { mod... |
import { UIPanel, UIRow, UISelect, UISpan, UIText, UIInteger } from './libs/ui.js';
import { SidebarSettingsViewport } from './Sidebar.Settings.Viewport.js';
import { SidebarSettingsShortcuts } from './Sidebar.Settings.Shortcuts.js';
import { SidebarSettingsHistory } from './Sidebar.Settings.History.js';
function Sid... |
import React, { Component } from "react";
import { BrowserRouter as Router, Route, Redirect } from "react-router-dom";
import { Provider } from "react-redux";
import store from "./store";
import "bootstrap/dist/css/bootstrap.min.css";
import "./App.css";
// IMPORT COMPONENTS
import Navbar from "./components/layout/N... |
import React, { PureComponent } from "react";
import {
Form,
Select,
Radio,
Modal,
Input,
} from "antd";
import KVinput from "../../../components/KVinput";
import appProbeUtil from "../../../utils/appProbe-util";
const FormItem = Form.Item;
const Option = Select.Option;
const RadioGroup = Radio.Group;
// 设置... |
import axios from 'axios'
export default {
fetchUser() {
return axios
.get('http://jsonplaceholder.typicode.com/users/1')
.then(res => {
console.log(11111)
return res.data
})
.catch(error => console.log(error))
}
} |
var current_cards = null;
var current_index = 1;
var incorrect;
var correct;
// Adds ability to press enter to answer question
$('#answer-input').keypress(function(event) {
if (event.which == 13) {
answerLearn();
}
});
// Adds ability to press enter to go to next question
$('#next-btn').keypress(funct... |
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var iconHelpers = require('@carbon/icon-helpers');
var PropTypes = _interopDefault(require('prop-types'));
var React = _interopDefault(require('react'));
function _typeof(obj) { if (typeof... |
export default function platformStyles(appStyle) {
return {
knob: {
width: 38,
height: 7,
marginTop: 10,
borderRadius: 3,
backgroundColor: appStyle.agendaKnobColor
},
weekdays: {
position: 'absolute',
left: 0,
right: 0,
top: 0,
flexDirection: 'ro... |
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['should/as-function'], factory);
} else if (typeof exports === 'object') {
module.exports = factory(require('should/as-function'));
} else {
factory(should);
}
}(function (should) {
var Assertion = should.Assertion;
... |
export default {
logging: 'Connexion en cours...',
logCall: 'Journal des appels',
editLog: 'Éditer le journal',
select: 'Sélectionner une correspondance de registre',
OnHold: 'En attente',
Ringing: 'Sonnerie en cours',
CallConnected: 'Appel établi',
unknownUser: 'Utilisateur inconnu',
unknownNumber: '... |
"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
const colors = require("colors");
const os = require("os");
const BaseScriptAction_1 = req... |
// Run this Angular example by adding the following HTML markup to your view:
//
// <hello-angular>Loading...</hello-angular>
//
// <%= javascript_pack_tag 'hello_angular' %>
import Angular from "../angular" |
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-marquee-repetition', v);
},
get: function () {
return this.getPropertyValue('-webkit-marquee-repetition');
},
enumerable: true,
configurable: true
}; |
var express = require('express');
var router = express.Router();
var burger = require('../models/burger.js');
// Index
router.get('/', function (req, res) {
res.redirect('/index');
});
//all
router.get('/index', function (req, res) {
burger.selectAll(function(data) {
var hbsObject = { burgers: data };
re... |
window.__NUXT__=(function(a,b,c,d){return {staticAssetsBase:"\u002Fstatic\u002F1597376630",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"e-AlQur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark",bgColor:"#071e3d",fgColor:"#fff"},se... |
function fib(n)
{
if (n < 2)
return n;
return fib(n-1) + fib(n-2);
}
fib(42); |
$(document).ready(function () {
$("section").slideUp(0);
$("table").fadeOut(0);
$("section div").css("margin-top", "-14px");
$("section div h4").click(function () {
if ($(this).next("table").is(":hidden")) {
$(this).next("table").fadeIn("slow");
} else {
$(this).... |
import Vue from 'vue/dist/vue.esm'
// Import from app/concepts/matestack/ui/core:
import app from '../app/app'
import async from '../async/async'
import pageContent from '../page/content'
import store from '../app/store'
import component from '../component/component'
import anonymDynamicComponent from '../component/an... |
// Eventos con el teclado
const busqueda = document.querySelector('.busqueda')
// Registrar la presion sobre una tecla
busqueda.addEventListener('keydown', () => {
console.log('Tecla presionada')
})
// Registrar cuando se quita la presion sobre una tecla
busqueda.addEventListener('keyup', () => {
console.log('Te... |
const model = require("./model")
const {
signUser,
verifyUser
} = require("../../lib/jwt")
console.log(signUser({
"is_admin": "true"
}))
const multer = require('multer');
const path = require('path');
const storage = multer.diskStorage({
destination: __dirname + "../../../../images/",
filename: fu... |
'use strict';
export class CalendarAdvancer {
advance(cal, field, amount) {
switch (field) {
case 'hour':
cal.hour(cal.hour() + amount);
break;
case 'day':
cal.date(cal.date() + amount);
break;
case 'month':
cal.month(cal.m... |
/**
* 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"); you... |
function DopInfo(par, fun) {
var self=this;
this.type="DopInfo";
this.par=par;
this.otstup=aGlaf.otstup;
this._active=false;
this.dCont=new DCont(this.par.par.dCont);
this.dCont.visible=false
this.confText
this.w=new DWindow(this.dCont, this.otstup, 30+this.otstup*2 ," ");... |
const { exec } = require('../lib/exec')
const { explor } = require('../lib/config')
const argv = process.argv
function release() {
if (!explor('release')) {
argv.push('-e', '@akijoey/semantic-release-config')
}
exec('semantic-release', argv.slice(2))
}
if (require.main === module) {
release()
} |
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.