Permalink
Browse files

delinted

  • Loading branch information...
1 parent cbc32d3 commit 8e77442186d8f046056f4f1b40428d8808b5266c @drewfish committed Oct 3, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/app/addons/rs/yui.server.js
View
5 lib/app/addons/rs/yui.server.js
@@ -177,7 +177,8 @@ YUI.add('addon-rs-yui', function(Y, NAME) {
parseResourceVersion: function(source, type, subtype, mojitType) {
var fs = source.fs,
baseParts,
- res;
+ res,
+ parts;
if ('yui-lang' === type) {
res = {
@@ -201,7 +202,7 @@ YUI.add('addon-rs-yui', function(Y, NAME) {
// really supported, since it's tricky to determine the
// language name from the filename. The hack below is a
// quick but restrictive way to do that.
- var parts = fs.basename.split('_');
+ parts = fs.basename.split('_');
res.yui.lang = '';
res.yui.langFor = fs.basename;
if (parts.length > 1) {

0 comments on commit 8e77442

Please sign in to comment.