code
stringlengths
2
1.05M
import React from 'react' import { Step, Stepper, StepButton, StepContent } from 'material-ui/Stepper' import RaisedButton from 'material-ui/RaisedButton' import FlatButton from 'material-ui/FlatButton' import Introduction from './introduction' import Create from './create' import Review from './review' import { gene...
const colBase = { width: '100%', display: 'block', position: 'relative' }; const style = { body: { fontFamily: 'Arial', fontSize: '18px', color: '#514a54', height: '100%' }, wrapper: { minHeight: '100%', height: 'auto !important', margin: '0px 25px -63px' }, header: { pos...
(function (global) { // map tells the System loader where to look for things var map = { 'app': 'app', // 'dist', '@angular': 'node_modules/@angular', 'rxjs': 'node_modules/rxjs', '@angular/router': 'node_modules/@angular/router', 'photoswipe': 'node_modules/photo...
export const ic_image_aspect_ratio_twotone = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M4 18h16V6H4v12zm10-8h2v2h-2v-2zm0 4h2v2h-2v-2zm-4-4h2v2h-2v-2zm-4 0h2v2H6v-2z","opacity":".3"},"children":[]},{"name":"path","attrib...
version https://git-lfs.github.com/spec/v1 oid sha256:db6470beeed99d04165b8374950bd20d084c72732e6ee7b091a0616953f72c49 size 195076
/* eslint-env node, mocha */ const should = require('chai').should(); const mongoose = require('mongoose'); mongoose.Promise = Promise; const getModel = require('../lib/model'); const mongoHost = process.env.MONGO_HOST || '127.0.0.1'; let connection; let JobModel; before((done) => { connection = mongoose.createConne...
/** * Created by nuintun on 2015/12/4. * See: https://github.com/rsms/js-lru */ 'use strict'; /** * A doubly linked list-based Least Recently Used (LRU) cache. Will keep most * recently used items while discarding least recently used items when its limit * is reached. * * Licensed under MIT. Copyright (c) 201...
/** * Created by Administrator on 2015/12/2. */ 'use strict'; require(['app'],function(app){ app.constant("referinURL", "/user/reset"); app.controller("forgetCtr", ["$scope","$state" ,"$rootScope","$http", "referinURL", "loocha", function ($scope, $state, $rootScope, $http, referinURL, loocha) { $scop...
'use strict'; var path = require('path'); var assert = require('yeoman-assert'); var app = require(path.resolve('generators/app')); // var helpers = require('yeoman-test'); describe('generator-swanky:app', function () { // before(function (done) { // helpers.run(path.join(__dirname, '../generators/app')) // ...
/*! Chosen, a Select Box Enhancer for jQuery and Prototype by Patrick Filler for Harvest, http://getharvest.com Version 1.6.1 Full source at https://github.com/harvesthq/chosen Copyright (c) 2011-2016 Harvest http://getharvest.com MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md This file is ge...
import CoSelect from './select'; import CoOption from './option'; export { CoSelect, CoOption };
import React from 'react'; import { mount } from 'enzyme'; import toJson from 'enzyme-to-json'; import { ThemeProvider } from 'styled-components'; import { theme } from 'mcs-lite-theme'; import DataChannelAdapter from '../DataChannelAdapter'; it('should render HEX_DISPLAY correctly with default value to empty', () => ...
import React from 'react'; import {mount} from 'enzyme'; import ResponsiveMenu from '../src/ResponsiveMenu'; describe('ResponsiveMenu', () => { it('should render without throwing an error', () => { expect(mount( <ResponsiveMenu> <ResponsiveMenu.Item text="Test 1" icon="calendar"/> <ResponsiveMenu.Item te...
'use strict'; // Development specific configuration // ================================== module.exports = { // MongoDB connection options mongo: { uri: 'mongodb://localhost/teamanalyzer-dev' }, seedDB: true };
(function($){ $.fn.popupWindow = function(instanceSettings){ return this.each(function(){ $(this).click(function(){ $.fn.popupWindow.defaultSettings = { centerBrowser:0, // center window over browser window? {1 (YES) or 0 (NO)}. overrides top and left centerScreen:0, // center window over ent...
import Qty, { isQty } from "./constructor.js"; import { PREFIX_VALUES, OUTPUT_MAP, UNITY_ARRAY } from "./definitions.js"; import { assign, compareArray, isNumber, isString, round } from "./utils.js"; import NestedMap from "./nested-map.js"; /** * Default formatter * * @param {number} scalar - scalar...
// VCE Project - Separator class // // A simple class to store input/output information and apply // various transformations to simulate a separation unit operation. // // Requires: // - vce_utils.js // - vce_math.js // // Andrew D. McGuire 2019 // a.mcguire227@gmail.com //-----------------------------------...
version https://git-lfs.github.com/spec/v1 oid sha256:8d946e97cf8f4a6f79bc9306de2f5ed7df38d23dde8056d5a7552bc68f317707 size 2571
$(function(){ window.requestAnimFrame = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function( callback ){ window.setTimeo...
import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { chainPropTypes, visuallyHidden } from '@mui/utils'; import { unstable_composeClasses as composeClasses } from '@mui/base'; import useTheme from '../styles/useTheme'; import { capitalize, useForkRef, useIsFocusVis...
(function() { $(function() { /* toy.js 可扩展的webApp开发库 @author 史泓 @version 0.1 */ var Toy; Toy = (function() { function Toy() {} /* toyInit toy库的事件初始化函数 @param Array fnarray 事件委托程序对象模型,包含了绑定事件对应的handel @example t.toyInit() */ Toy.pro...
(function() { module('Provider Fallback'); function qioConn() { return new QuickIo(QuickIoServer + ':55441'); } asyncTest('fallback to http', 3, function() { var qio = qioConn(); equal($('iframe').length, 0); qio.on('/open', function() { var $iframe = $('iframe'); equal($iframe.length, 1); ok(...
'use strict'; const hooks = require('./hooks'); var conn_arr = {client:'pg',connection:'postgres://postgres@localhost/calender'} //var db = knex(conn_arr); class Service { constructor(options) { this.options = options || {}; this.db = require('knex')({client: 'pg',connection:'postgres://postgres@localhost/c...
var gulp = require('gulp'), del = require('del'), config = require('../../config').clean.development; /** * Delete folders and files */ gulp.task('clean', function() { return del([config.src + '/**/*']).then(paths => { console.log('Deleted files and folders:\n', paths.join('\n')); }); });
'use strict'; const should = require('should'); const createBoundIssueExtractor = require('../../../core/services/boundIssueExtractor'); describe('Bound Issue Extractor', () => { const boundIssueExtractor = createBoundIssueExtractor(); context('Interface', () => { it('should have the "extract" method', () =>...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'pagebreak', 'sl', { alt: 'Prelom Strani', toolbar: 'Vstavi prelom strani' } );
'use strict'; // Call the packages const express = require('express'); const app = express(); const bodyParser = require('body-parser'); const morgan = require('morgan'); const mongoose = require('mongoose'); const db = mongoose.connection; const config = require('./config'); const path ...
// Client code Meteor.subscribe('groups'); Groups = new Mongo.Collection("groups"); Template.body.created = function () { if (Accounts._verifyEmailToken) { Accounts.verifyEmail(Accounts._verifyEmailToken, function (err) { if (err != null) { if (err.message = 'Verify email link expired [403]') { console....
// 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 any plugin's vendor/assets/javascripts directory can be referenced here using a relative ...
var compareApp = angular.module('compareApp', ['ngRoute']); compareApp.config( function( $routeProvider ){ $routeProvider .when( "/compare", {redirect:'/url'} ) .when( "/url", {action: 'url'} ) .when( "/file", {action:'file'} ) .otherwise( {action: "file"} ); }); compareApp.controller('MainCtrl', function ...
/* eslint no-unused-expressions: "off" */ /* eslint-env mocha */ 'use strict'; const chai = require('chai'); const parser = require('../src/parser/parser.js'); const nodes = require('../src/parser/nodes.js'); const expect = chai.expect; describe('Parser', () => { it('can parse simple text', () => { const resu...
const statuses = ["online", "idle", "invisible", "dnd"]; module.exports = { roles: ["[admin]"], descr: "Cambia el estado del bot.", exec: (message, args) => { if(statuses.includes(args[1])) { global.bot.user.setStatus(args[1]); } else { message.author.sendEmbed({ ...
'use strict'; angular.module('myApp.blog.services', []).factory('postService', function() { return { posts : [ { id : 1, title : 'Simple title1', content : 'Sample content...', permalink : 'simple-title1', author : 'Sandeep', datePublished : '2012-04-04' }, { id : 2, ...
function Tile(state) { this.ratio = window.devicePixelRatio || 1; this.n = state.n; this.isball = state.isball; this.istile = state.istile; } Tile.prototype.getState = function() { return { x: this.x, y: this.y, width: this.width, height: this.height }; } Tile.pro...
// // Implements a simple client for emitting OML measurements. // var net = require('net'); var os = require('os'); var _ = require('underscore'); DEFAULTS = { host: 'localhost', port: 4030, }; var Sock = null; // set by init() var NoOp = false; // Skip OML when --oml-noop is set // Initialise the OML framewo...
'use strict'; /* Directives */ angular.module('chapelcoWeatherApp.directives', []). directive('appVersion', ['version', function(version) { return function(scope, elm, attrs) { elm.text(version); }; }]);
export { default } from './lib/simple';
require('newrelic'); var express = require('express'), http = require('http'), path = require('path'), hogan = require('hogan-express'), util = require('util'), app = express(), config = require('./config'), server = require('http').createServer(app), azure = require('azure'), io = require('socket.io'...
// Generated on 2014-12-17 using // generator-webapp 0.5.1 'use strict'; // # Globbing // to only match one level down: // 'test/spec/{,*/}*.js' // If you want to recursively match all subfolders, use: // 'test/spec/**/*.js' var noCache = require("connect-nocache")(); module.exports = function(grunt) { // Load ...
(function () { "use strict"; function CustomerMyProfileComponent(safeDigest, $scope, bidderStore, bidStore, profileStore, weddingActions, weddingCollection, weddingStore) { var self = this; self.onInit = function () { self.profile = profileStore.currentProfile; ...
import forEach from 'tui-code-snippet/collection/forEach'; import Submenu from '@/ui/submenuBase'; import templateHtml from '@/ui/template/submenu/crop'; import { assignmentForDestroy } from '@/util'; /** * Crop ui class * @class * @ignore */ class Crop extends Submenu { constructor(subMenuElement, { locale, mak...
import React from 'react' import Helmet from "react-helmet"; export default class AboutPage extends React.Component { render() { return ( <div> <Helmet title='About' /> <p>What <em>is</em> this site about?</p> </div> ) } }
Ext.define('sisprod.model.CriteriaGroupModel', { extend: 'Ext.data.Model', require: [ 'Ext.data.Model' ], fields:[ {name: 'idCriteriaGroup', type: 'int', visible: false}, {name: 'criteriaGroupName', type: 'string', visible: true}, {name: 'criteriaGroupOrder', ...
import { LIKE_POINT, COMMENT_POINT, POST_POINT, POST, LIKE, COMMENT, MAX_OUTPUT } from './constants'; class Feed { constructor(currentUserId) { this.currentUserId = currentUserId; this.key = {}; this.info = []; } add({ user, type }) { let score; const { id, name, ...
const bcrypt = require('bcrypt-nodejs'); const crypto = require('crypto'); const mongoose = require('mongoose'); const userSchema = new mongoose.Schema({ email: { type: String, unique: true }, username: { type: String, unique: true }, password: String, passwordResetToken: String, passwordResetExpires: Date, ...
describe('Thermostat', function() { var thermostat; beforeEach(function() { jasmine.getFixtures().fixturesPath = '.'; loadFixtures('index2.html'); thermostat = new Thermostat(); }); xit('displays default temperature', function(){ expect('#thermostat').toContainText(thermostat.defaultTemperatur...
module.exports = function(tag) { var template = 'partials/article-home.md'; var articles = this.pages('articles', 'date'); var html = '', to = articles.length; for(var i=0; i<to; i++) { var article = articles[i]; var tags = article.get('tags'); if(tags && tags.indexOf(tag) >= 0) { html += this.template(tem...
define([ "./core", "./var/indexOf", "./traversing/var/rneedsContext", "./core/init", "./traversing/findFilter", "./selector" ], function (jQuery, indexOf, rneedsContext) { var rparentsprev = /^(?:parents|prev(?:Until|All))/, // Methods guaranteed to produce a unique set when starting from a unique set guarante...
var stream = require('stream'); if (!Array.isArray) { Array.isArray = function(arg) { return Object.prototype.toString.call(arg) === '[object Array]'; }; } module.exports = function(options){ var defaultOptions = { caseSensitive: false, searchKeys: [] }; options = options || {}; for (var opt ...
/* * QUnit - A JavaScript Unit Testing Framework * * http://docs.jquery.com/QUnit * * Copyright (c) 2009 John Resig, Jörn Zaefferer * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. */ (function(window) { var QUnit = { // Initialize the configuration options init: funct...
'use strict'; // Use applicaion configuration module to register a new module ApplicationConfiguration.registerModule('entity-classifications');
F("collections", F.Component.extend({ afterRender: function(cb) { var self = this; self.$("#btn-createCollection").click(function(){ var colName = self.$("#input-colName").val().trim(); if (!colName) return; MONGRES.client.createCollection(F.env.conn, F.env.db, colName, function(){ s...
'use strict'; var assert = require('assert'); var net = require('net'); var _ = require('lodash'); var async = require('async'); var bitcore = require('bitcore-lib'); var bitcoreNode = require('bitcore-node'); var log = bitcoreNode.log; var lmdb = require('node-lmdb'); var BlockFilter = require('./block-filter'); va...
const { babelMain, babelTest } = require('./config/presets') module.exports = { env: { development: { presets: babelTest.presets }, test: { presets: babelTest.presets }, production: { presets: babelMain.presets, plugins: babelMain.plugins } } }
import * as mortgage from './mortgage'; document.getElementById('calcBtn').addEventListener('click', () => { let principal = document.getElementById("principal").value; let years = document.getElementById("years").value; let rate = document.getElementById("rate").value; let {monthlyPayment, monthlyRa...
function mean (array) { return array.reduce((acc, value) => acc + value, 0) / array.length } module.exports = mean
(function (app) { 'use strict'; app.registerModule('groups', ['core']);// The core module is required for special route handling; see /core/client/config/core.client.routes app.registerModule('groups.routes', ['ui.router', 'core.routes']); app.registerModule('groups.services'); }(ApplicationConfiguration));
var moveForward = { canMove: true, transforms: { file: 0, rank: 1 }, postMoveAction: { action: function (piece, state, board) { var move = state.moveHistory.slice(-1)[0]; if (move.to.rank !== 1 && move.to.rank !== 8) return; var promotionNo...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
import{W as e,s as t,h as i,w as r}from"./index-a1fc4272.js";import{f as s}from"./browser-fixes-ad0e4ba1.js";export default class extends e{init(){this.props.src=e=>{this.load(e)},this.props.loading=e=>{this.ref&&this.ref!==this.host&&t(this.ref,"loading",e)},super.init()}connected(){[...this.host.querySelectorAll("img...
// Find posts where name equals argument // HTTP API // http://localhost:3000/functions/loadPostsByName?name=joe // GraphQL // { // loadPostsByName(name: "joe") { // id // rev // name // } // } module.exports = (ctx, args, parent) => { //Logging to output ctx.log(args.name); //Using PouchDB wi...
search_result['643']=["topic_0000000000000159.html","PostVacancyStageController.RetrieveStageList Method",""];
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Order enquiry form Schema */ var OrderEnquiryFormSchema = new Schema({ enquiryNo: { type: Number, default: '', required: 'Please fill Order enquiry number', trim: false }, enquiryDate: { t...
import winston from 'winston' import expressWinston from 'express-winston' import { isProd } from 'shared/env' const ERROR_MSG_500 = 'Internal server error' export default [ function handleNotFound(req, res, next) { res.status(404).send('NotFound') }, expressWinston.errorLogger({ transports: [ new...
/** * Module dependencies */ var Sails = require('../../../lib').Sails; describe('Pubsub hook', function (){ describe('loading a Sails app', function (){ describe('without ORM hook', function (){ var app = Sails(); it('should fail', function (done){ app.load({ globals: false, ...
search_result['1814']=["topic_0000000000000467_events--.html","tlece_UserSetting Events",""];
search_result['3233']=["topic_00000000000007C0_attached_props--.html","ApplicantDetailResponseDto Attached Properties",""];
/** * Create a constant object. * * @method createConstants * @public * * @param {String} constants The constants to be converted. * @return {Object} an key/value constant object */ export default function (...constants:Object):Object { return constants.reduce((accumulator:Object, constant:string):Object => ...
var vsmApp = angular.module('vsmApp'); vsmApp.service('StockQuotesService', ['$http','$q','$log','$rootScope', function ($http, $q, $log, $rootScope) { this.getStockLists = function(){ var deferred = $q.defer(), actionUrl = 'stockList/'; actionUrl = $rootScope.getFinalURL(actionUrl); ...
import fs from 'fs'; import url from 'url'; import path from 'path'; import mkdirp from 'mkdirp'; import request from 'request'; import Log from '../utils/log'; const log = new Log('WORKER-' + process.argv.slice(2)[0]); let wouldExit = false; let config, task, id , fileName, localPath, sourceUrl, targetDir, folder; ...
// TypeIt by Alex MacArthur - https://typeitjs.com var isArray = (thing) => Array.isArray(thing); var asArray = (value) => { return isArray(value) ? value : [value]; }; const Queue = function(initialItems) { const add = function(steps) { _queue = _queue.concat(asArray(steps)); return this; }; const set ...
import"./index-cc7d787a.js";import{F as t}from"./formatter-b76b37f7.js";import{n as r}from"./number-ef2d228a.js";export default class extends t{static get formatter(){return r}}
/*! * DevExtreme (dx.messages.tr.js) * Version: 21.2.5 (build 22033-1237) * Build date: Wed Feb 02 2022 * * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; ! function(root, factory) { if ("function" ...
/**! Qoopido.nucleus 3.2.8 | http://nucleus.qoopido.com | (c) 2020 Dirk Lueth */ !function(){"use strict";provide(["/demand/pledge","../../css/property"],(function(e,r){var t=e.defer(),n=r("transform");return n?t.resolve(n):t.reject(),t.pledge}))}(); //# sourceMappingURL=transform.js.map
/*!! * @atlassian/aui - Atlassian User Interface Framework * @version v7.7.1 * @link https://docs.atlassian.com/aui/latest/ * @license SEE LICENSE IN LICENSE.md * @author Atlassian Pty Ltd. */ // src/js-vendor/jquery/jquery-ui/jquery.ui.datepicker.js (typeof window === 'undefined' ? global : window).__e655bb43386...
/** * @license Highcharts JS v9.0.1 (2021-02-16) * @module highcharts/modules/cylinder * @requires highcharts * @requires highcharts/highcharts-3d * * Highcharts cylinder module * * (c) 2010-2021 Kacper Madej * * License: www.highcharts.com/license */ 'use strict'; import '../../Series/Cylinder/CylinderSerie...
/** @license React vundefined * react.profiling.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ (function(){'use strict';(function(c,y){"object"===typeof exports&&"undefine...
'use strict'; /** ******************************* * 加载依赖 ******************************* */ const fs = require('fs'), path = require('path'), stat = require('./stat'); /** ******************************* * 定义软链接方法 ******************************* */ function symlink(src, dist, files) { // 遍历需...
'use strict'; var inherits = require('inherits'); var $ = require('bitcore-lib').util.preconditions; var Script = require('bitcore-lib').Script; var Transaction = require('bitcore-lib').Transaction; var _ = require('bitcore-lib').deps._; /** * A commitment transaction (also referred to as Lock transaction). * *...
/* * Copyright (C) 2012 David Geary. This code is from the book * Core HTML5 Canvas, published by Prentice-Hall in 2012. * * License: * * 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 Softwar...
define(['modules/core/src/TimeSignatureModel'], function(TimeSignatureModel) { /** * Bar core model * @exports core/BarModel */ function BarModel(options) { options = options || {}; this.begining = options.begining; this.clef = options.clef; // empty clef means it doesn't change from previous thi...
#!/usr/bin/env node /** * Stairway of frequencies * * @author Viacheslav Lotsmanov */ var jackConnector = require('../index.js'); var jackClientName = 'JACK connector - stairway of frequencies'; console.log('Opening JACK client...'); jackConnector.openClientSync(jackClientName); console.log('Registering JACK po...
'use strict'; /** * Module dependencies. */ const mongoose = require('mongoose'); const { wrap: async } = require('co'); const { respond } = require('../utils'); const Article = mongoose.model('Article'); /** * List items tagged with a tag */ exports.index = async(function* (req, res) { const criteria = { tag...
var express = require('express'); var User = require(softblu + 'model/user'); module.exports = function (router) { /** * An example route which returns all users in the database. * * Note: This route makes no excuses of being insecure - it does no additional * authorisation checks beforehand. I...
'use strict'; var autoprefixer = require('gulp-autoprefixer'); var browserify = require('browserify'); var buffer = require('vinyl-buffer'); var connect = require('gulp-connect'); var del = require('del'); var eslint = require('gulp-eslint'); var gulp = require('gulp'); var insert = require('gulp-insert'); var path = ...
/** * mongodb.js * * A simple wrapper for mongodb driver */ var mongo = require('yieldb').connect; var db; module.exports = database; /** * Return an instance of yieldb * * @param Object opts Custom options for driver * @return MongoDB */ function *database(opts) { if (db) { return db; } if (!o...
// Generated by LiveScript 1.5.0 /** * @package Shop * @category modules * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @license 0BSD */ (function(){ Polymer({ is: 'cs-shop-category-nested', properties: { href: String, category_title: String }, ready: function(){ var im...
if(typeof exports === 'object') { var assert = require("assert"); var alasql = require('..'); }; describe('Test 79 - Prettify', function() { // it('localStorage', function(done){ // done(); // }); });
/* eslint-disable no-var, comma-dangle, object-shorthand */ /* global Notes */ import '~/merge_request_tabs'; import '~/commit/pipelines/pipelines_bundle'; import '~/breakpoints'; import '~/lib/utils/common_utils'; import '~/diff'; import '~/files_comment_button'; import '~/notes'; import 'vendor/jquery.scrollTo'; (f...
!function(root) { var IS_MODULE = 'object' === typeof exports function Grapnel(options) { var _this = this this.options = options || {} this.options.env = this.options.env || (IS_MODULE ? 'server' : 'client') this.options.mode = this.options.mode || (!!(this.options.env !== 'se...
var lang = { 'A %type% block is not rendered when the editor is active' : 'A %type% block is not rendered when the editor is active', 'This operation is not allowed when you are editing the contents' : 'This operation is not allowed when you are editing the contents', 'This operation is not allowed when you...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
var settingsSubscriptionScreenForms = { updateCard: function () { return { number: '', cvc: '', month: '', year: '', zip: '', errors: [], updating: false, updated: false }; } }; Vue.component('spark-settings-subscription-screen', { /* * Bootstrap the component. ...
import { test } from 'qunit'; import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'; import Materialize from 'materialize'; moduleForAcceptance('Materialize Shim Tests'); test('Installation verification', function(assert) { visit('/'); andThen(function() { assert.ok( find('#title'...
var activeRequests = {} var requestCounter = 0; mtajax = {} mtajax.makeRequest = function () { var args = Array.prototype.slice.call(arguments); var arglist = [ "onClientAJAXRequest", requestCounter ]; arglist.push.apply(arglist, args); mta.triggerEvent.apply(null, arglist) var def = $.Deferred(); ...
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
'use strict'; var assert = require('assert'); describe('Array', function(){ describe('#indexOf()', function(){ it('should return -1 when the value is not present', function(){ assert.equal(-1, [1,2,3].indexOf(5)); assert.equal(-1, [1,2,3].indexOf(0)); }); }); });
import {inject, bindable} from 'aurelia-framework'; import {I18N} from 'aurelia-i18n'; import {EventAggregator} from 'aurelia-event-aggregator'; import {parseJSON} from './resources/jsonparser'; import {Field} from './resources/form/abstract/field'; import {schema, fieldsToShow} from './schemas/index'; import {Validati...
// Friendly login & sign up form // // based on http://blog.leahculver.com/2009/11/log-in-or-sign-up.html // // @author Rolando Espinoza La fuente // @web http://rolandoespinoza.info // @license MIT // in case there isn't firebug if (typeof console == 'undefined') { console = {log: function(){}}; } jQuery(functio...
(function (app, $, undefined) { $(document).ready(function () { console.log('document.ready'); require([ 'dojo/dom', 'dojo/dom-construct' ], function (dom, domConstruct) { var greetingNode = dom.byId('greeting'); domConstruct.place('<i> Dojo...