Skip to content

Instantly share code, notes, and snippets.

View possibilities's full-sized avatar

Mike Bannister possibilities

  • AI Life
  • Portland East
View GitHub Profile

Intro

Welcome to Versal's gadget documentation! Here you'll find everything needed to get started building rich learning tools on the Versal platform. Please see the Support section if you have any questions that aren't answered here!

What you need to know

  • JavaScript, HTML5, CSS
  • Web development / debugging tools, such as Chrome dev tools
  • Basics of the Unix command line
<div><iframe src="http://www.brainshark.com/brainshark/vu/view.asp?pi=318522210&dm=5&pause=1&nrs=1&appKey=77" frameborder="0" width="555" height="452" scrolling="no" style="border:1px solid #999999"></iframe></div>
<object width="555" height="452" id="bsplayer4521" name="bsplayer4521" data="http://www.brainshark.com/brainshark/viewer/getplayer.ashx" type="application/x-shockwave-flash"><param name="movie" value="http://www.brainshark.com/brainshark/viewer/getplayer.ashx" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value="pi=318522210&dm=5&pause=1" /><a href="http://www.brainshark.com/brainshark/viewer/fallback.ashx?pi=318522210"><video width="555" height="452" controls="true" poster="http://www.brainshark.com/brainshark/brainshark.net/common/getimage.ashx?pi=318522210&w=555&h=452&sln=1"><source src="http://www.brainshark.com/brainshark/brainshark.net/apppresentation/getmovie.aspx?pi=318522210&fmt=2" /><img src="http://www.brainshark.
@possibilities
possibilities / index.html
Created April 28, 2015 06:05
JS Bin hello react // source http://jsbin.com/keneqa
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="hello react">
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.2/react-with-addons.js"></script>
</head>
<body>
<div class="app"></div>
@possibilities
possibilities / index.html
Created April 28, 2015 06:05
JS Bin hello react // source http://jsbin.com/keneqa
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="hello react">
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.2/react-with-addons.js"></script>
</head>
<body>
<div class="app"></div>
@possibilities
possibilities / index.html
Created April 28, 2015 06:05
JS Bin hello react // source http://jsbin.com/keneqa
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="hello react">
<meta charset="utf-8">
<title>JS Bin</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.2/react-with-addons.js"></script>
</head>
<body>
<div class="app"></div>
import { createStore, applyMiddleware, compose } from 'redux'
import thunk from 'redux-thunk'
import reducer from '../reducers'
const helloWorldEnhancer = () => {
return nextCreateStore => (reducer, initialState) => {
const store = nextCreateStore(reducer, initialState)
const originalDispatch = store.dispatch
diff --git a/package.json b/package.json
index d66584f..8b008b6 100644
--- a/package.json
+++ b/package.json
@@ -69,6 +69,7 @@
"karma-sinon": "1.0.4",
"karma-spec-reporter": "0.0.23",
"karma-webpack": "1.7.0",
+ "lodash.pick": "4.0.0",
"mocha": "2.3.4",
diff --git a/package.json b/package.json
index d66584f..8b008b6 100644
--- a/package.json
+++ b/package.json
@@ -69,6 +69,7 @@
"karma-sinon": "1.0.4",
"karma-spec-reporter": "0.0.23",
"karma-webpack": "1.7.0",
+ "lodash.pick": "4.0.0",
"mocha": "2.3.4",
@possibilities
possibilities / scrollTo.js
Created April 28, 2017 21:04 — forked from james2doyle/scrollTo.js
a native scrollTo function in javascript that uses requestAnimationFrame and easing for animation
// easing functions http://goo.gl/5HLl8
Math.easeInOutQuad = function (t, b, c, d) {
t /= d/2;
if (t < 1) {
return c/2*t*t + b
}
t--;
return -c/2 * (t*(t-2) - 1) + b;
};