Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene committed Dec 24, 2014
1 parent 370f99c commit 0894581
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ It is also very important to note, however, that the `sandbox` attribute takes a



## Usage
## Getting Started

### Install

Sandblaster is published to NPM for ease of installation:
Sandblaster.js is published to NPM for ease of installation:

```shell
npm install sandblaster
Expand All @@ -35,6 +35,18 @@ npm install sandblaster
Please keep in mind, however, that it _only_ works in browser contexts, not in Node.js.


### Load

Then, load up the "sandblaster.js" script on your HTML page:

```html
<script src="node_modules/sandblaster/dist/sandblaster.min.js"></script>
```



## Usage

### Analysis

Detect and analyze, as best as possible, the state of the current `window` as it relates to being within a frame, `sandbox`ed, and/or cross-origin:
Expand Down
2 changes: 1 addition & 1 deletion dist/sandblaster.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copyright (c) 2014 James M. Greene
* Licensed MIT
* http://jamesmgreene.github.io/sandblaster/
* v0.1.0
* v1.0.0
*/

(function(window, undefined) {
Expand Down
2 changes: 1 addition & 1 deletion dist/sandblaster.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sandblaster",
"version": "0.1.0",
"version": "1.0.0",
"description": "A client-side JavaScript library to detect if your code is running inside of a sandboxed iframe... and, if desired, might just be able to change that fact!",
"keywords": [
"iframe",
Expand Down

0 comments on commit 0894581

Please sign in to comment.