code
stringlengths
2
1.05M
import React from 'react'; import PropTypes from 'prop-types'; import Item from './Item'; import Wrapper from './Wrapper'; import SearchPage from 'containers/SearchPage'; function PageItemSearchPage(props) { const label = props.label ? <strong>{props.labelValue}:</strong> : ''; const collection = props.data.def....
'use strict' const { isMainThread, parentPort, workerData } = require('worker_threads') const multipart = require('./multipart') const run = require('./run') const createHist = (name) => ({ __custom: true, recordValue: v => updateHist(name, v), destroy: () => {}, reset: () => resetHist(name) }) const updateH...
/* Contentview for details is used to show description, sources, relations of an entity */ function Details(entity){ this.$container; this.$description; this.$action; this.$relatedness; this.$sources; this.entity = entity; this.loaded = false; this.partialLoaded = false; this.init(); } /* INIT */ /* init D...
define([ 'Utils/CheckType', 'Utils/Debug', 'underscore', 'Pool/DomainPool', 'Api/SpotifyResourceService', 'Domain/Album', 'Domain/Collection' ], function ( CheckType, Debug, _, DomainPool, MusicResourceService, Album, Collection ) { var AlbumPoolServiceClass =...
define(function(require) { var Marionette = require('marionette'); /** * @class FlashComponent * @extends {Marionette.View} */ var FlashComponent = Marionette.View.extend({ template: false, ui: { dismissBtn: '.dismiss-flash' }, events: { 'click @ui.dismissBtn': 'dismiss' ...
/*! * FullCalendar v1.6.4 * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ /* * Use fullcalendar.css for basic styling. * For event drag & drop, requires jQuery UI draggable. * For event resizing, requires jQuery UI resizable. */ (function($, undefined) { ;; var defaults = { // ...
(function() { 'use strict'; describe('controllers', function(){ var vm; var $timeout; var toastr; beforeEach(module('boardee')); beforeEach(inject(function(_$controller_, _$timeout_, _webDevTec_, _toastr_) { spyOn(_webDevTec_, 'getTec').and.returnValue([{}, {}, {}, {}, {}]); spyOn(...
/* * Copyright (c) 2015 Jeffrey Hunter * * Distributed under the MIT license. See the LICENSE file distributed * with this work for details and restrictions. */ var Memcached = require("../../index"); /** Evaluate calling context for callback */ function testContext(test, that, name, args) { test.ok(that.hasOw...
/** * @file Karma config * @author ielgnaw(wuji0223@gmail.com) */ import path from 'path'; import webpack from 'webpack'; import {assetsPath} from '../tool/util'; const SRC_ROOT = path.resolve(__dirname, '../src'); export default function (config) { config.set({ basePath: '../', frameworks: ['...
const React = require("react/addons"); const _ = require("lodash"); var FlashNotice = require('./flash_notices'); class MainFlash extends React.Component { constructor(props){ super(props); } render(){ return ( <FlashNotice type={this.props.type}> {this.props.message} </FlashNot...
version https://git-lfs.github.com/spec/v1 oid sha256:275d0f4cc752b6a57f247c903a14fdcbd6256dbf55ce027c085c040349730db7 size 49009
version https://git-lfs.github.com/spec/v1 oid sha256:dff8bca9b7290a519ccc582e9b7365f9185450ec3e96c5a4c70d5c860b575244 size 13617
/** * Created by wangdi on 4/11/16. */ 'use strict'; import React, {Component} from 'react'; import {Platform} from 'react-native'; import {Navigator} from 'react-native-deprecated-custom-components'; import MainPage from '../page/MainPage'; import SignInPage from '../page/SignInAndSignup/SignInPage'; import WebView...
// Copyright 2013-2022, University of Colorado Boulder /** * An immutable permutation that can permute an array * * @author Jonathan Olson <jonathan.olson@colorado.edu> */ import isArray from '../../phet-core/js/isArray.js'; import './Utils.js'; import dot from './dot.js'; class Permutation { /** * Creates ...
/* * Copyright (c) 2017. MIT-license for Jari Van Melckebeke * Note that there was a lot of educational work in this project, * this project was (or is) used for an assignment from Realdolmen in Belgium. * Please just don't abuse my work */ define(function (require) { var simpleLayoutHelper = require('./simp...
Livefyre.require([ 'streamhub-wall#3','streamhub-sdk#2','stream#0.2.2'], function (LiveMediaWall,SDK,Stream) { var collection = new SDK.Collection({ "articleId": "13", "siteId": 333682, "network": "client-solutions.fyre.co" }); var wall = window.wall = new LiveM...
// ch05-functions--destructuring-arguments.js // object as argument function getSentenceObj({ subject, verb, object }) { return `${subject} ${verb} ${object}`; } const o = { subject: "I", verb: "love", object: "JavaScript", }; let sentence = getSentenceObj(o); console.log(sentence); // I love JavaScript ...
'use strict'; const chai = require('chai'), sinon = require('sinon'), expect = chai.expect, Sequelize = require('../../../index'), Promise = Sequelize.Promise, Op = Sequelize.Op, Support = require('../support'), current = Support.sequelize, config = require('../../config/config'); describe(Support.ge...
const gulp = require('gulp'); const logger = require('gulplog'); const autoprefixer = require('gulp-autoprefixer'); const csso = require('gulp-csso'); const sass = require('gulp-sass'); const sourcemaps = require('gulp-sourcemaps'); const config = require('../gulp.config.js')(); const compileScss = () => { functi...
app.controller('UsersPasswordCtrl', ['$state', '$scope', 'users', '$timeout', 'SweetAlert', 'toaster','flowFactory', '$http', function ($state, $scope, users, $timeout, SweetAlert, toaster,flowFactory) { //Init input addForm variable //create users $scope.removeImage = function () { $scope.noIma...
function ChainableSelector(selector, scope) { this.selector = selector; this.scope = scope; } ChainableSelector.prototype = { getElement: function() { return this.scope.template.querySelector(this.selector); }, attr: function(attributePath, dataPath) { this.scope.bindElement(this.selector, attributeP...
let assert = require("assert"); let check = require("./../index.js"); describe("Bundle", function() { describe("bundle(methodNames, inputs)", function() { it("returns a two-dimensional array of input-method verifications", function() { assert.deepEqual( check.bundle(["isInteger", "isPositive"], [5, -2]), ...
const ProcessResponder = require("../src/process-responder"); const {project} = require("./constants"); const failProject = Object.assign(project, {coverage: {success: false}}); test('If coverage fails, but not halt, resolve 0', () => { const settings = Object.assign({haltOnFailure: false}, {project: failProject}...
// Register `userList` component, along with its associated controller and template angular. module('addUser'). component('addUser', { templateUrl:'add-user/addUser.html', controller: ['$scope','$http', '$routeParams', AddUserController] }); function AddUserController($scope, $http, $routeParams){ ...
import { resolve } from 'path' import { expect } from 'chai' import expandConfig from '../src/expandConfig' import buildRequiredTaskList from '../src/buildRequiredTaskList' import buildTaskDependencyGraph from '../src/buildTaskDependencyGraph' import sortTasks from '../src/sort' describe('buildTaskDependencyGraph.js'...
// flow-typed signature: bba9a073875551baae4c947ca66de207 // flow-typed version: <<STUB>>/imports-loader_v0.8.0/flow_v0.69.0 /** * This is an autogenerated libdef stub for: * * 'imports-loader' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work wi...
'use strict'; var $ = require('jquery'); var Backbone = require('backbone'); Backbone.$ = $; var _ = require('underscore'); var MAPS_API_URL = 'https://maps.googleapis.com/maps/api/js'; var PLACES_API_URL = '?libraries=places'; var API_KEY = 'AIzaSyC0l32fdHosB1b5YmlUtlWBfmnUIaI2BMU'; var _instance; var MapModuleVie...
// 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...
angular.module('ScoutIOApp') .factory('Folder', function ($http, Project) { var folders = []; var projects = []; // GET FOLDER BY ID var getFolderById = function (folder) { return $http({ method: 'GET', url: '/api/folders/' + folder.id }) .then(function (response) ...
(function () { 'use strict'; angular .module('aMetroEditor') .controller('MenuController', function MenuController($scope, $rootScope, $mdDialog, $timeout,EditorService, FileService, ModelService) { var self = this; this.settings = { edit:{ ...
(function () { var moduleName = 'test'; var dependencies = [['lodash', '_'], 'Q']; (function (context, factory) { if (typeof define === 'function' && define.amd) { for (var i = 0; i < dependencies.length; i++) { if (Array.isArray(dependencies[i])) { de...
ViewModel.mixin({ house: { address: '123 Main St.' } }); Person({ mixin: 'house', name: '', render() { <div class="item"> <div class="content"> <input type="text" b="value: name" /> <input type="text" b="value: address" /> </div> </div> } });
module.exports={ consumer_key:'2AeydC4JAdKUckgXsDGVdHkNS', consumer_secret:'wPVBNCK2E2iRn1AcIaTEEmzx9ACH1JDKfOVC7VjnwGfC6gwXsc', access_token:'725467234915610624-plFXxpxwaJp3TIaGbVjiPirPdcmvjbf', access_token_secret:'TXCYTRMe4mDL9iKeJQHcLME5bK8kjNCVjVzbWmEGUhw4b' }
'use strict'; var serviceHeadsup = angular.module('headsupServices', []); var port = ''; //var port = '3003'; serviceHeadsup.factory('headsupService', ['$http', '$location', function($http, $location){ var protocol = $location.protocol().concat('://'); var host = $location.host(); return { headsups: funct...
// @flow const WebSocket = require('ws'); class WebSocketServer { wss: WebSocket.Server; constructor(port: number) { this.wss = new WebSocket.Server({ port, clientTracking: true }, () => { console.log('WebSocket Server Listening at port ' + port); }); this.wss.on('connection', (...
var fs = require('fs'); /** * Get the text of an SQL query from a file. * * @param {String} path The name of the file to read the query from, prefixed by the path relative to the project's directory, if appropriate. * @return {String} The content of the file. */ function getQuery(path) { return fs.readFileSy...
/* * WYMeditor : what you see is What You Mean web-based editor * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/ * Dual licensed under the MIT (MIT-license.txt) * and GPL (GPL-license.txt) licenses. * * For further information visit: * http://www.wymeditor.org/ * * File: jquery.refinery...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const bcrypt = require('bcrypt'); const userSchema = new Schema({ username: { type: String, required: true }, password: { type: String, required: true }, firstName: { type: String, required: true }, lastName: { ...
/** * @file Project Constants * @author leonlu(ludafa@outlook.com) */ /*eslint-env node*/ module.exports = { ADD: 'PROJECT_ADD', UPDATE: 'PROJECT_UPDATE', CLOSE_FORM_DIALOG: 'PROJECT_CLOSE_DIALOG', OPEN_EDIT_DIALOG: 'PROJECT_OPEN_EDIT_DIALOG', OPEN_CREATE_DIALOG: 'PROJECT_OPEN_CREATE_DIALOG' };...
import React from 'react'; /** @jsx jsx */ import { css, jsx } from '@emotion/core'; import { fontSize } from '../utils/rocketbelt'; import meatball from '../images/meatball.svg'; const footerCss = css` position: relative; left: 50%; display: flex; padding: 2rem 1rem; width: 100vw; background: #e8edf3; ...
// # Ghost Configuration // Setup your Ghost install for various environments // Documentation can be found at http://support.ghost.org/config/ var path = require('path'), config; var config; if (process.env.OPENSHIFT_MYSQL_DB_HOST != undefined) { config = { // ### Production // When running Gh...
$(document).ready(function(){ $('.flexslider').flexslider({ directionNav: true, pauseOnAction: false }); // this is for search // $('.search-input input').click(()=>{ // $('.search-place').css('display','block'); // }); // $('.search-input input').blur(()=>{ // $(...
(function($) { var radio_boxes = {}; function add_box_to_list(yradio) { var list = radio_boxes[yradio.form_id] || {}; if (list[yradio.name]) { list[yradio.name] = list[yradio.name].add(yradio.$el); } else { list[yradio.name] = yradio.$el; } radio_boxes[yradio.form_id] = list; } function Yradio($...
/* Product Name: dhtmlxSuite Version: 4.0.3 Edition: Professional License: content of this file is covered by DHTMLX Commercial or Enterprise license. Usage without proper license is prohibited. To obtain it contact sales@dhtmlx.com Copyright UAB Dinamenta http://www.dhtmlx.com */ /* Copyright DHTMLX LTD. http://ww...
// flow-typed signature: 2ea4dc8d44d64d5c044be4bc31ad1a9d // flow-typed version: 2c04631d20/redux_v3.x.x/flow_>=v0.55.x declare module 'redux' { /* S = State A = Action D = Dispatch */ declare export type DispatchAPI<A> = (action: A) => A; declare export type Dispatch<A: { type: $Subtype<string...
export const CREATE_VERSION = 'CREATE_VERSION'; export const UPDATE_VERSION = 'UPDATE_VERSION'; export const DELETE_VERSION = 'DELETE_VERSION'; export const MOVE_VERSION = 'MOVE_VERSION';
import Ember from 'ember'; import { getEngineParent, setEngineParent } from './engine-parent'; import emberRequire from './ext-require'; const EngineInstance = emberRequire('ember-application/system/engine-instance'); const P = emberRequire('container/registry', 'privatize'); const { Error: EmberError, assert...
import { createBufferRefragPool } from 'source/node/data/Buffer.js' import { BUFFER_MAX_LENGTH, applyMaskQuadletBufferInPlace } from './function.js' const NULL_ERROR = (error) => { __DEV__ && error && console.log('[NULL_ERROR] get error', error) } /** @deprecated */ const createFrameReceiverStore = (frameLengthLimit)...
var _ = require('underscore')._; var Redobl = require('./redobl').Redobl; var ZSet = exports.ZSet = function() { } // Alias... var SortedSet = exports.SortedSet = ZSet; Redobl.addClass('zset', ZSet); Redobl.addClass('sortedset', ZSet); ZSet.define = function(name, config, proto) { // The name argument is optiona...
'use strict'; var gulp = tars.packages.gulp; var gutil = tars.packages.gutil; var gulpif = tars.packages.gulpif; var concat = tars.packages.concat; var sass = tars.packages.sass; var autoprefixer = tars.packages.autoprefixer; tars.packages.promisePolyfill.polyfill(); var postcss = tars.packages.postcss; var replace = ...
import Component from 'react-pure-render/component'; import React from 'react-native'; import {connect} from 'react-redux'; // yahoo/react-intl still does not support React Native, but we can use format. // https://github.com/yahoo/react-intl/issues/119 import {format} from '../../common/intl/format'; const { PropT...
import AppDispatcher from '../../scripts/dispatcher/appDispatcher'; import { ActionConstants as Constants } from '../../scripts/constants/constants'; import { EventEmitter } from 'events'; // Define the store as an empty array let _store = { rawText : "Paste JSON here", parsedJson : {}, jsonNode : {childLi...
/** * Created by Shawn Liu on 2014/11/10. */ var path = require("path"); process.env.NODE_CONFIG_DIR = path.join(__dirname, "../../config"); var logger = require("../../lib/log").getLogger("test/lib/log.test.js"); describe("Test lib/log.js",function(){ it("output log levels",function(done){ logger.debug(...
define(['exports'], function(exports) { // we are using a static instance to avoid unnecessary Function#bind and also // to avoid extra closures. less == more var _queue = []; var _willFlush = false; var nextTick = window.requestAnimationFrame || window.setTimeout; // --- exports.push = push; functi...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const online = new Schema({ user: { type: Schema.Types.ObjectId, ref: 'user' }, socket: String, createdAt: { type: Date, default: Date.now() } }) online.statics.findOneOnline = function (op) { ...
// 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, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
$(document).ready(function() { var data = {}; $('.examine').click( function() { console.log(data); }); $('#testform').render({ ifaces: ['viewform'], data: data, form: { widgets: [ { ifaces: ['repeatingField'], ...
/** * The MIT License (MIT) * * Copyright (c) 2014-2021 https://www.igorski.nl * * 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 r...
//broken chord 4 __().gain({id:"main"}).overdrive().overdrive().overdrive().dac(1); for(var z=0;z<16;z++) { var v = Math.floor(z/4)+1; var p = {v1:-1,v2:1,v3:-1/2,v4:1/2}; __().sine({id:"s"+z}).gain({class:"v"+v}).panner(p["v"+v]).connect("#main"); } __().sine(120).lowpass({q:200,frequency:60}).adsr(1/16)...
// This is where any explicit script odering should // be declared. module.exports = { app: [ './src/app.js', './src/**/!(init.js).js', './src/init.js' ], vendor: [] };
///<reference path="../main.js"> /** * Copyright 2016 Select Interactive, LLC. All rights reserved. * @author: The Select Interactive dev team (www.select-interactive.com) */ (function( doc ) { 'use strict'; app.obj = function() { }; app.obj.prototype = { }; }( document ) )...
(function() { 'use strict'; angular.module('LibraryBoxApp').filter('startFrom', [ function() { return function(input, start) { if (!input) { return []; } start = +start; return input.slice(start); }; } ]); }).call(this);
this.NesDb = this.NesDb || {}; NesDb[ '1128ED677399F969E25D9453320B85EF3D3BA35A' ] = { "$": { "name": "Mahjong", "altname": "麻雀", "class": "Licensed", "catalog": "HVC-MJ", "publisher": "Nintendo", "developer": "Nintendo", "region": "Japan", "players": "1", "date": "1983-08-27" }, "cartridge": [ ...
"use strict" import { Emitter, CompositeDisposable } from "atom" import MinimapElement from "./minimap-element" import Minimap from "./minimap" import * as config from "./config.json" import * as PluginManagement from "./plugin-management" import { treeSitterWarning } from "./performance-monitor" import { StyleReader ...
/** * @Author: Matteo Zambon <Matteo> * @Date: 2017-04-13 06:55:18 * @Last modified by: Matteo * @Last modified time: 2017-07-30 01:06:47 */ 'use strict' const faker = require('faker') const objectPath = require('object-path') const inflect = require('i')() const Service = require('trails/service') let mod...
/** * Lo-Dash 2.3.0 (Custom Build) <http://lodash.com/> * Build: `lodash modularize modern exports="node" -o ./modern/` * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and In...
/*! jQuery UI - v1.11.4 - 2015-08-29 * http://jqueryui.com * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery" ], factory ); } else { // Browser globals...
// Generated by CoffeeScript 1.8.0 (function() { var bindings, interval, os; bindings = require('bindings')('avahi_pub.node'); os = require('os'); module.exports = { publish: function(opts) { var service; service = bindings.publish(opts); bindings.poll(); return service; }, ...
var util = require('util'); var WildEmitter = require('wildemitter'); util.inherits(Socket, WildEmitter); function Socket(channel, options) { WildEmitter.call(this); this.options = options || {}; this.channel = channel; this._ports = this.options.ports || []; this.initialize(); } Socket.prototype...
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from './App' import router from './router' import store from './store' Vue.config.productionTip = false /* eslint-disable no-new */ new Vue({ ...
(function(window, undefined) { 'use strict'; /* jshint validthis:true */ function L10nError(message, id, loc) { this.name = 'L10nError'; this.message = message; this.id = id; this.loc = loc; } L10nError.prototype = Object.create(Error.prototype); L10nError.prototype.constructor = L10nError;...
const { Command } = require('discord-akairo'); const Logger = require('../../util/Logger'); const util = require('util'); /* eslint-disable no-unused-vars */ const Reputation = require('../../models/reputations'); const Star = require('../../models/stars'); /* eslint-enable no-unused-vars */ class EvalCommand extends...
'use strict'; angular .module('docsGeneratorApp', [ 'ngCookies', 'ngResource', 'ngSanitize', 'ngRoute' ]) .config(function ($routeProvider) { $routeProvider .when('/', { templateUrl: 'function/main.html', controller: 'MainCtrl' }) .when('/main', { tem...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
function viewport() { var e = window, a = 'inner'; if (!('innerWidth' in window)) { a = 'client'; e = document.documentElement || document.body; } return { width : e[ a+'Width' ], height : e[ a+'Height' ] }; }; // Device window is < 640px var isSmall = function() { var winW ...
import Rx from 'rxjs'; import calculatorActions from './calculatorActions'; test('Subjects are available', () => { expect(calculatorActions.actions.addInclusion$).toBeInstanceOf(Rx.Subject); expect(calculatorActions.actions.removeInclusion$).toBeInstanceOf(Rx.Subject); expect(calculatorActions.actions.editInclus...
var url = require('url'); exports.init = function (model) { var filename = model.get('filename') || 'github-btn.html' , fileurl = model.get('fileurl') , domain = model.get('domain') || 'ghbtns.com' , giturl = model.get('giturl') , height = model.get('height') , protocol = model.get('secure') ? 'h...
// as taken from: https://raw.githubusercontent.com/Jxck/assert/master/assert.js // becuase I don't want to use a stupidly verbose assertion library. // http://wiki.commonjs.org/wiki/Unit_Testing/1.0 // // THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8! // // Copyright (c) 2011 Jxck // // Originally from node.js (ht...
var testsContext = require.context('./app', true, /\.spec\.js$/); testsContext.keys().forEach(testsContext); var srcContext = require.context('./app', true, /!(\.spec\.js)$/); srcContext.keys().forEach(srcContext);
var $Movement = $Movement || {}; (function($) { $.fn.commentsFeed = function(maxItemsInFeed) { return $(this).each(function() { return $Movement.commentsFeed.init(this, maxItemsInFeed); }); } })(jQuery); $Movement.commentsFeed = (function() { var self = {}; self.init = function(root, maxItemsIn...
// Begin function declaration. var sayHello; sayHello = function() { // Print a greeting. return console.log('hi'); };
import React from 'react' const LiveHelp = () => <div> The live help page </div> const styles = { } export default LiveHelp
/** * Sorts the valid JSON object and returns it. * @param {JSON object to be sorted} object. * @param {function containing returned values as 1.Error, 2.Sorted JSON object } callback. * In this it first creates the valid JSON schema and afterwords validates the object with it * if it is valid then it sorts ...
import Ember from 'ember'; import hbs from 'htmlbars-inline-precompile'; import ajax from 'dummy/utilities/ajax'; import connect from 'ember-redux/components/connect'; var stateToComputed = (state) => { return { users: state.users.all }; }; var dispatchToActions = (dispatch) => { return { fetch: () => a...
(function() { "use strict"; angular.module('bucket-collector').factory('SEDataService', SEDataService); SEDataService.$inject = ['API_URL', '$http', '$q', 'SettingsService']; function SEDataService(API_URL, $http, $q, Settings) { return { getCustomers: getCustomers }; ...
import {Ion} from '@ion-cloud/core'; import {easel} from './index'; // This makeItRain demo constantly keeps 100 particles (dollars) on the screen export function makeItRain() { let shirtWidth = 0, shirtLeft = 0, shirtHeight = 0, shirtTop = 0, logoWidth = 0, logoHeight = 0; const headerText = '<%= name %> V...
define([ 'mage/storage', 'Magento_Checkout/js/model/url-builder', 'Magento_Checkout/js/model/error-processor', 'Magento_Checkout/js/model/full-screen-loader' ], function (storage, urlBuilder, errorProcessor, fullScreenLoader) { 'use strict'; return function (orderId, messageContainer) { ...
const mongoose = require('mongoose'); var lightSchema = new mongoose.Schema({ bridgeId: String, bridgeLightId: { type: String, required: true }, state: { type: Boolean, required: true, default: true }, sat: { type: Number, required: true, default: 254 }, bri: { type: Number, required: true, default: 100 }, ...
version https://git-lfs.github.com/spec/v1 oid sha256:9252cdf1d10a47742e55a564183a689a04eec289d704a1510933de90369862ab size 38140
function DefectSummaryMatrix() { var defectData; var table; var total = "Total"; var rallyDataSource = new rally.sdk.data.RallyDataSource('__WORKSPACE_OID__', '__PROJECT_OID__', '__PROJECT_SCOPING_UP__', '__PROJECT_SCOPING_DOWN__'); var header = rally.sdk.ui.AppHeade...
import Flickr from "@/flickr" export default function getPhotos( { flickr = Flickr, photosetId = ``, userId = `` } = {}, { privacyFilter = 0, media = `all`, extras = ``, page = 1, perPage = 500 } = {} ) { return flickr.fetchResource( `flickr.photosets.getPhotos`, { photosetId, userId }, { privacyFilt...
/** * Object.getPrototypeOf Polyfill */ if( !Object.getPrototypeOf ) Object.getPrototypeOf = function(obj) { var proto = obj.__proto__; if (! proto) { proto = (obj.constructor ? obj.constructor.prototype : Object.prototype); } return proto; }
// # Ghost Configuration // Setup your Ghost install for various environments var path = require('path'), config; config = { // ### Development **(default)** development: { url: 'http://dev.empeeric.com', database: { client: 'sqlite3', connection: { ...
/****************************************************************************** almostvanilla.js https://github.com/cvasseng/almostvanilla.js/ Copyright (c) 2015 Chris Vasseng Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwa...
// Custom JavaScript here // ======================================================================= //= require jquery //= require jquery.easing/jquery.easing //= require jquery.stellar/jquery.stellar //= require mapbox.js/mapbox.uncompressed //= require formstone/dist/js/core //= require formstone/dist/js/transition...
// Handles all navigation stuff import { NAV_LOGIN, NAV_LOGOUT } from '../actions/types'; import { AppNavigator } from '../AppNavigator'; // Start with two routes: The Main screen, with the Login screen on top. const firstAction = AppNavigator.router.getActionForPathAndParams('Login'); const tempNavState = AppNav...
let currentBrowser; module.exports = { tags: ['component', 'video'], 'Bolt Video Playback Rate': function(browser) { const { testingUrl } = browser.globals; console.log(`global browser url: ${testingUrl}`); currentBrowser = '--' + browser.currentEnv || 'chrome'; let testName = 'bolt-video-playback-...
// @flow import defineType, { assertEach, assertNodeType, assertValueType, chain, } from "./utils"; import { classMethodOrPropertyCommon } from "./es2015"; defineType("AwaitExpression", { builder: ["argument"], visitor: ["argument"], aliases: ["Expression", "Terminatorless"], fields: { argument: { ...
version https://git-lfs.github.com/spec/v1 oid sha256:3da8a6eec57798cf88c64374348f0ffdd895462d1653ca948965416b7ff8a2d2 size 15659
version https://git-lfs.github.com/spec/v1 oid sha256:3487b2a00e32392d11c09f4cf9238beea7ac51de0c4bafe5dcaf2f04a523b6d9 size 70159