Skip to content

Commit

Permalink
cleaned up steal
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbmeyer committed Oct 13, 2011
1 parent 145d326 commit 73f86e9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 76 deletions.
48 changes: 0 additions & 48 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,51 +76,3 @@ js steal/clean path/to/page.html
@codestart text
js steal/htmljs http://localhost/cookbook.html#recipes
@codeend

## Getting Started with StealJS

The remainder of this page walks through using StealJS to create a
micro application. The application will use a basic tabs widget to
load content from the server and show it in a content area. We'll
use steal to generate a google crawlable version of the site.

We won't use jQuery to demonstrate that steal works with any library.

### Installing Steal

Download StealJS or JavaScriptMVC and unzip it in a public folder.

### Setting up your app.

JavaScriptMVC encourages you to have two root folders. One for reusable
widgets, plugins and other code that can be potentially used across multiple applications.

The other folder will be code specific to your application.




### Setting up your page

In a page, add the script tag

### Loading Scripts

Load other scripts

### Load other types (Less and Coffee)

### Installing Other Scripts

No

### Cleaning Scripts

Our scripts are ugly, we can clean them ... or JS lint them ...

### Make your site crawl-able

If you want Google to be able to find your site, you better make it crawlable.

Google does not know how to crawl ajax applications. However, Steal makes this possible.

4 changes: 3 additions & 1 deletion steal.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,9 @@
}
}
extend(File.prototype,
/* @prototype */
/**
* @prototype
*/
{
/**
* Removes hash and params
Expand Down
Loading

0 comments on commit 73f86e9

Please sign in to comment.