Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed reversed globals

  • Loading branch information...
commit d831d5355306da87d16a8e6b15180e3943c2d3f2 1 parent 2a764d6
Pau Ramon Revilla authored

Showing 2 changed files with 3 additions and 9 deletions. Show diff stats Hide diff stats

  1. +2 8 lib/asereje.js
  2. +1 1  package.json
10 lib/asereje.js
@@ -103,10 +103,7 @@ ASEREJE.css = function (files) {
103 103 if (_settings.active) {
104 104 return _get('css', _settings.css_globals, files);
105 105 } else {
106   - _settings.css_globals.forEach(function (el) {
107   - files.unshift(el);
108   - });
109   - return files;
  106 + return _settings.css_globals.concat(files);
110 107 }
111 108 };
112 109
@@ -127,10 +124,7 @@ ASEREJE.js = function (files) {
127 124 if (_settings.active) {
128 125 return _get('js', _settings.js_globals, files);
129 126 } else {
130   - _settings.js_globals.forEach(function (el) {
131   - files.unshift(el);
132   - });
133   - return files;
  127 + return _settings.js_globals.concat(files);
134 128 }
135 129 };
136 130
2  package.json
... ... @@ -1,7 +1,7 @@
1 1 {
2 2 "name": "asereje",
3 3 "description": "Asereje is a library that builds your assets on demand",
4   - "version": "0.0.8",
  4 + "version": "0.0.9",
5 5 "author": "Pau Ramon <masylum@gmail.com>",
6 6 "keywords": ["build", "assets", "css", "javascript"],
7 7 "main": "./index",

0 comments on commit d831d53

Please sign in to comment.
Something went wrong with that request. Please try again.