build/define.tasks.js
Function exports
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
'use strict';
var requirejs = require('./r'),
pkg = grunt.file.readJSON('package.json'),
Function compileAll
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function compileAll(name, path, contents) {
var amdName;
// Detect variable modules
if (/.\/var\//.test(path)) {
contents = ' ' + contents