adaptivejs
Advanced tools
Comparing version 0.2.1 to 0.3.0
{ | ||
"name": "adaptivejs", | ||
"version": "0.0.1", | ||
"dependencies": { | ||
"requirejs-plugins": "1.0.2" | ||
}, | ||
"devDependencies": { | ||
"dustjs-linkedin": "2.3.3", | ||
"jquery": "2.1.0", | ||
"text": "~2.0.10", | ||
"zeptojs": "1.1.2" | ||
} | ||
} |
{ | ||
"name": "adaptivejs", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "A framework for creating adaptive websites.", | ||
@@ -5,0 +5,0 @@ "author": { |
define([ | ||
'adaptivejs/utils', | ||
'text!package' | ||
'json!package' | ||
], function(Utils, package) { | ||
var projectName; | ||
try { | ||
var packageInfo = JSON.parse(package); | ||
projectName = packageInfo.name; | ||
projectName = package.name; | ||
} catch (e) { | ||
@@ -12,0 +10,0 @@ console.error('Couldn\'t determine the project name. Be sure that is in defined in the package.json file.'); |
define([ | ||
'adaptivejs/selectorEngine', | ||
'mobifyjs/utils', | ||
'buildConfig' | ||
'buildConfig', | ||
], function($, Utils, buildConfig) { | ||
@@ -6,0 +6,0 @@ |
@@ -14,2 +14,11 @@ | ||
out: './build/adaptive.js', | ||
paths: { | ||
'text': '../node_modules/adaptivejs/bower_components/requirejs-plugins/lib/text', | ||
'json': '../node_modules/adaptivejs/bower_components/requirejs-plugins/src/json', | ||
'mobifyjs': '../node_modules/adaptivejs/node_modules/mobifyjs/src', | ||
'mobifyjs/utils': '../node_modules/adaptivejs/node_modules/mobifyjs-utils/utils', | ||
'devSettings': 'devSettings', | ||
'settings': '../node_modules/adaptivejs/lib/settings' | ||
}, | ||
stubModules: ['text', 'json'] | ||
}; | ||
@@ -52,3 +61,9 @@ | ||
optimize: 'uglify2', | ||
out: './build/adaptive.min.js' | ||
out: './build/adaptive.min.js', | ||
paths: grunt.util._.extend( | ||
grunt.util._.clone(adaptationOptions.paths), | ||
{ | ||
'settings': '../node_modules/adaptivejs/lib/stubSettings' | ||
} | ||
) | ||
} | ||
@@ -55,0 +70,0 @@ ) |
@@ -15,3 +15,4 @@ module.exports = function(grunt) { | ||
'adaptation/templates/**/*', | ||
'assets/js/ui/**/*.js' | ||
'assets/js/ui/**/*.js', | ||
'devSettings.js' | ||
], | ||
@@ -18,0 +19,0 @@ tasks: ['concurrent:buildFiles'] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
640301
73
7386
2
9
2