This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
| // http://creativecommons.org/publicdomain/zero/1.0/ | |
| (function (win, doc) { | |
| 'use strict'; | |
| if (!win.XMLHttpRequest || !win.FormData || !win.addEventListener || !doc.querySelectorAll) { | |
| // doesn't cut the mustard. | |
| return; | |
| } | |
| function hijaxForm (formElement) { | |
| var progressBar; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Shopping list example</title> | |
| <style> | |
| li { | |
| margin-bottom: 10px; | |
| } | |
| li button { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { Link } from 'react-router-dom'; | |
| import { inject, observer } from 'mobx-react'; | |
| import { observable } from 'mobx'; | |
| import TransferCoins from '../../components/TransferCoins'; | |
| import MovesList from '../../components/MovesList'; | |
| import './ContactDetails.css'; | |
| import imgAvatar from '../../assets/img_avatar.png'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Switch> | |
| <Route exact path="/" component={Home} /> | |
| <Route path="/about" component={About} /> | |
| <Route path="/hello" component={Hello} /> | |
| <Route path="/books" component={Books} /> | |
| <Route path="/login" component={Login}/> | |
| <PrivateRoute authed={fakeAuth.isAuthenticated} path="/admin" component={Admin} /> | |
| </Switch> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let adMob = null; | |
| export function initAd() { | |
| adMob = window.plugins.AdMob || window.AdMob; | |
| if (/(android)/i.test(navigator.userAgent) && adMob) { | |
| adMob.banner.config({ | |
| id: "ca-app-pub-8953910389003952/3660976168", | |
| autoShow: false, | |
| isTesting: process.env.NODE_ENV === "production" ? false : true | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // import { AddNewPage } from './../add-new/add-new'; | |
| import { Address } from './../data/address.interface'; | |
| import { Component, OnInit } from '@angular/core'; | |
| import { NavController,AlertController } from 'ionic-angular'; | |
| import { SynagogeDetailsPage } from '../synagoge-details/synagoge-details'; | |
| import { Time } from '../data/time.interface'; | |
| import places from '../data/places'; | |
| import { Place } from '../data/place.interface'; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default [ | |
| { | |
| id: 1, | |
| name: 'Syna_One', | |
| type: 'Sfard', | |
| address: { | |
| street: 'Ahavat Israel', | |
| numbers: 11, | |
| city: 'Sderot', | |
| country: 'Israel' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "simple-eslint-prettier", | |
| "version": "0.1.0", | |
| "private": true, | |
| "scripts": { | |
| "serve": "vue-cli-service serve --open", | |
| "build": "vue-cli-service build", | |
| "lint": "vue-cli-service lint" | |
| }, | |
| "dependencies": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const assert = require('assert'); | |
| const mongoose = require('mongoose'); | |
| // ES6 Promises | |
| mongoose.Promise = global.Promise; | |
| // Connect to mongodb | |
| mongoose.connect('mongodb://localhost/testaroo'); | |
| mongoose.connection.once('open', function(){ |