New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

thunder

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thunder - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

History.md
# History
## 0.1.1 / 2012-07-09
- [bug fix] Use `process.cwd()` instead of `__dirname` for current dir
## 0.1.0 / 2012-07-08

@@ -4,0 +10,0 @@

4

lib/cli.js

@@ -20,6 +20,6 @@ /*!

var commands = [
[ '-v', '--version', 'Display coke version' ],
[ '-v', '--version', 'Display thunder version' ],
[ 'h', 'help', 'Display usage information' ],
[ 'b', 'build [args]', 'Precompile templates' ],
[ 'w', 'watch [args]', 'Run coke server' ]
[ 'w', 'watch [args]', 'Watch for changes' ]
];

@@ -26,0 +26,0 @@

@@ -143,3 +143,3 @@ /*!

layout : function ( use_requirejs ){
return use_requirejs == 'false' ? '\
return use_requirejs == 'false' ? '\
;( function (){\n\

@@ -146,0 +146,0 @@ var __tpl_name__ = "__content__";\n\

{
"name" : "thunder",
"version" : "0.1.0",
"version" : "0.1.1",
"description": "One of the fastest JavaScript template engine for Node.js and browsers.",

@@ -5,0 +5,0 @@ "bin" : {

@@ -56,3 +56,3 @@ # thunder

### In the browser
### On browsers

@@ -69,6 +69,6 @@ > Install `thunder` in global to use the command line tools. You will need them to compile the HTML templates to JavaScript strings. By default `thunder` looks for all the `.html` files in the dir `templates` in the same dir where the command is called, compile them to JavaScript strings and save them to `views` dir. You can specify the `input` and `output` dir to wherever you want by passing the `-i` and `-o` arguments. Also the default compiled strings are `requirejs` modules. By passing `-r=false` it will use the file name as the template name and attach it to `window` object.

Commands:
-v, --version Display coke version
-v, --version Display thunder version
h, help Display usage information
b, build [args] Precompile templates
w, watch [args] Run coke server
w, watch [args] Watch for changes

@@ -128,3 +128,3 @@ Arguments for `build` & `watch commands`

### In the browser
### On browsers

@@ -163,3 +163,3 @@ - Normal useage

var thunder = require( 'thunder' );
var input = require( 'views/index' ),
var input = require( 'views/index' );
var locals = { name : 'Bibi' };

@@ -166,0 +166,0 @@ var options = { cached : true };

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc