2990738b5d
Lazy Home: Lazy load latest blog posts and assets and group by week and
...
project.
Javascript tutti.js and timeline.js is needed, and then the following to
init the timeline:
$('.timeline')
.timeline({
url: '/api/timeline'
});
# Javascript Notes:
## ES6 transpile:
* Files in src/scripts/js/es6/common will be transpiled from
modern es6 js to old es5 js, and then added to tutti.js
* Files in src/scripts/js/es6/individual will be transpiled from
modern es6 js to old es5 js to individual module files
## JS Testing
* Added the Jest test framework to write javascript tests.
* `npm test` will run all the javascript tests
Thanks to Sybren for reviewing
2018-11-12 12:57:25 +01:00
e2432f6e9f
NPM: Upgrade to Gulp 4
...
No functional changes. Besides slightly faster thanks to parallel tasks and future proof.
2018-11-10 01:08:30 +01:00
26aca917c8
Use correct permission format for gulp-chmod
2018-09-19 14:45:43 +02:00
749c3dbd58
Gulp: Add bootstrap's collapse and alert js to tutti
2018-09-18 15:25:20 +02:00
c1958d2da7
Gulp: task to move vendor scripts
...
Only videojs at the moment.
2018-09-14 01:57:55 +02:00
030c5494a8
Cleanup: jQuery and Bootstrap are now part of tutti
...
Also remove font loading from Google, we use system fonts now.
2018-09-14 00:52:58 +02:00
1a1f67cf00
Cleanup: Remove markdown js scripts
...
Pillar has its own way to convert markdown (commonmark via backend) so it
does not longer need these files.
2018-09-14 00:52:58 +02:00
811edc5a2a
Gulp: generate sourcemaps when not in production
2018-09-06 14:14:15 +02:00
ac3a599bb6
Gulp: build our own bootstrap js only using the needed modules.
...
At this point we only use tooltip and dropdown code, but we could use
tabs or carousels in the future. Just add them to the toUglify list.
2018-08-31 14:19:09 +02:00
814275fc95
Gulp: only chmod when running --production
2018-08-31 14:17:39 +02:00
46b0d6d663
Upgrade npm dependencies
...
Change gulp-uglify for gulp-uglify-es which has support for ES6.
New dependencies:
* boostrap
* jquery
* popper.js (required by bootstrap)
2018-08-29 16:30:17 +02:00
0612bd1a21
Gulp: run 'cleanup' task when running with --production.
2017-09-28 15:32:06 +02:00
a1fd48752e
Gulp: added 'cleanup' task that erases all gulp-generated files.
...
It uses Git to erase those files, so anything that's tracked in Git (such
as the JS/CSS vendor directories) are kept as-is.
2017-09-28 15:32:06 +02:00
0e48c18579
Gulp: sorted require statements
2017-09-28 15:09:11 +02:00
ad0253a461
Gulp: replaced hardcoded paths with variables.
2017-09-28 15:09:08 +02:00
c0b380f215
Gulp: Fix livereload
2017-08-30 15:05:38 +02:00
811236cff4
Migrate Jade to Pug template engine
...
Jade templates engine has been renamed to Pug.
We are using Pug already on the Blender Cloud repository, following is Flamenco and Attract
2017-08-30 14:04:15 +02:00
758df5bc26
Gulp: Fix crashing after error (Plumber not plumbing)
2017-07-11 18:44:30 +02:00
24468159e7
Gulp: Only cache templates/scripts if not gulping for production
2017-03-23 12:44:33 +01:00
2028891e7a
No need to cache Sass, it's so fast anyway
2016-10-07 14:51:46 +02:00
9514066893
Gulp: Don't livereload by default
...
When running gulp watch, we were livereloading by default, which meant we can't have multiple 'gulp watch'.
2016-09-22 18:07:05 +02:00
7598ad0b57
Gulp: Avoid re-building unchanged files by caching the results
2016-09-20 15:17:19 +02:00
2c5dc34ea2
Introducing Pillar Framework
...
Refactor of pillar-server and pillar-web into a single python package. This
simplifies the overall architecture of pillar applications.
Special thanks @sybren and @venomgfx
2016-08-19 09:19:06 +02:00