code
stringlengths
2
1.05M
var src = './src', dist = './dist', build = './build', bower = './bower_components', package = '<%= filename %>'; module.exports = { paths: { src: { styles_all: src + '/styl/**/*.styl', styles_main: src + '/styl/main.styl', svg_files: src + '/svg/**/*.svg', svg_dir: src + '/svg/',...
var telep = require("../lib/telep-packet"); describe("Packet Library", function() { beforeEach(function() { packet = new telep.Packet(); }); afterEach(function() { packet = null; }); describe("#reset", function() { it("resets the contents of the buffer", function() { packet.reset(); ...
'use strict'; var gulp = require('gulp'); var config = require('../config').markup; var browserSync = require('browser-sync'); var include = require('gulp-file-include'); var rename = require('gulp-rename'); var minifyHTML = require('gulp-minify-html'); gulp.task('markup', function() { return gulp.src(config.src) ...
version https://git-lfs.github.com/spec/v1 oid sha256:0501bc13b04a1058c62203c14183f38e154e896ba1886f1750bdaf8a4f992d89 size 4110
/******/ (function(modules) { // webpackBootstrap /******/ // install a JSONP callback for chunk loading /******/ var parentJsonpFunction = window["webpackJsonp"]; /******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { /******/ // add "moreModules" to the modules object, /******/ ...
'use strict' // @flow /*:: import type { DirStat, NamedStat } from './types' */ /*:: type Info = DirStat | Array<string> */ /*:: type StatsGetter = (string[]) => DirStat */ /*:: type Action = [ string, NamedStat[], ?StatsGetter ] */ const { dirStats, ask, getDate, filterDirStats } = require('./utils') const chalk = r...
module.exports = { Glow: require('./glow'), Glitch: { Convergence: require('./glitch/convergence'), CutSlider: require('./glitch/cutslider'), Glow: require('./glitch/glow'), Noise: require('./glitch/noise'), Outline: require('./glitch/outline'), Shaker: require('....
'use strict'; import fetch from 'utils/fetch'; import { args as geoArgs, resolve as geoResolve } from 'schemas/geoFields'; import { args as countyArgs, resolve as countyResolve } from 'schemas/countyFields'; import { args as townshipArgs, resolve as townshipResolve } from 'schemas/townshipFields'; import ...
// include // var w = [ //SystemControl "Controller/GameAssetManager.js", "Controller/GameTaskControl.js", "Controller/GameCore.js", //deviceControls "Controller/inputKeyboard.js", "Controller/inputMouse.js", "Controller/DisplayControl.js", "Controller/soundControl.js", "Contro...
var _ = require('lodash'), Promise = require('bluebird'), db = require('../../data/db'), commands = require('../schema').commands, globalUtils = require('../../utils'), ghostVersion = require('../../utils/ghost-version'), common = require('../../lib/common'), models = require('../../models')...
'use strict'; module.exports = function(gulp, plugins, config, name, file) { // eslint-disable-line func-names const theme = config.themes[name], srcBase = config.projectPath + 'var/view_preprocessed/frontools' + theme.dest.replace('pub/static', ''), stylesDir = theme.stylesDir ? the...
(function () { var app = angular.module("studentViewer"); var StudentController = function ($scope, $location, StudentService) { var _student = { StudentId : "", FirstName : "", LastName : "", Program : "" }; //Get all Students ...
var defaults = { // display defaultView: 'month', aspectRatio: 1.35, header: { left: 'title', center: '', right: 'today prev,next' }, weekends: true, weekNumbers: false, weekNumberCalculation: 'iso', weekNumberTitle: 'W', // editing //editable: false, //disableDragging: false, //disableResizing: ...
var Plotly = require('@lib/index'); var Lib = require('@src/lib'); var Registry = require('@src/registry'); function _doPlot(gd, fig) { return Registry.call('_doPlot', gd, fig.data, fig.layout); } var d3Select = require('../../strict-d3').select; var d3SelectAll = require('../../strict-d3').selectAll; var Plots = ...
// @flow import React from 'react'; import { assert } from 'chai'; import { createShallow, getClasses } from '../test-utils'; import CancelIcon from '../svg-icons/cancel'; import Avatar from './Avatar'; describe('<Avatar />', () => { let shallow; let classes; before(() => { shallow = createShallow({ dive: ...
module.exports = [ { "quote": "I have just three things to teach: simplicity, patience, compassion. These three are your greatest treasures.", "source": "Lao Tzu" }, { "quote": "In character, in manner, in style, in all things, the supreme excellence is simplicity.", "source": "Henry Wadsworth Longfellow" }...
/** * Configuration file for font-awesome-webpack * * In order to keep the bundle size low in production, * disable components you don't use. * */ module.exports = { styles: { mixins: true, core: true, icons: true, larger: true, path: true } };
$( document ).on('turbolinks:load', function() { // scroll to section $('a[href*="#"]:not([href="#"])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? targe...
import Vue from 'vue'; import LazyThis from '../src/LazyThis.js' const mockOption = { contatiner: Object, config: { rootMargin: '50px 0px', threshold: 0.01 }, minimumIntersectionRatio: 0, observer: Object, visible: false } describe('LazyThis', () => { it('lazy-this is Render', () => { const r...
import registerHelper from './registerHelper'; import resolveNested from './resolveNested'; export { registerHelper, resolveNested }
module.exports = function(grunt) { grunt.initConfig({ 'connect': { demo: { options: { open: true, keepalive: true } } }, 'gh-pages': { options: { clone: 'bower_compone...
var gulp = require('gulp'); var babel = require('gulp-babel'); var serve = require('gulp-serve'); var plumber = require('gulp-plumber'); var ES6_SOURCE = 'es6/**/*'; var JS_TARGET = 'js'; gulp.task('js', function () { return gulp.src(ES6_SOURCE) .pipe(plumber()) .pipe(babel()) .pipe(gulp.des...
/* --- Made by justgoscha and licensed under MIT license --- */ var app = angular.module('autocomplete', []); app.directive('autocomplete', function() { var index = -1; return { restrict: 'E', scope: { searchParam: '=ngModel', suggestions: '=data', onType: '=onType', onSelect: '=o...
var gulp = require('gulp'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var mustache = require('gulp-mustache'); var connect = require('gulp-connect'); var fs = require('fs'); var workerSrc = [ 'src/trix.js', 'bower_components/gif.js/src/NeuQuant.js', 'bower_components/gif.js/src/LZ...
'use strict'; // Articles routes use tests controller var tests = require('../controllers/tests'); var authorization = require('./middlewares/authorization'); // Article authorization helpers var hasAuthorization = function(req, res, next) { console.log(req.test.user.id); console.log(req.user.id); if (req.t...
angular.module('pvcloudApp').controller('_mycloud_myapps_edit_pages', function ($scope, UtilityService, AppRegistryService, sessionService, $routeParams, $location) { console.log("This is _mycloud_myapps_edit_pages controller being invoked"); console.log($scope); processDevRedirects(); getListOfPages(...
/* 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/. */ const nsIX509Cert = Components.interfaces.nsIX509Cert; const nsX509CertDB = "@mozilla.org/security/x509certdb;1"; ...
var searchData= [ ['match_5flexeme',['match_lexeme',['../namespacethewizardplusplus_1_1wizard__parser_1_1lexer.html#ad2450cd6a741aa38d42b5f4ecbbd9a1c',1,'thewizardplusplus::wizard_parser::lexer']]], ['match_5fparser',['match_parser',['../structthewizardplusplus_1_1wizard__parser_1_1parser_1_1match__parser.html',1,'...
/* ReadMe: https://github.com/davidleghorn/dl-angular-directives/blob/master/number-with-separators/ReadMe.md Example: https://github.com/davidleghorn/dl-angular-directives/blob/master/number-with-separators/example.html */ "use strict"; angular.module("dl.com.directives.numberWithSeparators", []) .directive("dlN...
"use strict"; var striptags = require('striptags'); var Sequelize = require('sequelize'); var passport = require('passport'); var Image = require('../image.js'); module.exports = function(express,app){ var router = express.Router(); var sequelize = app.get('models').sequelize; var mongoose = require('mongoose');...
/** * 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. * * @emails react-core */ 'use strict'; import { buttonsType, createEventTarget, setPointerEvent, } from '../testing-library...
const path = require('path'); const webpack = require('webpack'); const config = { frontend: { entry: './src/frontend.js', output: { path: path.join(__dirname, './dist'), filename: 'posthtml-prefix-ngclass.frontend.js', libraryTarget: "umd", library: ...
(function() { 'use strict'; angular.module('sagffl') .factory('$leagueapps', LeagueAppsService); LeagueAppsService.$inject = ['$log', '$q', '$http', 'Config']; function LeagueAppsService($log, $q, $http, Config) { $log.debug('loading $leagueapps'); var apiKey = '?x-api-key=' + Config.LEAGUEAPPS_API...
define(function(require){ var Router = require('joss/mvc/Router'); //keep track of how many times we change the hash, and erase history //afterwards. var routeCount = 0; var _route = function(hash) { setTimeout(function() { window.location.hash = hash; }, routeCount * 20); routeCount++; }; var _fin...
import { AssetsComponent } from "./assets.component.js"; AssetsComponent.bootstrap();
const autoprefixer = require('autoprefixer'); const webpack = require('webpack'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const WebpackNotifierPlugin = require('webpack-notifier'...
exports.get = function(req, res, next) { res.send(200, { "agencyLocationDesc": "Test Location 2", "agencyLocationKey": "a92c6262-17e0-4890-8e0e-926a068323b1", "moonRayAppId": "2_1751_4MYg9KXRU", "dateCreated": "2010-10-22T16:35:27", "dateModified": "2013-03-04T20:08:51", ...
var PageTransitions = (function ($, options) { "use strict"; var defaultStartPage = "home", sectionsContainer = $(".subpages"), isAnimating = false, endCurrentPage = true, endNextPage = false, windowArea = $(window), animEndEventNames = { 'WebkitAnimat...
/* listen.js - listen(callback) test The MIT License (MIT) Copyright (c) 2013 Tristan Slominski 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...
/** * Copyright (c) 2014 Michael Scherer // Virtual Racing e.V * Released under The MIT License. */ function showHelp(msg, returnCode) { returnCode = returnCode || 0; out = (returnCode == 0) ? console.log : console.error; if (msg) { out('##', msg, '\n'); } out('usage: acCtrl.js <action...
/** * * WebCard * */ import React, { PropTypes } from 'react'; import styled from 'styled-components'; import pallete from 'styles/colors'; import alibabaImg from 'assets/images/alibaba.png'; import baiduImg from 'assets/images/baidu.png'; const Title = styled.div` display: -webkit-box; font-size: 0.3rem; overf...
/** * @author Howard Chang */ // Libraries // import fetch from 'isomorphic-fetch'; // Constants import actionTypes from '../constants/action-types'; import { SERVER_API_URL } from '../constants/config'; // Actions import { setLoadingState, apiFailure } from './app-actions'; //import { setCurrentSelectedUserI...
import Ember from 'ember-metal/core'; // Ember.assert import { get as e_get } from 'ember-metal/property_get'; import { guidFor, meta as metaFor, isArray } from 'ember-metal/utils'; import EmberError from 'ember-metal/error'; import { propertyWillChange, propertyDidChange } from 'ember-metal/property_events';...
f='GNunescape(encodeURI)^},S M ^/2,B g=t=u=0,v={};Ky=2,z=M;y<=zy)Kh=0,l ^-y;h<lh)!v[e .substr(h,y)])K=1,f=h;~(f=5,f+y));)++,M=y;Ke @ v)(j=)>1 s=G*(j-1)-j-2;s>t||s==tj<u)t=s,u=j,g=e}X=g};Kd=1,F=[];d<127d)e=Str@g.fromCharCode(d),!\']/.test!~5)F.p;F.sort(`a,bNa>b?1:a<b?-1:0}),Z";while((Y=F(B,X))a...
import React from 'react' import { IndexLink, Link } from 'react-router' import PropTypes from 'prop-types' import './PageLayout.scss' export const PageLayout = ({ children }) => ( <div className='container text-center'> <IndexLink to='/' activeClassName='page-layout__nav-item--active'>Home</IndexLink> <div...
export { default } from 'ember-mapbox-gl/components/mapbox-gl-source';
import {stringToDash} from '../../utils/String'; import {parseObject} from '../../utils/Object'; import deepExtend from 'deep-extend'; import {EventVariationInfo} from '../../utils/events'; export default class ngbGoldenLayout { static instance(appLayout, ngbGoldenLayoutConstant) { return new ngbGoldenLa...
'use strict'; /* jasmine specs for controllers go here */ describe('controllers', function(){ beforeEach(module('Summarizr.controllers')); it('should ....', inject(function() { //spec body })); it('should ....', inject(function() { //spec body })); });
/* Notes: - gulp/tasks/browserify.js handles js recompiling with watchify - gulp/tasks/browserSync.js watches and reloads compiled files */ var gulp = require('gulp'); var config= require('../config'); gulp.task('watch', ['setWatch', 'browserSync'], function() { gulp.watch(config.sass.src, ['sass']); gul...
(function () { $(document).ready(function () { function taskStage (state) { if (state === "show") { $('#user-modules').hide(); $('#selected-module-details').show(); } else { $('#user-modules').show(); $('#selected-module-details').hide(); } } function populateCurrentModule (module) ...
/** * The Render Engine * TextRenderer * * @fileoverview A text renderer object that uses a specific render * object to produce text when a render context cannot. * * * @author: Brett Fattori (brettf@renderengine.com) * * @author: $Author: bfattori $ * @version: $Revision: 1555 $ * * Copyrigh...
'use strict'; var Promise = require('bluebird'); var xhr = require('../shared/xhr'); var format = require('../shared/format'); var renderBreadcrumb = require('./breadcrumb'); var distributions = ['stable', 'testing', 'unstable', 'experimental']; var waitDiv = document.querySelector('#wait'); var fileTypeRenderers...
version https://git-lfs.github.com/spec/v1 oid sha256:169407668337d06f4e5a095587374126858b0a962db64969cbc79c76522e7597 size 18809
/*global deepEqual*/ module("cuttype: screwhole"); test("common screwpath", function() { var job = { "units": "mm", "bit_diameter": 3, "feed_rate": 10, "plunge_rate": 5, "z_step_size": 1, "cuts": [{ "type": "screwpath", "points": [[10, 0], [0, 200]], "depth": -3, "shaf...
var path = require('path'); var logger = require('./logger'); var config = require('../config'); var parameters = require('./parameters'); var branchName = parameters.getBranchName(); var branchConfig = config.phantomjs.tasks[branchName]; var etalonScreenshots = path.join(config.screenshots, branchName); var targetSc...
$('.datatable-responsive').on('draw.dt', function () { $("input[type=checkbox]").addClass("styled"); $(".styled, .multiselect-container input").uniform({ radioClass: 'choice' }); $("a.dt-button").addClass("btn-xs bg-slate-600"); $('.datatable-responsive tbody td input[type=checkbox]').on...
"use strict"; const http = require("http"); const https = require("https"); const { ono } = require("@jsdevtools/ono"); const url = require("../util/url"); const { ResolverError } = require("../util/errors"); module.exports = { /** * The order that this resolver will run, in relation to other resolvers. * ...
import Controller from '@ember/controller'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; const initialDatetime = new Date('12/25/1994 13:35'); export default class ApplicationController extends Controller { @tracked shouldShow = true; @tracked initialDatetime = initialDatet...
System.register(['/node_modules/angular2/platform/browser', './app.component'], function(exports_1) { var browser_1, app_component_1; return { setters:[ function (browser_1_1) { browser_1 = browser_1_1; }, function (app_component_1_1) { ...
var inherits = require('util').inherits, Driver = require('../driver'), ERROR_MSGS = require('../errors'), webdriver = require('webdriverjs'); function WebDriverIO(config) { this._remoteDriver = webdriver.remote(config); } inherits(WebDriverIO, Driver); WebDriverIO.prototype = { init: function init(c...
var toString = require('./toString') module.exports = function (target) { return target != null && toString.call(target) == '[object Object]' }
this.addEventListener('install', function(event) { event.waitUntil( caches.open('learn-memory-1505632133421').then(function(cache) { return cache.addAll([ '/', '/stylesheets/styles.css', '/views/lessons-list.html', '/views/lessons-id.html', '/javascripts/scripts.js', ...
(function (app) { 'use strict'; app.registerModule('activities', ['core']);// The core module is required for special route handling; see /core/client/config/core.client.routes app.registerModule('activities.admin', ['core.admin']); app.registerModule('activities.admin.routes', ['core.admin.routes']); app.re...
import behaviors from './cetei-behaviors.js' class CETEI { constructor(base){ this.els = []; this.namespaces = new Map(); this.behaviors = {}; this.hasStyle = false; this.prefixDefs = []; if (base) { this.base = base; } else { try { ...
(function (global, $) { var ImageProcessing = {}, imgproc_div1 = $('#image-proc-container1'), imgproc_div2 = $('#image-proc-container2'), dataset_sel = $("#dataset-sel"), image_sel = $("#image-sel"), plugin_sel = $("#plugin-sel"), curr_page = 0, curr_image_id ...
// flow-typed signature: 1f51ede354b708d1bf2ac3d98fd21d0b // flow-typed version: fe275d55fd/yargs_v15.x.x/flow_>=v0.118.x declare module "yargs" { declare type Argv = { [key: string]: any, _: Array<string>, $0: string, ... }; declare type Options = $Shape<{ alias: string | Array<string>, ...
"use strict"; module.exports = { schema: { definitions: { foo: { $ref: "__(%7B%5B%20%25%20%26%20%24%20%23%20%40%20%60%20~%20%2C)%7D%5D__/__(%7B%5B%20%25%20%26%20%24%20%23%20%40%20%60%20~%20%2C)%7D%5D__.json#/definitions/foo" }, "__<({[ % & $ # @ + = ? \\ / \" ' ' ` ~ , ; : >)}]__": { ...
import { buildUrl } from './util/url_factory'; export default function Follow({ req, resource }) { const actionUrl = buildUrl({ pathname: '/api/social/follow', searchParams: { resource } }); // TODO(mime): good candidate to make a `SimpleHTMLBase` template. // TODO(mime): add i18n return ( <html lang="en"...
/* eslint-env jest */ import webdriver from 'next-webdriver' import path from 'path' import { nextBuild, nextStart, findPort, killApp } from 'next-test-utils' jest.setTimeout(1000 * 60 * 1) const appDir = path.join(__dirname, '..') let appPort let app describe('Auto Export Serverless', () => { it('Refreshes query ...
[ 'amd_needing_normalize', /*amd_needing_normalize*/ function (stealRequire, stealExports, stealModule) { var stache = stealRequire('can/view/stache/stache'); stealRequire('./tabs.less'); stealModule.exports = {}; } ];
/*! svg.textbox.js - v0.9.2 - 2017-10-13 * https://github.com/wiiiteek/svg.textbox#readme * Copyright (c) 2017 Wiktor Koźmiński * Licensed MIT */ SVG.MText = SVG.invent({ create: function() { this.constructor.call(this, SVG.create('text')); this.dom.lineHeight = new SVG.Number(1.2); this.attr('font-family...
for(_='onzunctiz`.push(> vUleB* KquerySeBctorJ eBmentZ firstZY a%%ssign $re#F.8se7#turn6 @6s {5*5F}*/_.4;i--;)3Bngthvar htmlg[1] the/**K;8ext({bjectteappend valuetringor this;6 }for([i]f`(: v,x){x=.x 7Bct in;i=x[8L]3 // placeholder K@param  czxt [x]for * F=c){_=  ,x  ed by ...
exports.question = 'answer?';
'use strict'; module.exports = { db: 'mongodb://localhost/shops-dev', app: { title: 'Search - Development Environment' }, facebook: { clientID: process.env.FACEBOOK_ID || 'APP_ID', clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET', callbackURL: 'http://localhost:3000/auth/facebook/callback' }, tw...
import React, { PropTypes } from 'react'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; import styled from 'styled-components'; import SolarSystem from 'components/SolarSystem'; import BottomBar from '../../components/BottomBar'; import SpaceCursor from '../../components/SpaceCursor'; impo...
this.NesDb = this.NesDb || {}; NesDb[ '725FED2FD8B59AA96CD641B74B2A6A7506DBCB44' ] = { "$": { "name": "Renegade", "class": "Licensed", "catalog": "NES-RG-USA", "publisher": "Taito", "developer": "Technos", "region": "USA", "players": "2", "date": "1988-01" }, "cartridge": [ { "$": { "system...
#!/usr/bin/env node /*jslint node: true */ module.exports = function () { 'use strict'; var settings = require('./settings'), util = require('util'), events = require('events'), http = require('http'), url = require('url'), elastic = require('./library/elastic')(util, ...
/** * @fileOverview VIE^2 * @author <a href="mailto:sebastian.germesin@dfki.de">Sebastian Germesin</a> */ var mappingPerson = new Mapping('person'); mappingPerson.connectorMappers = {}; mappingPerson.filter = function (vie2, context, matches) { var persons = []; $.each(context, function (connectorId, rdf) { v...
import Uwave from './Uwave'; import youTubeSource from './sources/youtube'; import soundCloudSource from './sources/soundcloud'; import AboutPage from './_wlk/AboutPage'; function readApplicationConfig() { try { return JSON.parse(document.getElementById('u-wave-config').textContent); } catch (e) { return {...
var gulp = require('gulp'); var del = require('del'); var connect = require('gulp-connect'); var mocha = require('gulp-mocha'); var babel = require('babel/register'); var runSequence = require('run-sequence'); var Builder = require('systemjs-builder'); gulp.task('test', function() { return gulp.src(['test/**/*.js'...
app.directive('ngPoster', function() { return { priority: 99, // it needs to run after the attributes are interpolated link: function(scope, element, attr) { attr.$observe('ngPoster', function(value) { if (!value) return; attr.$set('poster', value); }) } } }) // https://githu...
var assert = require('assert'); var merge = require('lodash').merge; var request = require('request'); var defaultConfig = require('../lib/default-config'); var computeDownloadUrls; var computedUrls; var opts = { seleniumVersion: defaultConfig.version, seleniumBaseURL: defaultConfig.baseURL, drivers: defaultCon...
'use strict'; exports.consumer = require('./lib/rpc-consumer-factory'); exports.publisher = require('./lib/rpc-publisher-factory');
'use strict'; App.controller("profileController", function($scope, dataService) { dataService.postData(function(dataResponse) { $scope.data = dataResponse; }); });
import Vue from 'vue'; import Vuex from 'vuex'; import App from './view/app'; import VueRouter from 'vue-router'; import example from './view/example'; import pollutionmap from './view/pollutionmap'; import model from './model'; Vue.use(Vuex); Vue.use(VueRouter); App.store = new Vuex.Store({ modules: model }); c...
/* global require, module */ var EmberApp = require('ember-cli/lib/broccoli/ember-app'); var app = new EmberApp(); // Use `app.import` to add additional libraries to the generated // output files. // // If you need to use different assets in different // environments, specify an object as the first parameter. That /...
var express = require('express'); var router = express.Router(); var passport = require('passport'); var jwt = require('express-jwt'); var mongoose = require('mongoose'); var Discussions = mongoose.model('Discussion'); var Posts = mongoose.model('Post'); var User = mongoose.model('User'); var auth = jwt({secret: 'C7F...
'use strict'; // Loading dependencies. var Handlebars = require('hbsfy/runtime'); /** * Examines the current filter and current filter value against what * filters are actually chosen, and if there's a match we output * selected attribute. * * Example Usage: * {{ isFilterSelected filtersSelected={ gender: ...
/*! * intelliwidget.js - Javascript for the Admin. * * @package IntelliWidget * @subpackage js * @author Jason C Fleming * @copyright 2014-2015 Lilaea Media LLC * @access public * */ jQuery( document ).ready( function( $ ) { //"use strict"; /** * BEGIN FUNCTIONS */ // store pan...
import BoxHttp from './box-http'; import BasicBoxClient from './basic-box-client'; import PersistentBoxClient from './persistent-box-client'; export default class SDK { constructor() { this._BasicBoxClient = BasicBoxClient; this._PersistentBoxClient = PersistentBoxClient; } get BasicBoxClient() { ret...
'use strict'; var UPYUN = require('..'); var utils = require('../lib/utils'); var should = require('should'); var upyun = new UPYUN('travis', 'travisci', 'testtest', 'ctcc'); describe('utils: ', function() { describe('.getConf(key)', function() { it('should get bucket name', function() { upyu...
var handleError = function(err, client, done, res) { // no error occurred, continue with the request if(!err) return false; // An error occurred, remove the client from the connection pool. if(client){ done(client); } res.writeHead(500, {'content-type': 'text/plain'}); res.end('An error occurred'); ...
import gulp from 'gulp'; gulp.task('vendors', function () { return gulp.src(['node_modules/angular-gridster/dist/*', 'node_modules/angular-ui-tree/dist/*']) .pipe(gulp.dest('build/vendors')); })
var module = angular.module('Brewery', []); module.controller('BreweryCtrl', ['$scope', 'BreweryService', function ($scope, BreweryService) { $scope.beers = BreweryService.getBeers(); $scope.selectBeer = function (beer) { BreweryService.getOnePinte(beer); }; }]); module.filter('NoteFilter', function () { ...
Conductor.card({ activate: function(data) { ok(true, "child card activated"); equal( data, 'food for card', "A child card is initialized with data"); start(); } });
/******* ** node-mpdsocket :: an MPD library for node.js ** ** author: Eli Wenig (http://eliwenig.com/) <eli@csh.rit.edu> ** ** copyright (c) 2011 Eli Wenig ** made available under the MIT license ** http://www.opensource.org/licenses/mit-license.php ** *******/ var net = require('net'); var sys = require('sys'); f...
'use strict'; const webpack = require('webpack'); const autoprefixer = require('autoprefixer'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const { ENV, IS_PRODUCTION, IS_DEV, APP_VERSION, TRAVIS, dir } = require('./helpers'); module.exports = (options = {}) => { return { context: dir(), ...
/*global Hyphenopoly, unescape*/ Hyphenopoly.languages.pa = { leftmin: 2, rightmin: 2, specialChars: unescape("ਆਅਇਈਉਊਏਐਔਕਗਖਘਙਚਛਜਝਞਟਠਡਢਣਤਥਦਧਨਪਫਬਭਮਯਰਲਵਸ਼ਸਹਲ਼ਿੀਾੁੂੇਾੋੈੌ੍ਃ%u0A02%u200D"), patterns: { "2": unescape("ਅ1ਆ1ਇ1ਈ1ਉ1ਊ1ਏ1ਐ1ਔ1ਿ1ਾ1ੀ1ੁ1ੂ1ੇ1ੋ1ੌ1੍2ਃ1%u0A0211ਕ1ਗ1ਖ1ਘ1ਙ1ਚ1ਛ1ਜ1ਝ1ਞ1ਟ1ਠ1ਡ1ਢ1ਣ1ਤ1ਥ1ਦ1ਧ1ਨ1ਪ1...
#!/usr/bin/env node /** * Module dependencies. */ var express = require('express'); var app = express(); require('../config')(app); module.exports = app; var program = require('commander'); var includes = ['mint', 'github', 'cron', 'fitbit-weight', 'fitbit-activity', 'rescuetime', 'electricity']; for(var index...
jQuery(document).ready(function() { var $ = jQuery; var screenRes = $(window).width(), screenHeight = $(window).height(), html = $('html'); // IE<8 Warning if (html.hasClass("ie6") || html.hasClass("ie7")) { $("body").empty().html('Please, Update your Browser to at least IE8'); ...