mod-build 4.0.30-beta.2 → 4.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/scripts/utils.js +0 -11
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/scripts/utils.js
CHANGED
|
@@ -144,17 +144,6 @@ export const handlebarsHelpers = [
|
|
|
144
144
|
return index;
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
|
-
// Adding helper to check if mobile (< 768px)
|
|
148
|
-
{
|
|
149
|
-
name: 'isMobile',
|
|
150
|
-
fn: function(expression, options) {
|
|
151
|
-
if (window.innerWidth < 768) {
|
|
152
|
-
return options.fn(expression);
|
|
153
|
-
} else {
|
|
154
|
-
return options.inverse(expression);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
147
|
// Loop to go through and add each attribute defined in the attributes: {} object
|
|
159
148
|
{
|
|
160
149
|
name: 'addAttributes',
|