Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jansanchez/flux_snippets
Flux Snippets for sublime text
https://github.com/jansanchez/flux_snippets
Last synced: 26 days ago
JSON representation
Flux Snippets for sublime text
- Host: GitHub
- URL: https://github.com/jansanchez/flux_snippets
- Owner: jansanchez
- License: mit
- Created: 2015-01-30T05:56:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-25T15:30:13.000Z (about 9 years ago)
- Last Synced: 2023-03-31T16:16:00.711Z (over 1 year ago)
- Size: 172 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flux Snippets
> Snippets of Sublime Text for Flux
## Getting Started
#### **Jade:**
- View
>For example in a file called *new.jade*, we do write 'view' and then press the 'TAB' key.
```js
view
```And then we get something like this:
```js
extends ../../../layout/layout.jade
//- @view : new
//- @main : my_module/account
//- @author :block content
```Every time that we press the 'TAB' key, the cursor will displace of line on line.
#### **CoffeeScript:**
- Add
>For example in a file called *new.coffee* , we do write 'add' and then press the 'TAB' key.
```js
add
```And then we get something like this:
```js
###
Module description
@class new
@main my_module/account
@author
###yOSON.AppCore.addModule "new", (Sb) ->
```#### **Stylus:**
- Controller
>For example in a file called *new.styl* , we do write 'controller' and then press 'TAB' key.
```js
controller
```And then we get something like this:
```css
/*!!
*
* @controller : affiliation
* @module : my_module
* @author :
*
*/@require '../../_config/*'
@require '../../_mixins/*'
```- View
```js
view
```And then we get something like this:
```css
/*!!
*
* @view :
* @controller : affiliation
* @module : my_module
* @author :
*
*/
```