code stringlengths 2 1.05M |
|---|
var express = require('express');
var path = require('path');
var app = express();
app.use(express.static(path.join(__dirname, 'public')));
module.exports = app; |
'use strict';
module.exports = {
...require('./au-run'),
...require('./au-build'),
...require('./au-test'),
...require('../generic/au-lint'),
...require('./au-protractor'),
...require('../generic/au-jest'),
dotnet: {
...require('../generic/dotnet-run')
}
};
|
var del = require('del');
var nib = require('nib');
var gulp = require('gulp');
var pump = require('pump');
var pug = require('gulp-pug');
var header = require('gulp-header');
var stylus = require('gulp-stylus');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var runSequence = require('run-se... |
define([
'lodash'
, 'backbone'
, 'plugins/console'
// , 'plugins/backbone.analytics'
], function(_, Backbone, createConsole) {
"use strict";
createConsole();
console.log('main app.js loaded');
// Provide a global location to place configuration settings and module
// creation.
var app = {
//... |
import { combineReducers } from 'redux';
import { routerReducer } from 'react-router-redux';
import {reducer as reduxAsyncConnect} from 'redux-async-connect';
import auth from './auth';
import {reducer as form} from 'redux-form';
import info from './info';
export default combineReducers({
routing: routerReducer,
... |
'use strict';
import {isDevelop, basePaths} from './config';
let {source, app, dest} = basePaths;
const paths = {
source: {
files: {
scipts: `${app}/**/*!(.spec.js).js`,
indexHTML: `${source}/index.pug`,
fonts: `${source}/fonts/**/*`,
test: `${app}/**/*.spec.js`,
stylu... |
'use strict';
/**
* Module dependencies.
*/
var should = require('should'),
mongoose = require('mongoose'),
User = mongoose.model('User'),
Sale = mongoose.model('Sale');
/**
* Globals
*/
var user, sale;
/**
* Unit tests
*/
describe('Sale Model Unit Tests:', function() {
beforeEach(function(done) {
... |
var ThumbnailGenerator = require("./thumbnail-generator");
var SimpleThumbnailGenerator = require("./simple-thumbnail-generator");
var ThumbnailGeneratorService = require("./thumbnail-generator-service");
module.exports = {
ThumbnailGenerator: ThumbnailGenerator,
SimpleThumbnailGenerator: SimpleThumbnailGenerator,
... |
/* eslint-disable no-param-reassign, no-underscore-dangle */
import { tokTypes as tt } from 'acorn'
export default function parseFromInput () {
return function ha (node) {
this.next()
// For the `导入 「./xxx」;`, it should be handled by parseImport.
node.source = this.type === tt.string ? this.parseExprAto... |
heebeegeebees.controller('MainController', ['$scope', function($scope) {
$scope.greeting = 'Hola!';
}]); |
var Nconf = require('nconf'),
path = require('path'),
_debug = require('ghost-ignition').debug._base,
debug = _debug('ghost:config'),
localUtils = require('./utils'),
env = process.env.NODE_ENV || 'development',
_private = {};
_private.loadNconf = function loadNconf(options) {
debug('config... |
var { Router, history } = Backbone;
class Workspace extends Router {
constructor() {
this.routes = {
'videos': 'videos'
}
this._bindRoutes();
}
videos(query, page) {
console.log('videos');
}
};
(() => {
new Workspace();
Backbone.history.start();
}... |
photosApp.controller('ordersListCtrl', ['$scope', 'customerService', 'uiGridConstants', 'i18nService', '$stateParams', '$state', 'uiGridExporterConstants',
function ($scope, customerService, uiGridConstants, i18nService, $stateParams, $state, uiGridExporterConstants) {
$scope.customerService = customerServi... |
'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');
var _s = require('underscore.string');
var MavenGenerator = module.exports = function MavenGenerator(args, options, config) {
yeoman.generators.Base.apply(this, arguments);
this.on('end', function ... |
module.exports = function (grunt) {
var browsers = [{
browserName: 'googlechrome',
platform: 'XP'
}, {
browserName: 'internet explorer',
platform: 'WIN7',
version: '8'
}, {
browserName: 'internet explorer',
platform: 'WIN8.1',
version: '11'
}];
//browsers = [{
// browserN... |
/*BOOTKIT*/
var Botkit = require('botkit');
var controller = Botkit.slackbot({
debug: false
});
controller.spawn({
token: 'xoxb-xxxxxxxxxxxxx'
}).startRTM(function (err) {
if (err) {
throw new Error(err);
}
});
var tokken = "CLDYYP9SIe4alYW5U2FsdGVkX198t4LRL8I6paWYMHozsir9gGRSDu796dHJKuyL0B%2... |
var utils = require('./utils')
var webpack = require('webpack')
var config = require('../config')
var merge = require('webpack-merge')
var baseWebpackConfig = require('./webpack.base.conf')
var HtmlWebpackPlugin = require('html-webpack-plugin')
var FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
// ad... |
/**
* Created by USER: tarso.
* On DATE: 17/08/16.
* By NAME: http06.js.
*
* Objective : Test of error management
*/
const path = require('path')
const express = require('express');
const exphbs = require('express-handlebars')
const app = express();
const nPort = 3333;
/**
* THE ... |
'use strict';
/**
* Trustroots
*
* App's main entry file
*/
var app = require('./config/lib/app');
app.start();
|
import React from 'react'
class Tab extends React.Component {
static propTypes = {
label: React.PropTypes.string,
active: React.PropTypes.bool,
onChangeTab: React.PropTypes.func
}
static defaultProps = {
active: false
}
render() {
const { label, index, active } = this.props
const c... |
/**
* @class gx.zeyos.Factory
* @description Use to easily create ZeyOS html elements.
*
* @extends gx.ui.Container
*/
gx.zeyos.Factory = {
gx: 'gx.zeyos.Factory',
/**
* icons: {
* 'list'
* 'plus'
* 'clock'
* 'range'
* 'reload'
* 'clear'
* 'settings'
* 'eye'
* 'tra... |
import Model from '../model';
import ValidateMixin from '../mixins/validate';
import MessageView from './message';
import FormView from './form-styling';
import app from '../ridge';
import View from '../view';
const LoginFormView = View.extend();
const LoginFormModel = Model.extend();
_.extend(LoginFormModel.proto... |
var naan = require('naan');
var async = require('async');
var request = require('request');
var _ = require('underscore');
var assert = require('assert');
var util = require('util');
var Core = require('seraph-core');
// Bind all functions of an object to a context (recursively)
var bindAllTo = function(context, all) ... |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licenced under the New BSD License.
*/
var providers_large = {
bishops: {
id: 'bishops',
file: 'bishops.gif',
name: "The Bishop's School Student Email",
url: 'https://www.google.com/accounts/o8/id',
}/*,
... |
import Handler from './handler.js';
import exportObj from '../../utils/utils.js';
let proRequest = exportObj.proRequest;
let handler = new Handler();
// es6 format
let log4js = require('log4js');
let writeFile = require('../../utils/ioUtils.js').writeFile;
// let defaultConfig = require('../../conf/default.... |
/*!
* Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
// jQuery for page scrolling feature - requires jQuery Easing plugin
$(function() {
$('.page-scroll a').bind('click', f... |
const path = require("path");
module.exports = {
includePaths: [
path.join(__dirname, "core")
]
}
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
(function() {
const { Provider } = ReactRedux;
// redux_store will be available to acceptDialog
// and messa... |
const Endpoint = cubic.nodes.core.Endpoint
class Foo extends Endpoint {
main (req, res) {
res.send('bar')
}
}
module.exports = Foo
|
export const stationsByFavouriteAndDistance = state =>
Object.values(state.stations.data)
.map(({ id, name, distance }) => ({
id,
name,
distance,
isFavouritePending:
state.favourites[id] && state.favourites[id].pending,
isFavourite:... |
var OnBeforeActions = {
requireLogin: function() {
if (!Meteor.user()) {
if (Meteor.loggingIn()) {
this.render(this.loadingTemplate);
} else {
this.render(this.loginTemplate);
}
} else {
this.next();
}
}
};
Router.onBeforeAction(OnBeforeActions.requireLogin, {
... |
module.exports={A:{A:{"1":"E A B","132":"L H G jB"},B:{"1":"8 C D e K I N J"},C:{"1":"0 1 2 3 7 9 U V W X Y Z a b c d f g h i j k l m n o M q r s t u v w x y z JB IB CB DB EB O GB HB","132":"4 5 gB BB F L H G E A B C D e K I N J P Q R S T aB ZB"},D:{"1":"0 1 2 3 4 5 7 8 9 F L H G E A B C D e K I N J P Q R S T U V W X Y... |
export const REQUEST_BY_QUERYSTRING = 'REQUEST_BY_QUERYSTRING';
export const RECEIVE_BY_QUERYSTRING = 'RECEIVE_BY_QUERYSTRING';
export const REQUEST_BY_ID = 'REQUEST_BY_ID';
export const RECEIVE_BY_ID = 'RECEIVE_BY_ID';
|
version https://git-lfs.github.com/spec/v1
oid sha256:ea7770cfb7bfcc3becd55cf601ddadb2ba89968c94409694d138e179704c7d0c
size 2115
|
var mongoose = require('mongoose');
var Categoria = mongoose.model('Categoria');
var Empresa = mongoose.model('Empresa');
var Sucursal = mongoose.model('Sucursal');
var Schema = mongoose.Schema;
var montoCategoriaSchema = new Schema({
creado: {
type: Date,
default: Date.now
},
categoria: {
type: Sch... |
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.notEqual(actual, expected, [message])
test.deepEqual(act... |
import data from './data';
export default {
data,
template : {
root : '$.store.bicycle.(color|price)'
},
result : {
root : 'red'
}
} |
// graphql function doesn't throw an error so we have to check to check for the result.errors to throw manually
const wrapper = promise =>
promise.then(result => {
if (result.errors) {
throw result.errors
}
return result
})
exports.createPages = async ({ graphql, actions }) => {
const... |
var SimpleFileWriter = require('../lib/SimpleFileWriter');
var assert = require('assert');
var Readable = require('stream').Readable;
var $u = require('util');
var fs = require('fs');
var testutil = require('./testutil');
var uuid = require('node-uuid');
var ROWS = 100;
var ROW_SIZE = 2511;
describe('basic tests - w... |
/* global app:true */
(function() {
'use strict';
app = app || {};
app.Site = Backbone.Model.extend({
idAttribute: '_id',
defaults: {
success: false,
errors: [],
errfor: {},
owners: {},
permissions: {
read: {},
write: {}
},
path: '',
name: '',
_location:''
},
url: functi... |
import React from 'react';
import { Link } from 'react-router';
const NotFoundPage = () => {
return (
<div id="notfound">
<h2>
404 Page Not Found
</h2>
<Link to="/"> Go back to homepage </Link>
</div>
);
};
export default NotFoundPage;
|
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... |
function cos (number) {
return Math.cos(number)
}
module.exports = cos
|
import gulp from 'gulp'
import babel from 'gulp-babel'
import eslint from 'gulp-eslint'
import sequence from 'gulp-sequence'
import rimraf from 'rimraf'
gulp.task('lint', function () {
return gulp.src(['**/*.js', '!node_modules/**', '!dist/**'])
.pipe(eslint())
.pipe(eslint.format())
})
gulp.task('dist:clea... |
formatDate = d3.time.format("%b %d");
// parameters
var margin = {
top: 50,
right: 50,
bottom: 50,
left: 50
},
width = 960 - margin.left - margin.right,
height = 300 - margin.bottom - margin.top;
// scale function
var timeScale = d3.time.scale()
.domain([new Date('2012-01-02'), n... |
var assert = require('assert'),
fs = require('fs'),
http = require('http'),
path = require('path'),
util = require('util'),
base64 = require('flatiron').common.base64,
nock = require('nock'),
helpers = require('./index'),
mock = require('./mock'),
quill = require('../../lib/quill'),... |
'use strict';
var test = require("tap").test;
var ummon = require('..')({pause:true, autoSave:false});
// Stub in some tasks
var collection = {
"collection": "barankay",
"defaults": {
"cwd": "/Users/matt/tmp/"
},
"config": {
"enabled": true
},
"tasks": {
"send-text-messages": {
"command... |
window.mangopie = angular.module('MangopieApp', ['MangopieControllers', 'MangopieServices', 'chieffancypants.loadingBar']);
// controller
var MangopieControllers = angular.module('MangopieControllers', []);
MangopieControllers.controller('MangopieCtrl', ['$scope', 'MangaFactory', 'ChapterFactory',
function ($scope,... |
export default {
selectMatchedName: 'Select a Matching Record'
};
|
var fnode = require('./fnode');
var utils = require('./utils');
var _ = require('underscore');
var formatter = {
plugins: {}
, options: {}
, utils: utils
};
/**
* This function is an alias to setup a list of plugins
* @param {object} plugin [, plugin] [, plugin] ...
* @return {Object} formatter
*/
formatter.use... |
import passport from 'passport';
import { BasicStrategy } from 'passport-http';
passport.use(new BasicStrategy((username, password, done) => {
if (username === 'admin' && password === 'password') {
return done(null, { username, password });
}
return done(null, false, { message: 'Who are you again?' });
}));
... |
var assert = require("assert");
/*
This file contains the more basic tests - short sentences, word counts,
sentence counts, and so on. Longer texts are split into their own test
files for convenience.
*/
var TS = require('../index');
var ts = TS();
describe('Test Cleaning of text', function(){
it('te... |
MindMeld = {
export(collectionName, password, callBack) {
Meteor.call('mm_export', collectionName, password, callBack);
},
import(options) {
Meteor.call('mm_import', options);
}
}
|
class ServerData {
constructor() {
this.pendingRequests = new Map(); // map[requestId, res]
this.socketsByBrowser = new Map(); // map[browserId, socket]
this.browserProcessMap = new Map(); // map[browserId, process]
}
purgeBrowserData(deletedBrowserId) {
var purgeLi... |
(function(exports) {
'use strict';
function App(id) {
this.id = id;
}
App.prototype.bow = function() {
if (this.id) {
return 'This is App' + this.id + '.';
}
return 'This does not have id.';
};
exports.App = App;
})(window);
|
module.exports = Data;
function Data(layer, params) {
this.layer = layer;
this.params = params === true ? {} : params;
this.middleware = null;
this.route = null;
this.router = null;
}
|
'use strict';
const core = require('../core');
module.exports = core({
modules: [
require('../modules/state'),
require('../modules/view'),
require('../modules/view.build'),
require('../modules/view.dom'),
require('../modules/router'),
require('../modules/router.fetc... |
/**
* Created by liulin on 2017/2/27.
*/
ES.Common.Pop.MapMarkerSelect= ES.Common.Pop.Map.extend({
// 加载工具栏
loadMapToolArea: function () {
this.oToolArea = new ES.MapControl.ESMapToolArea(this.oMapMaster, {});
this.oToolBox = new ES.MapControl.ESMapToolBox(this.oMapMaster, {});
this.... |
import Route from 'ember-route';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
export default Route.extend(AuthenticatedRouteMixin, {
authenticationRoute: 'signin'
});
|
import React from 'react';
import { render } from 'react-dom';
import 'sanitize.css/sanitize.css';
import './style';
import App from 'App';
import registerServiceWorker from './registerServiceWorker';
render(<App />, document.getElementById('root'));
registerServiceWorker();
|
/*!
* DevExtreme (dx.messages.fr.js)
* Version: 19.2.11
* Build date: Mon Dec 14 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
! function(root, factory) {
if ("function" === typeof define ... |
!function(){var n;jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd&&(n=jQuery.fn.select2.amd),n.define("select2/i18n/pl",[],function(){function e(n,e){return 1===n?e[0]:1<n&&n<=4?e[1]:5<=n?e[2]:void 0}var r=["znak","znaki","znaków"],t=["element","elementy","elementów"];return{errorLoading:function(){return"N... |
/**
* Copyright (C) 2011-2012 Pavel Shramov
* Copyright (C) 2013-2017 Maxime Petazzoni <maxime.petazzoni@bulix.org>
* All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of... |
import './chunk-2452e3d3.js';
import { merge } from './helpers.js';
import { V as VueInstance } from './chunk-8ed29c41.js';
import { r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
import './chunk-b9bdb0e4.js';
import { L as Loading } from './chunk-c9c58d0c.js';
export... |
/**
* @license Highcharts JS v10.0.0 (2022-03-07)
* @module highcharts/modules/windbarb
* @requires highcharts
*
* Wind barb series module
*
* (c) 2010-2021 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../Series/Windbarb/WindbarbSeries.js';
|
/*!
* Bootstrap-select v1.13.17 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2020 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
(function (root, factory) {
if (root === undefined && window !== unde... |
;(function (window) {
if (window.VueDemi) {
return
}
var VueDemi = {}
var Vue = window.Vue
if (Vue) {
if (Vue.version.slice(0, 2) === '2.') {
var VueCompositionAPI = window.VueCompositionAPI
if (VueCompositionAPI) {
for (var key in VueCompositionAPI) {
VueDemi[key] = Vue... |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import { getThemeProps, useTheme } from '@material-ui/styles';
import { elementAcceptingRef,... |
/**
* @license Highcharts JS v8.1.2 (2020-06-16)
* @module highcharts/modules/accessibility
* @requires highcharts
*
* Accessibility module
*
* (c) 2010-2019 Highsoft AS
* Author: Oystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../modules/accessibility/accessibility.js';
|
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.VueFlowForm =... |
/**
* @module jsdoc/opts/args
* @requires jsdoc/opts/argparser
*/
const ArgParser = require('jsdoc/opts/argparser');
const cast = require('jsdoc/util/cast').cast;
const querystring = require('querystring');
let ourOptions;
const argParser = new ArgParser();
const hasOwnProp = Object.prototype.hasOwnProperty;
func... |
const Container = require('./')
const Graph = require('./Graph')
const Parser = require('./Parser')
const {
MainDependencyError,
NoExistingContainerError
} = require('./errors')
describe('Container', () => {
describe('.module', () => {
it('returns an instance of a Container', () => {
expect(Container.m... |
// TODO list
// Use functions as keyFrames
// Test metronomic on real animation
// Create jquery FX like queue
var ease = require("ease-component"),
Emitter = require("events").EventEmitter,
util = require("util"),
__ = require("./fn"),
temporal;
Animation.DEFAULTS = {
cuePoints: [0, 1],
duration: 1000,
... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{572:function(n,o){},573:function(n,o){},574:function(n,o){},575:function(n,o){}}]);
//# sourceMappingURL=vega.bundle.js.map |
import Accounts from '../../models/accounts';
import Alerts from '../../models/alerts';
import { asyncErr, KError } from '../../helpers';
import { checkAlert } from '../../shared/validators';
export async function loadAlert(req, res, next, alertId) {
try {
let { id: userId } = req.user;
let alert ... |
/**
* @ngdoc service
* @name merchelloListViewHelper
* @description Handles list view configurations.
**/
angular.module('merchello.services').service('merchelloListViewHelper',
['$filter',
function() {
var configs = {
product: {
columns: [
{ name: 'n... |
describe("callFunc", function(){
var rt = wdFrp,
TestScheduler = rt.TestScheduler,
next = TestScheduler.next,
completed = TestScheduler.completed;
var scheduler = null;
var sandbox = null;
beforeEach(function(){
sandbox = sinon.sandbox.create();
scheduler = TestS... |
var ob = ob || {}
;(function(namespace, undefined) {
namespace.fusion = function(api_key, table_id) {
return {
key: api_key,
table: table_id,
url: function(hierarchy, sum) {
/* quote columns */
var columns = hierarchy.map(function(x) { return "'" + x + "'"; });
/* build query */
var query... |
import { Agent } from 'http';
import net from 'net';
import assert from 'assert';
import log from 'book';
import Debug from 'debug';
const DEFAULT_MAX_SOCKETS = 10;
// Implements an http.Agent interface to a pool of tunnel sockets
// A tunnel socket is a connection _from_ a client that will
// service http requests. ... |
define({
name: 'Ball',
state: {
x: 0,
y: 0,
dx: 0,
dy: 1,
r: 10,
speed: 2,
radius: 11, // px
}
});
|
"use strict";
/**
* @module template/publish
* @type {*}
*/
/*global env: true */
var template = require( 'jsdoc/template' ),
fs = require( 'jsdoc/fs' ),
_ = require( 'underscore' ),
path = require( 'jsdoc/path' ),
taffy = require( 'taffydb' ).taffy,
handle = require( 'jsdoc/util/error' ).handle,
helper = requ... |
/*jslint node: true, indent: 2 */
'use strict';
var config = require('./config.js');
// Utility functions
// getip function copied from Morgan (private there)
var getip = function (req) {
/*jslint nomen: true */
return req.ip
|| req._remoteAddress
|| (req.connection && req.connection.remoteAddress)
|... |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uploadwidget', 'uk', {
abort: 'Завантаження перервано користувачем.',
doneOne: 'Файл цілком завантажено.',
doneMany: 'Ці... |
import Ember from 'ember';
import { test } from 'qunit';
import PagedArray from 'ember-cli-pagination/local/paged-array';
import equalArray from '../../../helpers/equal-array';
//module("PagedArray abc");
var paramTest = function(name,ops,f) {
if (ops.content) {
ops.content = Ember.A(ops.content);
}
test(na... |
define([
'backbone',
'app/views/Sidebar',
'app/views/Canvas',
'app/models/settings',
'text!app/tpl/App.html'
], function(Backbone, SidebarView, CanvasView, Settings, Tpl) {
'use strict';
return Backbone.View.extend({
el: '.app',
initialize: function() {
// Comp... |
/**
* @module zrender/graphic/Style
*/
var STYLE_COMMON_PROPS = [
['shadowBlur', 0], ['shadowOffsetX', 0], ['shadowOffsetY', 0], ['shadowColor', '#000'],
['lineCap', 'butt'], ['lineJoin', 'miter'], ['miterLimit', 10]
];
// var SHADOW_PROPS = STYLE_COMMON_PROPS.slice(0, 4);
// var LI... |
'use strict';
const obj = {
myFirstKey : 'foo',
mySecondKey : 'bar',
mythirdKey : 'baz'
};
obj;
|
/* Integral Code JS manifest */
$(document).ready(function(){
(function() {
// Parallax scrolling
parallax.init();
})();
});
|
// Example:
//
// export const CLEAR_FORM_ERRORS = 'CLEAR_FORM_ERRORS'
export const REHYDRATE = 'persist/REHYDRATE'
|
/*
* angular-marked v0.0.1
* (c) 2013 J. Harshbarger
* License: MIT
*/
/* jshint undef: true, unused: true */
/* global angular:true */
/* global marked:true */
(function () {
'use strict';
var app = angular.module('hc.marked', []);
app.constant('marked', window.marked);
// TODO: filter tests */
//app... |
var util = require('util');
var Model = require('../model');
var _ = require('underscore');
function Profile(db) {
this.tableName = 'Profile';
//Call constructor of parent (Model)
Profile.super_.call(this, db);
}
util.inherits(Profile, Model);
Profile.prototype.getByJoined = function(column, search, call... |
'use strict';
const Stream = require('stream');
const Stringify = require('fast-safe-stringify');
class SafeJson extends Stream.Transform {
constructor(options, stringify) {
options = Object.assign({}, options, {
objectMode: true
});
super(options);
this._stringify = O... |
module.exports = function (config) {
config.set({
frameworks: ['jasmine'],
logLevel: config.LOG_INFO,
loggers: [{ type: 'console' }],
reporters: ['dots'],
browsers: ['PhantomJS'],
autoWatch: false,
singleRun: true,
files: [
'lib/jquery/impl/j... |
var searchData=
[
['findcritter',['findCritter',['../class_critter_wave.html#a1244e59ebd702edd2530e6256779ace0',1,'CritterWave']]]
];
|
angular.module('myApp').run(function ($rootScope) {
$rootScope.dt1 = new Date("yyyy-MM-dd HH:mm:ss");
$rootScope.dt2 = new Date("yyyy-MM-dd HH:mm:ss");
$rootScope.today = function () {
$rootScope.dt1 = new Date();
$rootScope.dt2 = new Date();
};
$rootScope.today();
$rootScope.c... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Ivan Kopeykin @vankop
*/
"use strict";
const WebpackError = require("./WebpackError");
const CURRENT_METHOD_REGEXP = /at ([a-zA-Z0-9_.]*)/;
/**
* @param {string=} method method name
* @returns {string} message
*/
function createMessage(met... |
var merge = require('lodash.merge');
var env = process.env.TRAVIS && process.env._BROWSER !== 'phantomjs' ? 'travis-ci' : 'local';
var defaults = require('./defaults.js');
var asked = require('./' + env + '.js');
if(process.env._ENV === 'mobile') {
var mobile = require('./mobile');
asked = merge(asked,mobile... |
(function (angular) {
// Create all modules and define dependencies to make sure they exist
// and are loaded in the correct order to satisfy dependency injection
// before all nested files are concatenated by Gulp
// Config
angular.module('angularUserSettings.config', [])
.value('angularUserSettings.... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("path", {
d: "M21 10V4c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2L1 16c0 1.1.9 2 2 2h11v-5c0-1.66 1.34-3 3-3h4zm-9.47.67c-.32.2-.74.2-1.06 0L3.4 6.25c-.25-.16-.4-.43-.4-.72 0-... |
/* eslint no-unused-vars: 0 */
/* globals language_names: 1 */
language_names = {
'af': ['Afrikaans', 'Afrikaans'],
'ak': ['Akan', 'Akan'],
'sq': ['Albanian', 'Shqip'],
'am': ['Amharic', 'አማርኛ'],
'ar': ['Arabic', 'العربية'],
'hy': ['Armenian', 'Հայերեն'],
'rup': ['Aromanian', 'Armãneashce'],
'as': ['Assamese',... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.