Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

closes #2

  • Loading branch information...
commit 2a764d690e28fd64e0537e82068faa9ff2b7d416 1 parent d626dea
@masylum authored
Showing with 7 additions and 11 deletions.
  1. +6 −10 lib/asereje.js
  2. +1 −1  package.json
View
16 lib/asereje.js
@@ -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
2  package.json
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.