rekishi
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "rekishi", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Rekishi helps you respond to your browser's history", | ||
"main": "dist/rekishi.js", | ||
"module": "src/rekishi.js", | ||
"icon": "icon.png", | ||
"scripts": { | ||
@@ -8,0 +9,0 @@ "build": "node rollup.js", |
@@ -7,2 +7,4 @@ # Rekishi | ||
<img src="./rekishi.png" alt="Rekishi" width="110" height="120" /> | ||
## What is Rekishi? | ||
@@ -187,2 +189,3 @@ | ||
hash: String, | ||
params: Object, | ||
data: Object | ||
@@ -193,2 +196,3 @@ }, | ||
hash: String, | ||
params: Object, | ||
data: Object | ||
@@ -219,3 +223,3 @@ }, | ||
if (incoming.type == 'modal' && outgoing.type == 'page') { | ||
if (incoming.data.type == 'modal' && outgoing.data.type == 'page') { | ||
// AJAX the content from incoming.path | ||
@@ -225,3 +229,3 @@ // set up your modal and inject AJAX content | ||
if (incoming.type == 'page' && outgoing.type == 'modal') { | ||
if (incoming.data.type == 'page' && outgoing.data.type == 'modal') { | ||
//close your modal and remove the content | ||
@@ -228,0 +232,0 @@ } |
107062
11
306