text
stringlengths
3
1.05M
export default { name: 'blogPost', title: 'Blog Post', type: 'document', fields: [ { name: 'title', title: 'Title', type: 'string' }, { name: 'subTitle', title: 'Subtitle', type: 'string' }, { name: 'slug', title: 'Slug', type: 'slug', ...
import React from 'react' import PropTypes from 'prop-types' import { FilterItem } from 'components' import { Form, Input, InputNumber, Radio,Select, Modal, Table, Dropdown, Badge } from 'antd' const formItemLayout = { labelCol: { span: 6, }, wrapperCol: { span: 14, }, } const modal = ({ item = {},c...
export const languages = [ {name: 'PHP', color: '#4f5d95'}, {name: 'JavaScript', color: '#F7DF1E'}, {name: 'Dockerfile', color: '#384d54'}, {name: 'CSS', color: '#2965F1'}, {name: 'Makefile', color: '#427819'}, {name: 'TypeScript', color: '#2b7489'}, {name: 'HTML', color: '#E34F26'}, {na...
from django.contrib import admin # Register your models here. from orientation.models import User, ProjectMentee, Project, ProjectMentor, MentorMentee admin.site.register(User) admin.site.register(ProjectMentee) admin.site.register(ProjectMentor) admin.site.register(Project) admin.site.register(MentorMentee)
#!/usr/bin/env python # Mathieu Courtois - EDF R&D, 2013 - http://www.code-aster.org """ When a project has a lot of options the 'waf configure' command line can be very long and it becomes a cause of error. This tool provides a convenient way to load a set of configuration parameters from a local file or from a remote...
import { make } from "vuex-pathify"; import { DateTime } from "luxon"; const getDefaultState = () => ({ locations: "", checkIn: DateTime.local().toISODate(), checkOut: DateTime.local() .plus({ days: 1 }) .toISODate(), persons: 1 }); const state = getDefaultState(); const getters = { ...
/*! * Bootstrap-select v1.11.2 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2016 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) */ /* Creative Tim Modifications Line: 384-385 - we changed glyphicons with material...
#!/usr/bin/env python """Renderers that render RDFValues into JSON compatible data structures.""" import base64 import inspect import logging import numbers from typing import Any from typing import Dict from typing import Text from grr_response_core.lib import rdfvalue from grr_response_core.lib.rdfvalues import flo...
import React, { Component } from "react"; import PropTypes from "prop-types"; import { withTracker } from "meteor/react-meteor-data"; import AccountsUIWrapper from './AccountsUIWrapper'; import { Meteor } from 'meteor/meteor'; import PostList from "./PostList"; import PostAdd from "./PostAdd"; import PostFilter from ...
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
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...
var expect = require('chai').expect; module.exports = function (helpers) { var counter = 0; var widget = helpers.mount(require('./index'), { counter: counter }); expect(widget.el.querySelector('.unpreserved-counter').innerHTML).to.equal('0'); expect(widget.el.querySelector('.preserve').ge...
# -*- coding: utf-8 -*- """Shortest paths and path lengths using A* ("A star") algorithm. """ # Copyright (C) 2004-2011 by # Aric Hagberg <hagberg@lanl.gov> # Dan Schult <dschult@colgate.edu> # Pieter Swart <swart@lanl.gov> # All rights reserved. # BSD license. from heapq import heappush, heappop fro...
# Generated by Django 3.2 on 2021-04-09 07:23 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("core", "0023_alter_table_array_tables"), ] operations = [ migrations.RenameField( model_name="dataselection", old_name="column...
import i18n from '@/locales' export default { created () { this.singleActions = [ { label: i18n.t('k8s.text_201'), permission: 'k8s_rbacrolebindings_delete', action: (obj) => { this.createDialog('DeleteResDialog', { vm: this, data: [obj], ...
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
import React from "react"; import MUIDataTable from "mui-datatables"; // components import PageTitle from "../../components/PageTitle"; import Widget from "../../components/Widget"; import Table from "../dashboard/components/Table/Table"; // data import mock from "../dashboard/mock"; import { Grid, makeStyles } from ...
import React from "react" // Create a class for books so we can create 100's const Books = [ { Title:"Papi Codes Javascript", Author:"Toni Sacks", ISBN:"BNMSK45203", stock: 45 }, { Title:"It's Time for Javascript", Author:"Sonya Dixon", ISBN:"BNMSK45103", stock: ...
/** 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() { return Promise.resolve([ { id: 1, name: '1' }, { id: 2, name: '2' }, { id: 3, name: '3' }, { id: 4, name: '4' }, ]); ...
'user strict'; const path = require('path'); class NewGenerator { constructor({ gen, name }) { this.gen = gen; this.name = name; } run() { const cwd = process.cwd(); this.gen.dir('app', path.join(cwd, this.name, 'app')); this.gen.template('package.json', path.join(cwd, ...
import Ball from "./Ball"; import InputManager from "./InputManager"; import ParticleSystem from "./ParticleSystem"; import Player from "./Player"; export default class Game { constructor(canvas, ctx, updateScoresCallback) { /** * @type {HTMLCanvasElement} */ this.canvas = canvas; /** * @...
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit'; import axios from 'axios'; import {API_URL} from "../../components/utils" export const getOnboardDetailsDate = createAsyncThunk('onboard/getOnboardDetailsDates', async (payload, {getState}) => { return await axios.get(`${API_URL}/getOnbo...
// FUNCTIONS //-------------------------------------------------------------------------------------------------------- // DOCUMENT READY //-------------------------------------------------------------------------------------------------------- $(document).foundation({ // FOUNDATION INITIALIZATIONS //---------...
Clazz.declarePackage ("JV"); Clazz.load (["J.api.JmolPropertyManager", "java.util.Hashtable"], "JV.PropertyManager", ["java.lang.Boolean", "$.Double", "$.Float", "java.util.Arrays", "$.Date", "$.Map", "JU.AU", "$.BArray", "$.BS", "$.Base64", "$.Lst", "$.M3", "$.M4", "$.P3", "$.PT", "$.SB", "$.V3", "$.XmlUtil", "J.api....
from graphics import * import parser import player import cpu import os import random memorySize = 2**12 memory = [0] * memorySize drawObjects = [] textObjects = [] columnCount = 8 columnHeight = len(memory) // columnCount cellHeight = 1 initialSeeds = 20 decay = 0.7 fruit = set() def initMemory(): # Randomly p...
export {default} from './App'
class Solution: # @return a string def convertToTitle(self, num): res = [] while num: res.insert(0, num % 26) num /= 26 i = len(res) - 1 is_short = False while i >= 0: if res[i] == 0: res[i] = 26 is_short...
import sys from magma import * from mantle.xilinx.spartan6.RAM import RAM32x2 from loam.shields.megawing import MegaWing megawing = MegaWing() megawing.Clock.on() megawing.Switch.on(8) megawing.LED.on(2) main = megawing.main() ram = RAM32x2(16*[0,1], 16*[1,0]) wire(main.SWITCH[:5], ram.A) wire(main.SWITCH[5], ram.I...
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{ma3e:function(t,n,a){"use strict";a.d(n,"a",(function(){return r})),a.d(n,"b",(function(){return e}));var c=a("Lnxd");function r(t){return Object(c.a)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24....
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.NJEvents = factory()); }(this, (function () { 'use strict'; class NJEvents { constructor() { this.events = {}; ...
var searchData= [ ['whd',['whd',['../structol__info__t.html#a81146b644c5eb9b2c6719976d9ef25d9',1,'ol_info_t::whd()'],['../structpf__ol__t.html#a3fa4c35aca34e12f15bf8ab5ac29af2f',1,'pf_ol_t::whd()'],['../structtko__ol__t.html#ad3dadda42d16f6f71396c72e2c0f2987',1,'tko_ol_t::whd()']]], ['worker',['worker',['../structo...
const Command = require("../../structures/Command"); const fetch = require('node-fetch'); const { MessageEmbed } = require("discord.js"); let subreddits = ["dankmemes", "memes", "programmerhumor", "crappyoffbrands", "MemeEconomy", "me_irl"] module.exports = class MemeCommand extends Command { constructor(bot) { ...
/*globals angular */ 'use strict'; /** * The answer controller is used to take part on a survey and to view its results */ angular.module('AnswerController', []).controller('AnswerCtrl', ['$scope', '$routeParams', 'Surveys', '$location', function ($scope, $routeParams, Surveys, $location) { $scope.token = $routePa...
import axios from 'axios' export function request(config) { //create axios instance const instance = axios.create({ //biscal property baseURL:'type your URl', timeout:5000, headers:'', method:'', params:'', auth:'', responseType: '', prox...
this.NesDb = this.NesDb || {}; NesDb[ 'E526665AE3551990B1BF4AE52FAFDB622B87C714' ] = { "$": { "name": "Conflict", "altname": "コンフリクト", "class": "Licensed", "catalog": "VIC-C3", "publisher": "Vic Tokai", "developer": "Vic Tokai", "region": "Japan", "players": "2", "date": "1989-12-01" }, "cartridge...
import styles from "../styles"; import { Body, Button, Container, Content, Icon, Text, View, Item, Input, Spinner } from "native-base"; import {Image} from "react-native"; // @flow import * as React from "react"; export interface Props { navigation: any; //state emailValid: boolean, PWValid: boolean, confirmPWVal...
// modules are defined as an array // [ module function, map of requires ] // // map of requires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the require for previous bundles parcelRequire = (function (modules, cache, entry, globalName)...
from .mixins import PrivateMessageMixin from pepperbot.message.chain import * from pepperbot.models.api import * class ActionMixin: """ 主动行为的聚合,方便action使用 """ api: API_Caller_T async def members( self, groupId: int, ): return await self.api( "get_group_m...
/** * @license Highcharts JS v9.3.2 (2021-11-29) * * (c) 2009-2021 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports = factory; } else if (typeof def...
#========================================================================== # # Copyright Insight Software Consortium # # 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...
angular.module('portainer.app') .directive('rdTemplateWidget', function rdWidget() { var directive = { scope: { 'ngModel': '=' }, transclude: true, template: '<div class="widget template-widget" id="template-widget" ng-transclude></div>', restrict: 'EA' }; return directive; });
const confirmObserversMixin = { data: function() { return { okHandlers: [], cancelHandlers: [] } }, methods: { onOk: function(handler) { this.okHandlers.push(handler); }, onCancel: function(hander) { this.cancelHandlers.push(hander); }, callOkHandlers: functi...
const fs = require('fs') const path = require('path') const url = require('url') const https = require('https') const util = require('util') const shell = require('any-shell-escape') const ffmpeg = require('ffmpeg-static') const exec = util.promisify(require('child_process').exec) const unlink = util.promisify(fs.unlin...
//--------------- POST EFFECT DEFINITION ------------------------// pc.extend(pc, function () { /** * @name pc.VignetteEffect * @class Implements the VignetteEffect post processing effect. * @extends pc.PostEffect * @param {pc.GraphicsDevice} graphicsDevice The graphics device of the applicatio...
const format = require("../format"); describe("Test format function", () => { test("format", () => { const str = format("2 + 2 = ", 4); expect(str).toEqual("2 + 2 = 4"); }); });
import os from datetime import datetime, timedelta import disnake from matplotlib import pyplot as plt from PIL import Image import discordbot.config_discordbot as cfg import discordbot.helpers from discordbot.config_discordbot import gst_imgur, logger from gamestonk_terminal.config_plot import PLOT_DPI from gameston...
//// [tests/cases/conformance/ambient/ambientShorthand_reExport.ts] //// //// [declarations.d.ts] declare module "jquery"; //// [reExportX.ts] export {x} from "jquery"; //// [reExportAll.ts] export * from "jquery"; //// [reExportUser.ts] import {x} from "./reExportX"; import * as $ from "./reExportAll"; //...
const request = require('test/support/request') const factory = require('test/support/factory') const { expect } = require('chai') describe('API :: GET /api/users/:id', () => { context('when user exists', () => { it('returns the user and status 200', async () => { const user = await factory.create('user', ...
from st2actions.runners.pythonrunner import Action class AsgEvalEventAction(Action): def run(self, current_time, last_event, delay): if ((last_event + (delay * 60)) < current_time): return True else: return False
/** * @license Angular v5.2.11 * (c) 2010-2018 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations')) : typeof define === 'function' && define.amd ? define('@angular/animations...
declare var foo; declare var foo; declare function foo(): void; declare function foo(): void; declare function foo<T>(): void; declare function foo(x: number, y: string): void; declare class A {} declare class A<T> extends B<T> { x: number } declare class A { static foo(): number, static x: string, } declare clas...
// default route and registration of all sub routes const express = require('express'); const router = express.Router(); const slack = require('../../utils/slack/slack-logger'); const sns = require('../../aws/sns'); const Authorization = require('../../utils/security/isAuthenticated'); const { hasPermission } = require...
/** * Copyright (c) Facebook, Inc. and its affiliates. Confidential and proprietary. * * @emails oncall+recoil * @flow strict-local * @format */ 'use strict'; // TODO UPDATE IMPORTS TO USE PUBLIC INTERFACE const {act} = require('ReactTestUtils'); const {validateAny} = require('../__test_utils__/recoil-sync_moc...
/* Configuration of jquery file upload. Binds to a hidden field of a form to provide the image upload ids when that form is submitted To use, be sure to: 1. Load after all other JavaScript includes for jQuery File Upload. 2. Call initialize_file_uploader within a closure on the page where the ...
import { EventBus } from './event-bus'; import Modal from './Modal'; export default Modal.extend({ props: ['url'], data() { return { geoJsonPoint: { properties: { status: '' }, geometry: { coordinates: ...
//! moment.js locale configuration //! locale : Scottish Gaelic [gd] //! author : Jon Ashdown : https://github.com/jonashdown ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'fu...
"""Interface to the libbzip2 compression library. This module provides a file interface, classes for incremental (de)compression, and functions for one-shot (de)compression. """ __all__ = ["BZ2File", "BZ2Compressor", "BZ2Decompressor", "open", "compress", "decompress"] __author__ = "Nadeem Vawda <nadeem.v...
// Process -> center text <- 'use strict'; var DASH_CODE = 45 var START_CODE = 33 /* ! */ var END_CODE = 33 module.exports = function centertext_plugin(md) { function tokenize(state, silent) { var token, max = state.posMax, start = state.pos, marker = state.src.charCodeAt(start); if...
import Controller from '@ember/controller'; export default Controller.extend({ status: "click a row...", isOpen: true, sidebarMode: false, toggleIsResizable: false, toggleIsFullSIze: false, toggleDoubleClickToToggle: false, enableBackdrop: false, selectedOption: 'vertical', orientationOptions: null, ...
#!/usr/bin/env python import os import re from setuptools import setup fname = os.path.join(os.path.dirname(__file__), "README.rst") if os.path.exists(fname): ld = open(fname).read() else: ld = "Django pyfilesystem integration" def is_requirement(line): """ Return True if the requirement line is ...
from inspect import isabstract from typing import Dict from clean.request.filters.abs import BaseFilter class FooFilter(BaseFilter): def __init__(self, gte: str = "", lte: str = ""): self.gte = gte self.lte = lte def to_dict(self): return { 'gte': self.gte, '...
var AN, PN; function main() { AN = document.getElementById("AN").value; PN = document.getElementById("PN").value; if(AN == "" && PN == "") { alert("Enter Your Credentials"); } else if(AN =="") { alert("Enter Adhar Number"); } else if(PN == "") { alert("Enter Your Phone Number"); } ...
import React from 'react'; import { View, Text, Image, TouchableOpacity, SafeAreaView, } from 'react-native'; import styles from '../styles/styles'; import logo from '../../assets/images/expensify-logo_reversed.png'; import Navigation from '../libs/Navigation/Navigation'; import ROUTES from '../ROUT...
module.exports = { rewrites() { return [ { source: '/:path*', destination: '/:path*' }, { source: '/:path*', destination: 'http://localhost:4000/:path*' } ] } }
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const merge = require('merge-source-map'); // .scss/.sass processor const scss = { render(source, map, options) { const nodeSass = require('sass'); const finalOptions = Object.assign({}, options, { data:...
import React from 'react'; import Table from './Table'; import data from '../../data/stats/personal'; const PersonalStats = () => ( <> <h3>Некоторые данные обо мне</h3> <Table data={data} /> </> ); export default PersonalStats;
module.exports={A:{A:{"132":"J E F G A B lB"},B:{"2":"C K L D M N O","292":"P Q R U V W X Y Z a b c S d e H"},C:{"2":"0 1 2 3 4 5 6 7 8 9 mB dB I f J E F G A B C K L D M N O g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB eB KB fB LB oB pB","3074":"MB","4100":"T NB OB PB QB RB SB TB UB VB WB XB YB...
sap.ui.define(["sap/ui/webc/common/thirdparty/base/asset-registries/Themes","sap/ui/webc/common/thirdparty/theme-base/generated/themes/sap_fiori_3/parameters-bundle.css","./sap_fiori_3/parameters-bundle.css"],function(e,r,t){"use strict";function o(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var d=o(...
import { createSlimReduxStore } from 'slim-redux'; // Create a store with the initial state of 0 var store = createSlimReduxStore(0); // Make sure we see any store changes in the console store.subscribe(() => console.log(store.getState()) ) // Register change triggers - a bundle that contains an action type and a ...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render from news.models import Article # Create your views here. def articles(request): articles = Article.objects.all() context = { 'articles': articles, } return render(request, 'news/articles.html'...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; const propTypes = { children: PropTypes.node, }; const defaultProps = {}; class DefaultFooter extends Component { render() { // eslint-disable-next-line const { children, ...attributes } = this.props; return ( <Reac...
var dialog = require('ui/dialogs'); launchAbout = function () { var options = { title: "About", message: "Thank you for checking out my first app launched to the app store! This thing is beta and will undergo" + "some major changes in the upcoming weeks and months, so if you fi...
'use strict'; // require("./config/mongoDB") require('dotenv').config() const Glue = require('glue'); const manifest = require('./config/manifest'); if (!process.env.PRODUCTION) { manifest.registrations.push({ "plugin": { "register": "blipp", "options": {} } }); } Glue.compose(manifest, { ...
const getUserInfo = require('./getUserInfo'); const SEARCH_GROUP_URL = 'https://open.feishu.cn/open-apis/chat/v4/search'; async function searchLarkGroup(keywords, userAccessToken, pageSize) { const { data } = await axios({ url: SEARCH_GROUP_URL, // MYNOTE: 请求飞书开放平台的接口 method: 'GET', headers: { Auth...
module.exports = { transpileDependencies: ['vuex-persist', 'omdb-async-api-wrapper'] }
import { saveQuestionAnswer, saveQuestion } from "../utils/api"; import { userAddedQuestion, userAnsweredQuestion } from "./users"; import { showLoading, hideLoading } from "react-redux-loading-bar"; export const LOAD_QUESTIONS = "LOAD_QUESTIONS"; export const ANSWER_QUESTION = "ANSWER_QUESTION"; export const ADD_QUES...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Home from './Home'; i...
module.exports = { devServer: { proxy: { '^/api': { target: 'http://localhost:8000', pathRewrite: {'^/api': ''} } } }, configureWebpack: { module: { rules: [ { test: /.html$/, loader: "vue-template-loader", exclude: /index.html/ ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{171:function(t,s,e){"use strict";e.r(s);var a=e(0),n=Object(a.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"content"},[t._m(0),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),t._m(3),t._m(4),t._v(" "),t._m(5),t._v(" "...
const mockFunctions = require('../src/mockFunctions'); /* Criamos uma série de funções com eficiência duvidosa. Elas estão no arquivo 'src/mockFunctions.js'. Crie mock functions para cada uma das operações de modo que os cálculos sejam feitos corretamente, não como estão sendo feitos no arquivo original. A idéia é que...
import React, {Component} from 'react'; import './ViewUser.css'; //import TimeAgo from 'react-timeago'; class ViewUser extends Component { constructor(props){ super(props); } render() { let userDetail = this.props.detailUser .map(function (detailUser, index) { return ( <div className="medium-10 columns userlist" key...
import { ApiRequest } from '../api/ApiRequest'; import { apiResources } from '../ApiResources'; export class Field { constructor() { this._validator = null; this._options = {}; this._optionsRequestFactory = null; this.type = this.constructor.type; } newInstance() { re...
import math import os from enum import Enum from pathlib import Path, PurePath from typing import List, Optional, Tuple import torch import torchvision from loguru import logger from torch.utils.tensorboard import SummaryWriter from .. import process from ..models.image import Image from ..models.utils import freeze_...
/** * Created by Andy Likuski on 2017.10.03 * Copyright (c) 2017 Andy Likuski * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to...
# coding: utf-8 """ Apteco API An API to allow access to Apteco Marketing Suite resources # noqa: E501 The version of the OpenAPI document: v2 Contact: support@apteco.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import apteco_api...
var style = [ { "elementType": "geometry", "stylers": [ { "color": "#212121" } ] }, { "elementType": "labels.icon", "stylers": [ { "visibility": "off" } ] }, { "elementType": "labels.text.fill", "stylers": [ { "color": "#757...
import 'bootstrap'; import {ViewLocator} from 'aurelia-framework'; export function configure(aurelia) { aurelia.use .standardConfiguration() .developmentLogging(); ViewLocator.prototype.convertOriginToViewUrl = (origin) => { let moduleId = origin.moduleId; let id = (moduleId....
'use strict'; const expect = require('chai').expect; const SDK = require('../provider/awsProvider'); const Serverless = require('../../../Serverless'); describe('#naming()', () => { let options; let serverless; let sdk; beforeEach(() => { options = { stage: 'dev', region: 'us-east-1', };...
let allMeta = { 'title': (a) => addTitle(a), 'description': (a) => insertMeta('description', a), 'tags': (a) => insertMeta('tags', a), 'og:title': (a) => insertMeta('og:title', a, 'property'), 'og:description': (a) => insertMeta('og:description', a, 'property'), 'og:image': (a) => insertMeta('og...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's // vendor/assets/javascripts directory can be referenced here using a relative path. // // It's not advisa...
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-15 20:46 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wellsfargo', '0001_squash_060'), ] operations = [ ...
function century(year) { return Math.ceil(year / 100); }
'use strict'; var assert = require('assert'); marionette('Vertical - Group', function() { var client = marionette.client(require(__dirname + '/client_options.js')); var actions, home, system; setup(function() { actions = client.loader.getActions(); home = client.loader.getAppClass('verticalhome'); ...
define( "dijit/_editor/nls/he/commands", //begin v1.x content ({ 'bold': 'מודגש', 'copy': 'עותק', 'cut': 'גזירה', 'delete': 'מחיקה', 'indent': 'הגדלת כניסה', 'insertHorizontalRule': 'קו אופקי', 'insertOrderedList': 'רשימה ממוספרת', 'insertUnorderedList': 'רשימה עם תבליטים', 'italic': 'נטוי', 'justifyCenter': ...
/** * Copyright IBM Corp. 2016, 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. */ import { settings as ddsSettings } from '@carbon/ibmdotcom-utilities'; import MastheadTopNav from '../MastheadTopNav'; import mockData from '...
angular.module('examples') .controller('example3Ctrl', [ '$http', '$scope', '$timeout', function($http, $scope, $timeout){ $scope.getPageData = function(pagingOptions) { $scope.data = []; $scope.loadingData = true; url = '/api/v1/films'; url += '?page=' + pagingOptions.currentPage; url += '&pageSi...
//@ skip if not $jitTests //@ defaultNoEagerRun "use strict"; // Checked int_min < value < 0 function opaqueCheckedBetweenIntMinAndZeroExclusive(arg) { if (arg < 0) { if (arg > (0x80000000|0)) { return Math.abs(arg); } } throw "We should not be here"; } noInline(opaqueCheckedBet...
Formatter = {}; Formatter.prettify = function(line, color){ return line; }
exports.checkBoxOutlineBlankImpl = require('@material-ui/icons/CheckBoxOutlineBlank').default;
/* sidabar management */ $(document).ready(function() { $("#sidebar").mCustomScrollbar({ theme: "minimal" }); $('#dismiss, .overlay').on('click', function() { $('#sidebar').removeClass('active'); // $('.overlay').removeClass('active'); }); $('#sidebarCollapse').on('click', ...