Skip to content

Instantly share code, notes, and snippets.

View KarneAsada's full-sized avatar

Dan Karney KarneAsada

View GitHub Profile
diff --git a/src/components/utils.js b/src/components/utils.js
index a57982f..0650830 100644
--- a/src/components/utils.js
+++ b/src/components/utils.js
@@ -25,8 +25,8 @@ const Utils = {
},
isSafari() {
const ua = navigator.userAgent.toLowerCase()
- if (ua.indexOf('safari') !== -1) {
- if (ua.indexOf('chrome') > -1) {
diff --git a/src/player.js b/src/player.js
index ddb6037..4201d0b 100644
--- a/src/player.js
+++ b/src/player.js
@@ -1,6 +1,5 @@
import Swiper from 'swiper'
import 'swiper/dist/css/swiper.css'
-import 'url-search-params-polyfill'
import config from './config'
diff --git a/src/player.js b/src/player.js
index ddb6037..4201d0b 100644
--- a/src/player.js
+++ b/src/player.js
@@ -1,6 +1,5 @@
import Swiper from 'swiper'
import 'swiper/dist/css/swiper.css'
-import 'url-search-params-polyfill'
import config from './config'
diff --git a/src/config.development.js b/src/config.development.js
index df9f5b2..5cdce8f 100644
--- a/src/config.development.js
+++ b/src/config.development.js
@@ -1,5 +1,5 @@
module.exports = {
- API_SERVER : 'https://staging-dot-global-justice-178103.appspot.com',
+ API_SERVER : 'https://storage.googleapis.com/arturo-dev-media',
EVENT_SERVER : 'https://us-central1-global-justice-178103.cloudfunctions.net/event',
DEBUG : true,
<!DOCTYPE html>
<html>
<head>
<title>Four Functions</title>
</head>
<body>
<!-- Put your page markup here -->
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>MadLibs</title>
</head>
<body>
<h1 id = "header">MadLibs - Fill in the blanks</h1>
<h2>
I saw a
<span id="noun"></span>
<!DOCTYPE html>
<html>
<head>
<title>MadLibs</title>
</head>
<body>
<h1 id = "header">MadLibs - Fill in the blanks</h1>
<h2>
I saw a
<span id="noun"></span>
<!DOCTYPE html>
<html>
<head>
<title>Parts of Speech: We Do</title>
</head>
<body>
<h1 id = "header">This is a page about the parts of speech</h1>
<h1 id = "noun"> This is a noun --> </h1>
<h1 id = "adj"> This is an adjective --> </h1>
<div id ="sentence"></div>
@KarneAsada
KarneAsada / site-template.html
Last active January 22, 2017 23:28
site-template.html
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>Change this to the title of your page</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="/script.js"></script>
<style>
nav {
<!DOCTYPE html>
<html>
<head>
<title>Fun with jQuery Starter Code</title>
</head>
<body>
<div class="section">
<h1>What is your name?
<input id="name">
</h1>