If you have to extend an existing object with additional property, always prefer Vue.set() over Object.assign() (or spread operator).
Example below explains implications for different implementations.
| const Encore = require('@symfony/webpack-encore'); | |
| const tailwindcss = require('tailwindcss'); | |
| const autoprefixer = require('autoprefixer'); | |
| const purgecss = require('@fullhuman/postcss-purgecss')({ | |
| content: [ | |
| './templates/**/*.twig', | |
| './assets/js/**/*.vue', | |
| './assets/js/**/*.js', |
autocomplete="off" onto <form> element;<input> with autocomplete="false" as a first children element of the form.<form autocomplete="off" method="post" action="">
<input autocomplete="false" name="hidden" type="text" style="display:none;">
...| <?php | |
| /** | |
| * StatusCodes provides named constants for | |
| * HTTP protocol status codes. Written for the | |
| * Recess Framework (http://www.recessframework.com/) | |
| * | |
| * @author Kris Jordan | |
| * @license MIT | |
| * @package recess.http | |
| * |
| var gulp = require('gulp'); | |
| var source = require('vinyl-source-stream'); | |
| var request = require('request'); | |
| var merge = require('merge2'); | |
| var concat = require('gulp-concat'); | |
| var buffer = require('gulp-buffer'); | |
| /** | |
| * 1. We request the latest jQuery version from the jQuery CDN. The | |
| * request package allows for streaming. What we get in return |
| //enter with m<nn/2 and n<nn/2 | |
| function hyp(x, n, m, nn) { | |
| var nz, mz; | |
| // best to have n<m | |
| if (m < n) { | |
| nz = m; | |
| mz = n | |
| } else { | |
| nz = n; |