code
stringlengths
2
1.05M
#!/usr/bin/env node 'use strict' const allowedOptions = [ 'input', 'output', 'update', 'help' ], mobileOses = [ 'iOS', 'Android', 'Windows Phone', 'Blackberry' ], standardProperties = ['os', 'osVersion', 'browser', 'browserVersion', 'device', 'TestType'], allowedProperties = require('./../../../lib/platforms/...
// // GRUNT TASK: Neuter // A simple ordered concatenation strategy. // ----------------- module.exports = { main: { options: { // This should be achieved by basePath, but doesn't work for some reason filepathTransform: function(filepath){ return 'src/javascripts/' + filepath; }, template: '{%=...
const path = require('path'); module.exports = { development: { rootFolder: path.normalize(path.join(__dirname, '/../')), connectionString: 'mongodb://127.0.0.1:27017/blog' }, production:{} };
version https://git-lfs.github.com/spec/v1 oid sha256:d09e6a88bd72822a8856c37666494370d75d5a86886f8011237d1a1a182e07a2 size 360885
/** * The MIT License (MIT) * Copyright (c) 2017-present Dmitry Soshnikov <dmitry.soshnikov@gmail.com> */ 'use strict'; const {transform} = require('../../../transform'); const quantifiersMerge = require('../quantifiers-merge-transform'); describe('merge quantifiers with simple previous sibling', () => { it('a...
import React from 'react'; import moment from 'moment'; import Helmet from 'react-helmet'; import { prefixLink } from 'gatsby-helpers'; import { config } from 'config'; import Nav from '../components/IndexNav'; import ProfilePhoto from '../components/ProfilePhoto'; import '../css/modules/styles.scss'; import WebFont ...
var EventEmitter = require('events').EventEmitter var util = require('util') var tools = require('./tools'); var datefloor = require('date-floor'); var timestampseries = require('timestamp-series'); function Schedule(db){ var self = this EventEmitter.call(this) this._db = db; } util.inherits(Schedule, EventEmitt...
babelHelpers.jsx(_reactBootstrap.Modal.Header, {}, void 0, "foobar");
'use strict'; angular.module('myApp') .config(['$routeProvider', function($routeProvider) { $routeProvider .when('/cliente/torneos', { controller: 'TorneosController', templateUrl: 'sections/cliente/torneos/torneosView.html', activetab: 'torneos', resolve: { "currentAuth": ["Auth", function(Auth) { ...
var imageContainerMargin = 0; // Margin + padding // This watches for the scrollable container var scrollPosition = 0; $('div#contents').scroll(function() { scrollPosition = $(this).scrollTop(); }); function initMap() { // This creates the Leaflet map with a generic start point, because code at bottom automatical...
const webpack = require('webpack'); module.exports = { devtool: 'cheap-module-source-map', entry: './modules/main.js', output: { filename: './js/bundle.js' }, plugins: [ new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('production') } }), new webpack.optimize.UglifyJsPlug...
Package.describe({ summary: 'Accounts Templates styled for Materialize Css.', version: '1.12.2', name: 'useraccounts:materialize', git: 'https://github.com/meteor-useraccounts/materialize.git', }); Package.on_use(function(api, where) { api.versionsFrom('METEOR@1.0'); api.use([ 'templating', 'under...
import React, { Component, PropTypes } from 'react'; import Table from '../component/Table'; const propTypes = { height: PropTypes.string.isRequired, width: PropTypes.string.isRequired, fontSize: PropTypes.string.isRequired, title: PropTypes.string.isRequired, elements: PropTypes.array.isRequired, keyMap:...
module( "Test Home Page", { setup:function() { F.open("/site/index-template.html?hash"); } }); test('Checking navigation links', function(){ ok(F(".navLink").size(2)); ok(F("a.homeLink").text("Stats Board")); ok(F("a.navLink[data-stat='testStats1']").text("Test Stats 1")); ok(F("a.navLink[data-stat='t...
/** * @fileoverview Tests for the ESLint class. * @author Kai Cataldo * @author Toru Nagashima */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const assert = require(...
/* * Copyright (c) André Bargull * Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms. * * <https://github.com/anba/es6draft> */ const { assertTrue, assertSyntaxError } = Assert; // Maybe omission: Should - be a SyntaxCharacter in regexps? // https://bugs.ecmascript.org/show_bug.cgi...
import Springy from 'springy'; export function createGraph(edges, width, height) { const names = getNamesFromEdges(edges); let sGraph = new Springy.Graph(); sGraph.loadJSON({ nodes: names, edges: edges }); let sLayout = new Springy.Layout.ForceDirected( sGraph, 400.0, // spring stiffness 400.0, ...
"use strict";module.metadata={"stability":"stable"};const json=require("./l10n/json/core");const{get:getKey}=require("./l10n/core");const properties=require("./l10n/properties/core");const{getRulesForLocale}=require("./l10n/plural-rules");let pluralMappingFunction=getRulesForLocale(json.language())||getRulesForLocale("...
var gulp = require('gulp'), mocha = require('gulp-mocha'), traceur = require('gulp-traceur'), traceur_runtime = require('traceur').RUNTIME_PATH, rename = require('gulp-rename'), concat = require('gulp-concat'); gulp.task('test', ['build'], function () { gulp.src('./test/**/*.js') .pipe(mocha(...
var u2i = require('../connectors/url2img-phantom'); const URL = 'https://www.amazon.de/'; const IMAGE_PATH = `${Date.now()}-bg.png`; const viewportSizes = { p800: { width: 800, height: 600 }, p1024: { width: 1024, height: 768 }, p1080: { width: 1920, height: 1080 }, p4k: { width: 3840, height: 2160 }, ...
import runtime from "../src/runtime"; import schemaCompiler from "../src/compiler"; const stripAnsi = require("strip-ansi"); const { printError } = runtime; /* eslint no-console: 0 */ function run(schema, ...args) { const code = schemaCompiler(schema); expect(code).toMatchSnapshot("code"); const { error: prev...
// --------- This code has been automatically generated !!! Wed Jul 22 2015 13:15:44 GMT+0000 (UTC) /** * @module opcua.address_space.types */ var doDebug = false; var assert = require("better-assert"); var util = require("util"); var _ = require("underscore"); var makeNodeId = require("../lib/datamodel/nodeid").mak...
var App = require('app'); App.AlertView = App.BaseView.extend({ templateName: require('templates/common/alert'), classNames: ['alert-message'], didInsertElement: function () { this._super(); this.get('context.classNames').forEach(function (element) { this.$().addClass(element)...
app .controller('StoreIndex', ['$scope', function ($scope) { }]) .controller('StoreAccounts', ['$scope', function ($scope) { }]);
// Generated by CoffeeScript 1.7.1 var application, digitalocean, digitalocean_config, digitalocean_credentials, express, server, uuid; express = require('express'); application = new express(); digitalocean_credentials = require('./config.json').nautical; digitalocean = require('nautical').getClient(digitalocean_c...
/** Broadway Heading @element broadway-heading @demo https://diddledan.github.io/broadway-heading */ import {html, LitElement} from '@polymer/lit-element/lit-element.js'; class BroadwayHeadingElement extends LitElement { static get is() { return 'broadway-heading'; } render() { return html` <style> :host { ...
'use strict'; angular.module('mean.system').controller('IndexController', ['$scope', 'Global', 'ImageSol', function ($scope, Global, ImageSol) { $scope.global = Global; $scope.logo = ImageSol.logo; }]);
(function(){ 'use strict'; angular.module('cla.controllers') .controller('SearchCtrl', ['$scope', '$state', '$location', function($scope, $state, $location) { $scope.$on('$locationChangeSuccess', function(){ var searchList = ($state.current.name.indexOf('complaint') !== -1)?...
 app.controller('loginController', ['$scope', 'loginSrv', 'cookiesSrv', function ($scope, loginSrv, cookiesSrv) { $scope.user = { userName: '', password: '' }; $scope.message = ''; $scope.login = function () { console.log('login'); var loginResult = loginSrv.login($scop...
/* eslint-env mocha */ const { deepEqual } = require('assert') const XMLLite = require('../../indexBrowser') const countElements = require('../support/countElements') const leftPad = require('../support/leftPad') const readFileSync = require('../support/readFileSync') const files = require('../fixtures/files.json') ...
Meteor.startup(function(){ Accounts.ui.config({ passwordSignupFields: "USERNAME_AND_EMAIL" }); AccountsEntry.config({ passwordSignupFields: "USERNAME_AND_EMAIL", showSignupCode: false, dashboardRoute: "/", homeRoute: "/", emailToLower: true, usernameToLower: true }); });
var fs = require('fs-extra'); var writeFileAtomic = require('write-file-atomic'); var path = require('path'); var retry = require('retry'); var childProcess = require('child_process'); var Bagpipe = require('bagpipe'); var crypto = require('crypto'); var objectAssign = require('object-assign'); var isWindows = process....
/** * @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...
/** * @author Uma Govindaraj * @description Action file to make the API call */ import Swagger from 'swagger-client'; import { ATTENDANCE_INFO } from "../../constants/actions"; export const getAttendanceInfo = (userId, access_token) => { return function (dispatch) { return Swagger(process.env.REACT_APP_AP...
'use strict'; export default { browserPort: 3000, UIPort: 3001, sourceDir: './app/', buildDir: './build/', styles: { src: 'app/styles/**/*.scss', dest: 'build/css', prodSourcemap: false, sassIncludePaths: ['./node_modules/bootstrap-sass/assets/stylesheets'] }, scripts: { src: ...
function dig (object, string) { const keys = string.split('.') for (let i = 0, ilen = keys.length; i < ilen; i += 1) { const key = keys[i] if (key in object) { object = object[key] } else { return null } } return object } module.exports = dig
/* global define, Engine */ 'use strict'; define(['config', 'game', 'scene'], function (config, game, scene) { var ui = {}; ui.init = function (shipColor) { this.shipColor = shipColor; this.livesIcons = []; this.livesLeft = config.ship.lives; this.score = 0; this.update...
/** * @param {number[]} nums * @return {number} */ var missingNumber = function(nums) { var i; var numsSum = 0; var totalSum = ((0 + (nums.length + 1) - 1) * (nums.length + 1)) / 2; for (i = 0; i < nums.length; i++) { numsSum += nums[i]; } return totalSum - numsSum; };
/** * Imports the config module * @module config */ import config from "../config.js"; /** * Imports the debug module * @module utilities/Debug */ import Debug from "../utilities/debug.js"; /** * Handles the visualizations elements. * * @module Visualizations */ let Visualizations = (function() { /** *...
define(['react','underscore'], function(React,_) { var AppNoticiasCA = React.createClass({displayName: 'AppNoticiasCA', getInitialState: function() { return { Noticias:this.props.Noticias, }; }, render: function() { var Items = _.map(this.state.Noticias, function(item, key){ React.createElemen...
"use strict"; var deffy = require("deffy"); /** * sameTime * Calls functions in parallel and stores the results. * * @name sameTime * @function * @param {Array} arr An array of functions getting the callback parameter in the first argument. * @param {Function} cb The callback function called with: * * - fir...
module.exports = { contains: function (string, substring) { return string.indexOf(substring) !== -1 } };
/* * * Review actions * */ import { FETCH_STAYS, FETCH_CHARGES, SAVE_CHARGES, ADD_CHARGE, HIDE_CHARGES_MODAL, } from './constants'; export function fetchStays() { return { type: FETCH_STAYS } } export function fetchCharges(stayId) { if (!stayId) { return { type: HIDE_CHARGES_MODAL ...
"use strict"; if (typeof chrome.runtime === "undefined") chrome = browser; function updateUI(bIsEdge, sFullVersion, verChrome) { chrome.runtime.getPlatformInfo(function (o) { let sVersion = sFullVersion; if (bIsEdge) (sVersion = "Edge v" + sVersion + "; Chromium v" + verChrome); let data = sVe...
var classHelix_1_1Logic_1_1dev_1_1DObjectTest = [ [ "DObjectTest", "classHelix_1_1Logic_1_1dev_1_1DObjectTest.html#ab1cd999a4783d0d0ec7200afbdc859d7", null ], [ "DObjectTest", "classHelix_1_1Logic_1_1dev_1_1DObjectTest.html#ac3dc241a0271ca6736b990dda4c2163e", null ], [ "~DObjectTest", "classHelix_1_1Logic_1...
import JSONAPIAdapter from 'ember-data/adapters/json-api'; import DataAdapterMixin from 'ember-simple-auth/mixins/data-adapter-mixin'; import config from '../config/environment'; export default JSONAPIAdapter.extend(DataAdapterMixin, { host: config.DS.host, namespace: config.DS.namespace, authorizer: 'authorize...
// The MIT License (MIT) // Copyright (c) 2016 – 2019 David Hofmann <the.urban.drone@gmail.com> // // 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 limitati...
Template.followCard.helpers({ userBgColor: function(){ var userId = Router.current().params.userId; var user = Meteor.users.findOne({_id: userId}); if(user.profile.bgColor){ return user.profile.bgColor; } } });
'use strict'; require('../modules/es7.string.at'); require('../modules/es7.string.pad-start'); require('../modules/es7.string.pad-end'); require('../modules/es7.string.trim-left'); require('../modules/es7.string.trim-right'); require('../modules/es7.string.match-all'); module.exports = require('../modules/_core').Stri...
/* * EOL Javascript : Common functions, Global variables, etc * * This defines the EOL namespace which can be used for various common functions that get used throughout the application. * * This allows for better / easier convention following. For example, instead of using Script.aculo.us effects, directly, * yo...
import { routerMiddleware } from 'connected-react-router'; import { createBrowserHistory } from 'history'; import { createStore, applyMiddleware } from 'redux'; import { composeWithDevTools } from 'redux-devtools-extension'; import thunk from 'redux-thunk'; import { createRootReducer } from './reducers'; export const...
var fnColors = require('../lib/fn-colors.js'), assert = require('assert'); describe('A normal function', function () { before(function () { // Create a function which saves arguments to this var that = this; this.fn = function saveArguments () { that.args = arguments; }; }); it('has co...
var expect = require("expect.js"); var HTMLHint = require("../../../../index").HTMLHint; var ruldId = 'required-accessibility', ruleOptions = {}; ruleOptions[ruldId] = true; describe('Rules: '+ruldId, function(){ it('input with "tfsrequired" attribute should result in an error', function(){ var c...
var userController, messageController; module.exports = { init: function (config) { require('../config/mongoose')(config); userController = require('../controllers/userController'); messageController = require('../controllers/messageController'); }, registerUser: function(user) { ...
// JavaScript - Node v8.1.3 const contamination = (text, char) => Array(text.length).fill(char).join('');
// @flow import { describe, it } from "flow-typed-test"; import * as React from "react"; import { focusManager, hashQueryKey, isCancelledError, isError, MutationCache, onlineManager, QueryCache, QueryClient, QueryClientProvider, QueryErrorResetBoundary, setLogger, useInfiniteQuery, useIsFetchi...
var rnd = function(){ return Math.floor( Math.random()*1000 ); }; var index = domloader.require('./index'); var test_index = function(test){ var Index = index.Index; var ind = new Index(); assert( ind.dependencies ); compare( ind.ns, null ); compare( ind.wd, null ); test.callback(); }; var test_index_l...
version https://git-lfs.github.com/spec/v1 oid sha256:ddf4e04519dcaedf7f6852e9b50b16c10241839b6996ce5218f55f46f672cb1f size 142519
'use strict';//Javascript code running in the webbrowser will make more alerts in the console when there is a mistake. (A stricter version to make sure you have all your code correct). //window.onload = function() { console.log('user input values to prompts are listed below'); alert('running the script now') //...
import express from "express"; import validate from "express-validation"; import Joi from "joi"; import auth from "../server/auth"; import defaultValidations from "../helpers/default-validations"; import profileCtrl from "../controllers/profiles"; const router = express.Router(); const validations = { list: { ...
/// #### plain /// /// Input content is preserved as it is. export default function () { return function (input) { return [{ transform: true, content: input }]; }; } export function tests() { return [ { description: 'plain', input: 'lorem ipsum', expect...
'use strict'; // const assert = require('assert'); const mock = require('egg-mock'); describe('test/app/service/topic.test.js', () => { let app; let ctx; before(async function() { app = mock.app(); await app.ready(); // 创建一个全局的 context 对象,可以在 ctx 对象上调用 service 的方法 ctx = app.mockContext(); }); ...
import React from 'react'; import { createDevTools } from 'redux-devtools'; // Monitors are separate packages, and you can make a custom one import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; import SliderMonitor from 'redux-slider-monitor'; // createDevTools t...
var path = require('path') var utils = require('./utils') var webpack = require('webpack') var config = require('../config') var merge = require('webpack-merge') var baseWebpackConfig = require('./webpack.base.conf') var CopyWebpackPlugin = require('copy-webpack-plugin') var HtmlWebpackPlugin = require('html-webpack-pl...
/** * Created by jmeo on 2016/11/7. */ var findFile = require("./findFile"), path = require("path"); /** * 路由配置 * @returns {*} */ function routerScan(app){ var files = findFile(path.join(__dirname,'../controller'),'router.js'); for(var k in files){ app.use(require(files[k]).routes()); } } ...
'use strict'; // Declare internals var internals = {}; // Defaults internals.defaults = {}; exports.register = function(plugin, options, next) { plugin.route({ method: 'GET', path: '/sgtcarneiro', handler: function(request, reply) { reply('don\'t worry, be hapi!'); } }); next(); }; exp...
'use strict'; describe('weatherApp.version module', function() { beforeEach(module('weatherApp.version')); describe('version service', function() { it('should return current version', inject(function(version) { expect(version).toEqual('0.0.1'); })); }); });
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'horizontalrule', 'si', { toolbar: 'තිරස් රේඛාවක් ඇතුලත් කරන්න' } );
var gulp = require('gulp'); var fs = require('fs-extra'); var typescript = require("gulp-typescript"); var replace = require("gulp-replace"); var rename = require("gulp-rename"); var babel = require("gulp-babel"); var exec = require("gulp-exec"); var mocha = require('gulp-mocha'); var gutil = require('gulp-util'); var ...
/* vim:set ts=2 sw=2 sts=2 expandtab */ /*jshint newcap: true undef: true es5: true node: true devel: true forin: true */ /*global define: true */ (typeof define !== "function" ? function($){ $(require, exports, module); } : define)(function(require, exports, module, undefined) { "use strict"; var Extendable...
module.exports.id = "challenges"; module.exports.up = function (done) { // use this.db for MongoDB communication, and this.log() for logging const challenges = this.db.collection('challenges'); challenges.insert([ { category: 'Charity', description: 'Pokormi Bomzha', location: '...
var app = app || {}; (function(){ app.TestButton = React.createClass({displayName: "TestButton", handleClick: function() { this.props.submitTestTask(this.props.btnType); }, render: function() { return ( React.createElement("button", {onClick: this.handleClick, ...
(function ($) { "use strict"; /*global alert: true, ODSA */ $(document).ready(function () { var settings = new JSAV.utils.Settings($(".jsavsettings")), jsav = new JSAV($('.avcontainer'), {settings: settings}), exercise, graph, tree, modelGraph, randomWeights = [], arr = [], labels, weights, treeNodes ...
Package.describe({ name: "odefu-entity", version: "0.0.1", summary: "A base entity system for OdeGame.", git: "https://github.com/OdeFu/OdeGame.git", documentation: "README.md" }); Package.onUse(function (api) { api.versionsFrom("METEOR@1.1"); api.use(["odefu-lib", "odefu-config", "grigio:babel@0.1.4"]); api...
/** * Created by Alexandr on 04.03.2017. */ var connect = require('connect'); var serveStatic = require('serve-static'); connect().use(serveStatic('public')).listen(8080, function(){ console.log('Server running on 8080...'); });
// Karma configuration // Generated on Fri Apr 08 2016 18:01:47 GMT+0200 (Europe de l’Ouest (heure d’été)) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https:...
function two() { // this is another javascript function var pépé = 5; }
function debug(text) { var box = document.getElementById("debug"); if(box !== null) { box.innerHTML += text; } } function Point(px, py) { //PRIVATE var x = px; var y = py; //PRIVILEGED this.getX = function() { return x; }; this.getY = function() { return y; }; this.setX = function(px) { x = px...
// // Détecter l'url pour afficher ou non le bouton retour // angular.module('polluvizApp',[]).controller('menuCtrl', ['$scope', '$location', function($scope, $location) { // $scope.onPage = true; // // currentPath = window.location.pathname; // currentPath = window.location.pathname; // console.log('path :' + ...
"use strict"; function formatIniText(ini) { var lines = []; Object.keys(ini).forEach(function (sectionKey) { lines.push('[' + sectionKey + ']'); Object.keys(ini[sectionKey]).forEach(function (valueKey) { var value = ini[sectionKey][valueKey]; if (value instanceof Array) {...
require('dotenv').config(); var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var routes = require('./routes/index'); var incoming = require('./route...
import cleanup from 'helpers/cleanup'; module( 'Array methods', { afterEach: cleanup }); var baseItems = [ 'alice', 'bob', 'charles' ]; [ true, false ].forEach( modifyArrays => { var List = Ractive.extend({ template: '<ul>{{#items}}<li>{{.}}</li>{{/items}}</ul>', modifyArrays: modifyArrays }); test( 'ractive...
'use strict'; window.setImmediate || Object.assign(window, new function () { var uid = 0, storage = {}, firstCall = true, message = 'setImmediatePolyfillMessage'; function fastApply(args) { var func = args[0]; switch (args.length) { case 1: ...
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react" import PropTypes from "prop-types" import { useStaticQuery, graphql, Link } from "gatsby" import Header from "./header" import Nothing from "...
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
// Karma configuration // Generated on Wed May 21 2014 09:55:50 GMT+0200 (CEST) module.exports = function(config) { config.set({ basePath : '', frameworks : ["ng-scenario"], files : [ "angular-bootstrap-gsdialogs.js", "app.js", "test.js", "index.html" ], exclude : [], preproc...
/*! UIkit 3.5.17 | https://www.getuikit.com | (c) 2014 - 2020 YOOtheme | MIT License */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define('uikit', factory) : (global = typeof globalTh...
import _noop from 'lodash/noop'; export const sendConnection = (host, socket) => { return { type: 'CONNECT_SEND', host, socket, }; }; export const connectionSuccess = (host, socket) => { socket.onmesage = (response) => { console.log('MESSAGE', response); }; return { type: 'CONNECT_SUCCE...
version https://git-lfs.github.com/spec/v1 oid sha256:e226bdff05823a66818b17e0e62efb041d534e8429d02fafbf5e0b5ba2a4eed7 size 36919
// Generated by CoffeeScript 1.12.2 (function() { var addProblemReview, addScoreToTitle, constructAchievementCallbackChain, constructAchievementCallbackChainHelper, loadProblems, renderAchievementMessage, renderProblem, renderProblemList, renderProblemReview, renderProblemSubmit, sanitizeMetricName, submitProblem, to...
'use strict'; var $resourceMinErr = angular.$$minErr('$resource'); // Helper functions and regex to lookup a dotted path on an object // stopping at undefined/null. The path must be composed of ASCII // identifiers (just like $parse) var MEMBER_NAME_REGEX = /^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/; function isValidDotte...
/** * Success Criterion 3.1.4: Abbreviations * * @see http://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-located.html */ var SuccessCriteria = require('SuccessCriteria'); var SuccessCriteriaP3G1C4 = (function () { /** * Determines if this Success Criteria applies to the document. */ function preEvaluator ...
;(function(root) { 'use strict'; function TextTicker(element, options) { if (!(this instanceof TextTicker)) { return new TextTicker(element, options); } if (!element) return element; this._element = element; options = options || {}; this._text = options.text || element.innerText; ...
/* * Kendo UI v2015.1.408 (http://www.telerik.com/kendo-ui) * Copyright 2015 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial licen...
var Express = require('express'); let router = Express.Router (); var MongoClient = require('mongodb').MongoClient; var assert = require('assert'); var ObjectId = require('mongodb').ObjectID; var url = 'mongodb://localhost:27017/mealplanner'; var findRecipe = function(db,recipeId, callback) { db.collection('reci...
/** * @author: @AngularClass */ module.exports = function(config) { var testWebpackConfig = require('./webpack.test.js')({env: 'test'}); var configuration = { // base path that will be used to resolve all patterns (e.g. files, exclude) basePath: '', /* * Frameworks to use * * availa...
import * as React from 'react'; import Box from '@material-ui/core/Box'; import Drawer from '@material-ui/core/Drawer'; import Button from '@material-ui/core/Button'; import List from '@material-ui/core/List'; import Divider from '@material-ui/core/Divider'; import ListItem from '@material-ui/core/ListItem'; import Lis...
#! /usr/bin/env node var args = process.argv.slice(2), jfc = require('../jfc.js').assemble; jfc.apply(this, args);
export default from './Display.jsx';
// Home Route Router.route('/', { name: 'home', action: function () { this.render('home'); SEO.set({ title: 'Home - ' + Meteor.App.NAME }); } }); Router.route('/services', { name: 'Services', waitOn: function(){ return [Meteor.subscribe("Services"),Meteor.subscribe("Items")]; }, data: functio...