Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adaptivejs

Package Overview
Dependencies
Maintainers
5
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adaptivejs - npm Package Compare versions

Comparing version 1.5.3 to 1.6.0

2

bower.json
{
"name": "adaptivejs",
"version": "1.5.0",
"version": "1.6.0",
"dependencies": {

@@ -5,0 +5,0 @@ "requirejs-plugins": "1.0.2"

{
"name": "adaptivejs",
"version": "1.5.3",
"version": "1.6.0",
"description": "A framework for creating adaptive websites.",

@@ -5,0 +5,0 @@ "author": {

@@ -27,3 +27,5 @@ define([

config.ajs = function(context) {
return Utils.getAjs(config.projectName, context.templateName);
// Look for a template name override to send to A.js, since we'll be
// validating it with analytics-validator: https://github.com/mobify/analytics-validator
return Utils.getAjs(config.projectName, context.analyticsTemplateName || context.templateName, config.isDebug);
};

@@ -30,0 +32,0 @@

@@ -42,4 +42,4 @@ define([

*/
AdaptiveUtils.getAjs = function(name, template) {
var qs = template ? 'm=1&t=' + template : 't=miss';
AdaptiveUtils.getAjs = function(name, template, isDebug) {
var qs = template ? 'm=1&d=' + isDebug + '&t=' + template : 't=miss';

@@ -46,0 +46,0 @@ return '<script src="//a.mobify.com/' + name + '/a.js#' + qs + '" async></script>';

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc