code
stringlengths
2
1.05M
import * as types from '../constants/favorites'; import { getExtendedCartList, getExtendedList } from 'utils/helpers'; const initialState = { isFetching: false, isFetched: false, error: null, added: [] }; export default function cart(state = initialState, action) { switch (action.type) { case types.ADD_TO_FAVOR...
(function () { 'use strict'; var padding = 16; var createChartConfig = function (container) { var width = container.clientWidth; var height = width * .5; return { height: height, heightInner: height - padding * 2, padding: padding, width: width, widthInner: width - padding * 2, }; }; var...
/* global require */ (function() { 'use strict'; var gulp = require('gulp'); var eslint = require('gulp-eslint'); var files = { js: 'app/js/*.js' }; var tasks = { watch: 'watch', lint: 'lint' }; var lintFiles = [files.js, 'Gulpfile.js']; var eslintConfig ...
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, ...
/*--------Original/Nick combo---------------*/ var mongoose = require('mongoose'); var Schema = mongoose.Schema; var truckSchema = Schema({ truckName: String, currentAddress: String, foodType: String, active: Boolean }); module.exports = mongoose.model('Truck', truckSchema); /* There are many ways of doing...
/* ***** 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...
/** * Node.js API Starter Kit (https://reactstarter.com/nodejs) * * Copyright © 2016-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ /* @flow */ /* eslint-disable global-require, no-u...
$(function () { var serie; function onMessage(e) { if (serie){ var shift; if (serie.data.length > 10){ shift = true; }else{ shift = false; } serie.addPoint([parseInt(e.data, 10)], true, shift); } } ...
define(['chaplin', 'views/site-view'], function(Chaplin, SiteView) { 'use strict'; var Controller = Chaplin.Controller.extend({ // Place your application-specific controller features here. beforeAction: function() { this.compose('site', SiteView); } }); return Controller; });
'use strict'; angular.module('app', ['ui.bootstrap']);
export default function throttle(fcn, threshhold) { let last = 0 let timeout = null return (...args) => { const time = new Date().getTime() if (time < last + threshhold) { clearTimeout(timeout) timeout = setTimeout(() => { last = time fcn.apply(this, args) }, threshho...
import { Bullhorn } from './Bullhorn'; import { Deferred } from './Deferred'; import { QueryString } from './QueryString'; export class Query { constructor(endpoint) { this.endpoint = endpoint; this.records = []; this._page = 0; this.WHERE = 'where'; this.ORDER = 'orderBy'; ...
const page1 = ` <p> <h1>This is page 1</h1> </p> `; export default page1;
$(document).ready(function() { $("#arrow").on('click', function(event) { console.log("I reached here!"); $('html, body').animate({ scrollTop: $("#about-me").offset().top }, 1200); }); var colors = ['#4744AE', '#800F80', '#F5A503', '#3AA1BF']; var random_color = colors[Math.floor(Math...
/*! * AngularJS Material Design * https://github.com/angular/material * @license MIT * v1.1.7 */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.menuBar */ angular.module('material.components.menuBar', [ 'material.core', 'material.components.icon', ...
'use strict'; module.exports = { db: 'mongodb://localhost/matsi-test', port: 3001, app: { title: 'matsi - Test Environment' }, facebook: { clientID: process.env.FACEBOOK_ID || 'APP_ID', clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET', callbackURL: 'http://localhost:3000/auth/facebook/callback' ...
export default { path: 'test' , getComponent(nextState, cb) { require.ensure([], require => cb(null, require('./components/Test').default)) } , getChildRoutes(location, cb) { require.ensure([], require => cb(null, [ require('./r...
import React from 'react'; // import {Basic} from 'czechidm-core'; import {SystemGroupManager} from '../../redux'; import SystemGroupTable from './SystemGroupTable'; /** * Table of system groups. * * @author Vít Švanda * @since 11.2.0 * */ export default class SystemGroups extends Basic.AbstractContent { cons...
import { Model, prefix, attr, hasMany, belongsTo } from 'sofa'; export default Model.extend({ id: prefix(), name: attr('string'), email: attr('string'), blogs: hasMany('blog', { inverse: 'authors', query: 'author-blogs', relationship: 'author-blogs' }), posts: hasMany('post', { inverse: 'author', persist: ...
/** * Copyright (c) 2013-present, Facebook, Inc. * * 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'; const emptyFunction = require('fbjs/lib/emptyFunction'); describe('ReactDOMInput', () => { le...
export default { text: '#000', textHighlight: '#000', icon: '#000', unknown: '#c0ab7f', success: '#4eb6a3', warning: '#d1be65', failure: '#ff9176', }
'use strict' module.exports = { contract: `contract structArrayStorage { struct intStruct { int8 i8; int16 i16; uint32 ui32; int i256; uint16 ui16; int32 i32; } intStruct intStructDec; int64[7] i5; int64[] idyn5; int32[][4] dyn1; ...
import * as models from '../index'; import {globalBeforeEach} from '../../__jest__/before-each'; describe('init()', () => { beforeEach(globalBeforeEach); it('contains all required fields', async () => { Date.now = jest.fn().mockReturnValue(1478795580200); expect(models.request.init()).toEqual({ isPri...
import React from 'react'; import { StyleSheet, Text, View, Button, Image, Dimensions, } from 'react-native'; import { StackNavigator, } from 'react-navigation'; class MenuScreen extends React.Component { static navigationOptions = { title: 'Menu' } render() { const imageURI = Expo.Asset...
/* eslint-env mocha */ "use strict"; var assert = require("chai").assert; var setGasPrice = require("../src/set-gas-price"); describe("set-gas-price", function () { var test = function (t) { it(t.description, function (done) { setGasPrice(t.rpc, function (err, gasPrice) { t.assertions(err, gasPri...
var _ = require('lodash'); module.exports = function(grunt) { 'use-strict'; /* Initialize configuration -----------------------------------------------------*/ require('load-grunt-tasks')(grunt); require('time-grunt')(grunt); // default config var config = { sourcemap: false, ...
var assert = require('assert') var url = require('url') var _ = require('lodash') var sinon = require('sinon') var __ = require('@carbon-io/carbon-core').fibers.__(module) var ejson = require('@carbon-io/carbon-core').ejson var o = require('@carbon-io/carbon-core').atom.o(module) var _o = require('@carbon-io/carbon-c...
/* vim:ts=4:sts=4:sw=4: * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://...
/*jslint node: true */ 'use strict'; var Figuier = require('../figuier'), Use; module.exports = Use = function (process, config) { if (!(this instanceof Use)) { return new Use(process, this); } if (!(config instanceof Figuier)) { throw 'Trying to manually instantiate'; } this.process = process...
YUI.add("yuidoc-meta", function(Y) { Y.YUIDoc = { meta: { "classes": [ "Analytics", "Api", "Application", "Assets", "BaseApplication", "BaseCollection", "BaseModel", "BasePage", "BaseRouter", "BaseView", "Bootstrap", ...
"use strict" var Immutable = require('immutable'); var EventEmitter = require('events').EventEmitter; var assign = require("object-assign"); var { Map, List, OrderedMap } = Immutable; var CHANGE_EVENT = "CHANGE"; var JSONDispatcher = require('../dispatcher/JSONDispatcher') var { ActionTypes } = require('../constants...
angular.module('angular.shared.endpoind.factory',[]) .constant('API_ENDPOINT', 'http://45.55.153.158/api') .factory('ApiEndpoint', ['API_ENDPOINT', function (API_ENDPOINT) { return { Authenticate: function () { return API_ENDPOINT + '/auth/authorize'; }, GetProfile: function () { return API_ENDPOIN...
function solve(args) { var len = args.length; counter = 1; maxSequince = 0; for (var i = 0; i < len - 1; i += 1) { if (+args[i] < +args[i + 1]) { counter++; } else { if (maxSequince < counter) { maxSequince = counter; } co...
import mongoose from 'mongoose'; const callSchema = mongoose.Schema({ ticket: { type: Number }, call_time: { type: Date }, analyst: { type: Schema.Types.ObjectId, ref: 'User' } call_made: { type: Boolean, required: true }, other_party: { type: String, required: true ...
/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; var React = require('react-native'); var { AppRegistry, StyleSheet, Text, View, } = React; var robert_and_kims_weather_app = React.createClass({ render: function() { return ( <View style={styles.container}...
// eslint-disable-next-line 'use strict' const Libp2p = require('libp2p') const Websockets = require('libp2p-websockets') const WebSocketStar = require('libp2p-websocket-star') const WebRTCStar = require('libp2p-webrtc-star') const MPLEX = require('libp2p-mplex') const { NOISE } = require('@chainsafe/libp2p-noise') co...
'use strict'; //noinspection JSUnusedLocalSymbols const { indent } = require('../utils'); const qs = require('querystring'); class GithubApi { constructor(auth) { this.rp = require('request-promise-native') .defaults({ gzip : true, jar : true, auth ...
let m = new Map(); Math.sign(-1);
const lowercaseWords = /(?:^\w|[A-Z]|\b\w)/g const wordSeparators = /[\s-:]+/g const camelCase = str => str .trim() .replace(lowercaseWords, (letter, index) => index === 0 ? letter.toLowerCase() : letter.toUpperCase()) .replace(wordSeparators, '') const pascalCase = str => { if (!str) return str const camel...
import React from 'react'; import { Link } from '@curi/react'; function ToolsList(props) { return ( <div> <h1>Tools</h1> <p> Below are some tools that may assist you in encrypting and decrypting messages. What they don't do is encrypt and decrypt messages for you. </p> <ul...
/** All server api will define in here. */ define('api', ['adminApp', 'config'], function (adminApp, config) { adminApp .factory('adminHttp', ['$http', function ($http){ $http.defaults.useXDomain = true; var serverUrl = config.serverHost + config.namespace; // var serverUrl = 'http://www.duastone.com/s...
import React from 'react'; import {BrowserRouter, Route, Switch} from 'react-router-dom'; import Album from './components/album'; import Albums from './components/albums'; import Artist from './components/artist'; import Artists from './components/artists'; import Navigation from './components/navigation'; import NotF...
'use strict' var dirname = require('path').dirname, exec = require('child_process').exec, test = require('tap') require('../') if (process.env.TEST_STILL_NOT_A_FUNCTION) nonExistingFunction() else { test.plan(2) var args = [ 'cover', __filename, '--report', 'none', '--print', 'none', '--in...
var DEFAULT_WIDTH = 550; module.exports = { re: [ /^https?:\/\/(www|m)\.facebook\.com\/([a-zA-Z0-9\.\-]+)\/?(?:\?f?ref=\w+)?$/i ], getMeta: function(oembed, urlMatch) { if (oembed.html) { var title = oembed.html.match(/>([^<>]+)<\/a><\/blockquote>/i); title = titl...
"use strict"; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _createClass = function () { function defineProperties(tar...
// Test for writing a SML-File var sml = require('../index'); var smlFile = new sml.SmlFile(); //smlFile.setType("SML"); //smlFile.setStatus(0x01); //smlFile.setVersion(1); var smlMessage1 = new sml.SmlMessage(); smlMessage1.setMessageTag(sml.Constants.PUBLIC_OPEN_RESPONSE); smlMessage1.setTransactionId("01234567890a...
(function ($) { Drupal.behaviors.killToolbarAutoSidebar = { attach: function (context) { window.matchMedia('(min-width: 975px)').addListener( function(event) { event.matches ? $('#toolbar-item-administration', context).click() : $('.toolbar-item.is-active', context).click(); }); } }; })(...
var structx265_1_1SPS = [ [ "bUseAMP", "structx265_1_1SPS.html#a713e18a360613ebe57ff11e97d9bd43e", null ], [ "bUseSAO", "structx265_1_1SPS.html#a840125b92a05d8707921b0d2f3c3b937", null ], [ "bUseStrongIntraSmoothing", "structx265_1_1SPS.html#a1daed1579d50ed1572594c5ebe1e83b5", null ], [ "chromaFormatIdc...
System.register([], function(exports_1, context_1) { "use strict"; var __moduleName = context_1 && context_1.id; var Score; return { setters:[], execute: function() { Score = (function () { function Score(player, points) { this.player = pla...
require('commons'); require('lessDir/base/special.less'); define(['script/index/load_init'], function(LOAD) {})
"use strict"; var Hapi = require('hapi'); var packageHandler = require('src/handlers/package'); var packageValidate = require('src/validate/package'); module.exports = function() { return [ { method: 'POST', path: '/package/upload', handler: packageHandler.upload, config: { payload: { ...
var configLoader = require('../lib/config-loader') , sh = require('shelljs') , path = require('path') , fs = require('fs') , db = require('../lib/db').create({name: 'test-db', host: 'localhost', port: 27017}) , Server = require('../lib/server') , Collection = require('../lib/resources/collection') , Files...
/*! * Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. */ // Need to fork xhr to support environments with full object freezing; namely, // SalesForce's Aura and Locker environment. // See https://github.com/naugtur/xhr for license information // Maintain the original code style of https://github.com/...
module.exports = (function() { var mongoose = require('mongoose'), Schema = mongoose.Schema; var Test = Schema({ name:String, age:Number, job:Number }, { collection: 'test' }); Test.statics.test = function() { //this.testWrite(); ...
export const initialState = { query: '' }; const setAutocompleteSearch = (state, { payload }) => ({ ...state, query: payload }); export default { setAutocompleteSearch };
import React from 'react'; import PropTypes from 'prop-types'; import Footer from './../../../components/footer/footer'; function ErrorPage({ env, componentInfo, err }) { const isDevelopment = env === 'development'; if (isDevelopment) { console.error(err); // eslint-disable-line no-console console.error(e...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
import Promise from "bluebird"; import moment from "moment"; export default class Source { constructor(data) { this.title = data.title; this.interval = data.interval || 60; } getInterval() { return this.interval; } getStatus() { return Promise.resolve({ ...
(function($) { "use strict"; // Smooth scrolling using jQuery easing $('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...
"use strict" var program = require('commander'), Q = require('q'), fs = require('fs'), Datastore = require('nedb'); var configDb = new Datastore({ filename: 'data/node-catch.config', autoload: true }); var configFind = Q.denodeify(configDb.find.bind(configDb)); var commandList = ['list','remov...
var expect = require("chai").expect; var db = require("../index"); var setup = require("./setup"); var conti = require("conti"); var util = require("./util"); var wqueueStateWaitExam = util.WqueueStateWaitExam; var wqueueStateInExam = util.WqueueStateInExam; var wqueueStateWaitCashier = util.WqueueStateWaitCashier; va...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
/** * @warning: the ordering is important */ const sharedPlugins = webpack => ([ require('postcss-import')({ addDependencyTo: webpack, path: ['node_modules', 'src/app'] // plugins: [] }), require('postcss-url')(), require('postcss-cssnext')(), require('postcss-font-magician')(), require('postc...
import { len5, len4, len3, len2 } from './dict'; export default { split(phoneNumber) { const unkown = [ phoneNumber ]; for (let dict of [ len5, len4, len3, len2 ]) { const prefix = dict.prefixFrom(phoneNumber); if (dict.contains(prefix) === false) { continue; } const prefi...
export { default as useQuery } from './hooks/useQuery'; export { default as ReactOrbitProvider } from './components/Provider'; export { default as useStore } from './hooks/useStore';
'use strict'; module.exports = { AutoPrefix: require('./auto-prefix'), Colors: require('./colors'), CustomColors: require('./custom-colors'), Spacing: require('./spacing'), ThemeManager: require('./theme-manager'), Transitions: require('./transitions'), Typography: require('./typography') };
var searchData= [ ['ok_5fstatus_991',['OK_STATUS',['../classparsers_1_1pddl_1_1solver__planning__domains_1_1spd__grammar__visitor__implementation_1_1SPDGrammarVisitorImplementation.html#aae83243fa85a9104864fafc375fe1ac6',1,'parsers::pddl::solver_planning_domains::spd_grammar_visitor_implementation::SPDGrammarVisitorI...
var server = require('./server').http, player = require('./player'), port = 8000, filesToLoad = []; function printHelp(exitp) { process.stdout.write("\n_____________________________________________________________________________________ \n "); process.stdout.write(" superplay by Jalal Hejazi 20...
/*! * Flagwind.UI v1.0.0 * Copyright 2014 Flagwind Inc. All rights reserved. * Licensed under the MIT License. * https://github.com/Flagwind/Flagwind.UI/blob/master/LICENSE !*/ // @codekit-append "core.js"; // @codekit-append "animation.js"; // @codekit-append "dropdown.js"; // @codekit-append "alert.js"; /*! *...
// 9000ポートで開始 var BinaryServer = require('binaryjs').BinaryServer, binaryServer = BinaryServer({ port: 9000 }); var clients = []; exports.start = function () { binaryServer.on('connection', function (client) { client.on('stream', function (stream) { clients.push(client); //Streamデータ受信時 stream.on('...
particlesJS("blood", { "particles": { "number": { "value": 300, "density": { "enable": true, "value_area": 1800 } }, "color": { "value": "#ab0505" }, "shape": { "type": "circle", ...
/** * Cesium - https://github.com/AnalyticalGraphicsInc/cesium * * Copyright 2011-2017 Cesium Contributors * * 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 * * http://www.apache.org/l...
import { ParameterContainer } from "../core/parameter-container"; class Configuration { constructor() { this.parameterContainer = new ParameterContainer(); } }
"use strict"; const sinon = require("sinon"); const _ = require("underscore"); const EventEmitter = require("events").EventEmitter; const util = require("util"); const should = require("should"); const WatchDog = require("..").WatchDog; function MyObject() {} util.inherits(MyObject, EventEmitter); MyObject.prototyp...
// -------------------- // Root namespace controller // logout action // -------------------- // libraries var authentication = require('../../../../lib/authentication'); // exports // action definition exports = module.exports = { // action params title: 'Logout', view: false, actLocal: true, // functions g...
import React from 'react'; import Head from 'next/head'; import { ThemeProvider, createGlobalStyle } from 'styled-components'; import Header from '@components/layout/header'; import { READER_PATH, APP_VERSION, CDN } from 'lib/config'; import { useGlobalState } from 'lib/state'; import { theme as rfTheme } from '@read...
import React from 'react'; import {EventEmitter} from 'fbemitter'; let AdStore = { showModal(component){ }, hideModal(target){ target.setState('') } } export default AdStore;
'use strict'; chrome.runtime.onMessage.addListener( function (request, sender, sendResponse) { if (request === 'getSnippet') { sendResponse(getSnippet()); } } ); function getSnippet () { return { title: document.title, url: document.location.href, description: getMetaDescription() };...
'use strict'; export default class DataObject { constructor() { } }
'use strict'; /** * @ngdoc filter * @name SubSnoopApp.filter:truncate * @function * @description * # truncate * Filter in the SubSnoopApp. */ angular.module('SubSnoopApp') .filter('truncate', function () { /* Truncate text posts to a certain number of words */ return function (input, num, le...
/* */ "format global"; "use strict"; var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; }; var _toConsumableArray = function (arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { re...
'use strict'; const log = require('../../log'); const Packet = require('../../../lib/packet'); exports.command = 'packet <hexData>'; exports.description = 'Decode a miIO UDP packet'; exports.builder = { token: { required: true, description: 'Token to use for decoding' } }; exports.handler = function(argv) { c...
/* eslint no-console: 1 */ console.warn('You are using the default filter for the institutions service. For more information about event filters see https://docs.feathersjs.com/api/events.html#event-filtering'); // eslint-disable-line no-console module.exports = function (data, connection, hook) { // eslint-disable-li...
/** * @fileOverview The file overview and the following infos will be display in the "File Index" of jsDoc * @author A. Livet * @version 1.0.1 */ /** * Sample that show how to properly document your code for jsdoc */ /** * @constant This is a constant declaration which will be displayed in the _global_ section...
version https://git-lfs.github.com/spec/v1 oid sha256:b30d3c45e462d6eb97105a2e111bb521dbd53fd852c78bc59a0f3c03de914b3f size 13352
import { className } from '../consts.js'; import Element from './elements.js'; const EMPTY_STRING = ''; class Spinner extends Element { constructor() { super(); this._create(); } _create() { this.self = this.createDiv(); this._setClass(this.self, [className.SPINNER]); var i; for (i = 0 ...
const files = require('../../lib/utils/files'); describe("files.getUri",function(){ it("correct file URI",function(){ expect(files.getUri("file:///test/file")).to.equal("file:///test/file"); }) it("absolute file",function(){ expect(files.getUri("/test/file")).to.equal("file:///test/file"); }) it("rela...
var sessionid = ''; var sessionrole = ''; var socket = io(); /* selector functions to interact with the HTML and server via socket.io */ $(document).ready(function() { // when user picks a role $("select").on("change", function() { sessionrole = $("select option:selected").text() //socket.emit('loggedin...
/** * Eco gulpfile */ /* global require */ // For auto-transpiling spec files require("babel-register")({ presets: ["es2015"] }); const gulp = require("gulp"); const plugins = require("gulp-load-plugins")(); function getTask(task) { return require(`./gulp-tasks/${task}`)(gulp, plugins); } // Run source code ...
'use strict'; angular.module('myApp.view1', ['ngRoute', 'services', 'top-nav']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/view1', { templateUrl: 'view1/view1.html', controller: 'View1Ctrl as vm' }); }]) .controller('View1Ctrl', ['ItemService', '$location', 'PaymentServic...
module.exports = { plugins: ["tailwindcss", "autoprefixer"], };
Ext.define('App.view.grid.product.stocks',{ extend : 'Ext.grid.Panel', alias : 'widget.gridProductStocks', store : 'App.store.product.pstocks', columnLines : true, columnWidth: '95%', emptyText: 'Empty Stocks', defaults:{ flex: 1 }, columns:[ { header: 'id', dataIndex ...
"use strict" $("document").ready(function () { setLandingImage(); }); // random background images function setLandingImage () { var imageFolder; var chosenImageArray; var fullSizeImageArray = [ "construction-rs", "daisy-rs", "dandelion-rs", "forest-rs", "hydrant-rs", "lake-rs", "river-rs", "roots...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 18.17l-2-2V14h-1c-1.1 0-2-.9-2-2V6c0-1.49 1.6-3.32 3.76-3.85.63-.15 1.24.33 1.24.98v15.04zm.19 4.44c-.39.39-1.02.39-1.41 0l-9.76-9.76c-.33.09-.66.15-1.02.15v8c0 .55-.45 1-1 1s-1-.45-1-1v-8c-2...
var edit = (function(){ // Cache DOM var $defaultSection = $('#about_you_dashboard'); var $defaultLink = $("#user_menu li a[href='#about_you']"); var $rowSections = $('.container-fluid .hidden'); var $currentRow = $('.container-fluid .hidden' + window.location.hash + '_dashboard'); var $menuLinks = $('#user_men...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.styles = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _objectWithoutPropert...
$(document).ready(function () { console.log('contact forms initialized'); });
/** * SETTINGS * -------- * * This file explains many default values and lower level abstraction */ //TODO:100 get token from state! const basicHeaderRequest = ( token = '7924JKEE2H1O1EFKRGZ28N8FZ0JBV5UHLU36YQ02K23VUK7Q12ZEAXQ79MGFQ9WOC5VZ5GMBI3Y27F6091' ) => ( { credentials: 'same-origin', //cors headers: {...
/*jshint esversion:6*/ import babelrc from 'babelrc-rollup'; import babel from 'rollup-plugin-babel'; import commonjs from 'rollup-plugin-commonjs'; import nodeResolve from 'rollup-plugin-node-resolve'; export default { entry: 'source/js/app.js', dest:'build/js/bundle.js', plugins: [ nodeResolve({ jsne...
/*! * fancyBox - jQuery Plugin * version: 2.1.3 (Tue, 23 Oct 2012) * @requires jQuery v1.6 or later * * Examples at https://fancyapps.com/fancybox/ * License: www.fancyapps.com/fancybox/#license * * Copyright 2012 Janis Skarnelis - janis@fancyapps.com * */ (function (window, document, $, undefined) { "use s...