Permalink
Browse files

closes #2

  • Loading branch information...
1 parent d626dea commit 2a764d690e28fd64e0537e82068faa9ff2b7d416 @masylum committed Sep 23, 2011
Showing with 7 additions and 11 deletions.
  1. +6 −10 lib/asereje.js
  2. +1 −1 package.json
View
@@ -124,17 +124,13 @@ ASEREJE.js = function (files) {
files = files || [];
- if (files.length) {
- if (_settings.active) {
- return _get('js', _settings.js_globals, files);
- } else {
- _settings.js_globals.forEach(function (el) {
- files.unshift(el);
- });
- return files;
- }
+ if (_settings.active) {
+ return _get('js', _settings.js_globals, files);
} else {
- return [];
+ _settings.js_globals.forEach(function (el) {
+ files.unshift(el);
+ });
+ return files;
}
};
View
@@ -1,7 +1,7 @@
{
"name": "asereje",
"description": "Asereje is a library that builds your assets on demand",
- "version": "0.0.7",
+ "version": "0.0.8",
"author": "Pau Ramon <masylum@gmail.com>",
"keywords": ["build", "assets", "css", "javascript"],
"main": "./index",

0 comments on commit 2a764d6

Please sign in to comment.