spa_lang

0.1.0 • Public • Published

spa_view

single page apllication MVC views

Getting Started

On the server

Install the module with: npm install spa_view

var spa_view = require('spa_view');
spa_view.awesome(); // "awesome"

In the browser

Download the production version or the development version.

In your web page:

<script src="dist/spa_view.min.js"></script>
<script>
awesome(); // "awesome"
</script>

In your code, you can attach spa_view's methods to any object.

<script>
var exports = Bocoup.utils;
</script>
<script src="dist/spa_view.min.js"></script>
<script>
Bocoup.utils.awesome(); // "awesome"
</script>

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!

Release History

(Nothing yet)

License

Copyright (c) 2014 huchengyi
Licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i spa_lang

Weekly Downloads

1

Version

0.1.0

License

none

Last publish

Collaborators

  • memory