1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

739 Commits

Author SHA1 Message Date
Dominic Lord
e22b938741 Adding scoped module creation 2017-03-02 09:22:46 -05:00
Dominic Lord
cc547e484b Cleanup example modules (todo: add in documentation) 2017-03-02 08:57:46 -05:00
Dominic Lord
c9cedfa727 Cleanup example modules (todo: add in documentation) 2017-03-02 08:53:44 -05:00
Dominic Lord
a1695c499f Split dependencies into different concerns + add barba 2017-03-02 08:52:19 -05:00
Antoine Boulanger
6464eefc8b Add version 0 to package.json for npm-check-updates 2017-02-08 13:39:15 -05:00
Antoine Boulanger
3528615a48 Add context to config, removed from core 2017-02-08 12:08:34 -05:00
Antoine Boulanger
55fe0f372a Consistency in comments, names and structure; simplify some stuff, remove and add things, tweak stuff for how we work with design
Still some work has to be done while testing like for layouts.
2017-02-08 11:43:28 -05:00
Dominic Lord
405034a3f2 Merge pull request #52 from locomotivemtl/mcaskill-es6
ES6 Revisions
2017-01-12 14:11:37 -05:00
Chauncey McAskill
2ac2d523cc Refactored Sass
Merged SCSS from various recent projects and implemented some of the latest features from InuitCSS.

When using the SCSS structure in your own project, modify the ‘settings/config*.scss’ files and leave ‘settings/core.scss’ intact.

Changes:
- Updated Normalize to 5.0.0;
- Migrated imports to ‘main.scss’;
- Split ‘settings.scss’ into smaller parts;
- Revised variable names for settings;
- Added spacing unit variables;
- Replaced ‘objects/grid.scss’ with ‘objects/layout.scss’ (from inuitcss);
- Added ‘objects/crop.scss’ and ‘objects/ratio.scss’ (from inuitcss);
- Added @font-face mixin/function from Bourbon;
- Added various new functions and mixins (widths, font-size, truncation,…);
- Renamed Trumps to Utilities;
- Added vatious new Utilities (print, states, spacing, widths);
- Reorganized Utilities into topics;
2016-12-19 13:43:35 -05:00
Julien Martins Da Costa
3c8ee03690 Merge pull request #54 from locomotivemtl/jdacosta-master
Add babel-plugin-transform-export-extensions package
2016-12-19 10:03:13 -05:00
Julien Martins Da Costa
8e886933ac Add babel-plugin-transform-export-extensions package 2016-12-19 09:58:05 -05:00
Chauncey McAskill
0facd79d7e Revised JS
Changes:
- Added constants for APP_NAME, DATA_API_KEY;
- Added constants for Event and Selector to the Button and Title modules;
- Cleaned up syntax for JS modules;
2016-12-18 15:45:52 -05:00
Chauncey McAskill
3c95ab0c46 Modified .gitignore
Changes:
- Removed OS-related rules (those should be globally ignored);
- Ignore Lockfiles;
2016-12-18 14:22:53 -05:00
Chauncey McAskill
57368f164a Modified NPM Manifest
Changes:
- Replace “0.0.0” with “” as per NPM documentation to (matches any version);
- Moved SVG4Everybody from “devDependencies” tp “dependencies”;
2016-12-18 14:16:17 -05:00
Chauncey McAskill
6f23c38765 Improved module ident split 2016-12-16 20:48:40 -05:00
Chauncey McAskill
553f76f2ca Cast node data to natural types 2016-12-16 16:12:06 -05:00
Julien Martins Da Costa
05386df953 Add babel-plugin-transform-export-extensions package 2016-11-22 14:51:33 -05:00
Antoine Boulanger
0c748984aa Same 2016-11-10 11:38:11 -05:00
Antoine Boulanger
1be5a4c99d Fix watch svg for sprite 2016-11-10 11:31:01 -05:00
Joel Alphonso
1dff1b9451 _ratio.scss tool added to restrain a container to an unitary or fractional proportion 2016-10-27 16:26:17 -04:00
Chauncey McAskill
b9ddc6ee25 Merge pull request #49 from locomotivemtl/mcaskill-editorconfig
Applied EditorConfig Recommendations
2016-09-07 18:31:05 -04:00
Chauncey McAskill
79219e0659 Updated EditorConfig Recommendations
Applied 4-spaces for everything as per: https://locomotivemtl.teamwork.com/tasks/7113032
2016-09-07 18:30:36 -04:00
Chauncey McAskill
3953fbca7b Merge pull request #46 from locomotivemtl/mcaskill-svg-sprite
Added 'grunt-svg-sprite' plugin
2016-09-07 18:24:06 -04:00
Chauncey McAskill
b7233b7ddb Really delete htaccess 2016-09-07 18:19:36 -04:00
Chauncey McAskill
a0f74506d2 Added 'grunt-svg-sprite' plugin
The plugin replaces 'svgmin' and 'svgstore' with an all-in-one and highly flexible solution for managing SVG assets.

Changes:
- Deleted 'assets/images/sprite/', SVG images can live anywhere within the source image directory;
- When compiled to 'www/assets/images/sprite.svg', the plugin generates an HTML file in 'assets/images/sprite.symbol.html' that serves as an index of the spritesheet's contents;
- A separator ("--") is used when traversing a directory structure for the symbol ID (e.g, 'sprite.svg#icons--social--twitter');
2016-08-22 09:33:07 -04:00
dominiclord
bf0c7e148c Adding commonly used scrollTo + cleaning up utils + cleaning up globals 2016-07-19 10:21:09 -04:00
dominiclord
64858642ef Doing some cleaning up 2016-07-19 10:19:52 -04:00
dominiclord
7190a7dccb Adding Babel transform for <= IE10 ES6 support 2016-07-14 14:41:30 -04:00
Antoine Boulanger
6878ba4f96 Fix IE JS bug if el attribute is null 2016-07-14 14:23:46 -04:00
Dominic
03eb81fa2a Merge pull request #48 from locomotivemtl/ant-npm
npm for vendor scripts + jQuery 3.0.0 + deleted .htaccess
2016-07-07 14:03:48 -04:00
Antoine Boulanger
61a4d20f9b Delete htaccess 2016-06-30 16:39:51 -04:00
Antoine Boulanger
00909c7a1f Remove package.json versions 2016-06-30 16:39:51 -04:00
Antoine Boulanger
b87637a5c6 Update jQuery to 3.0.0 2016-06-30 16:38:27 -04:00
Antoine Boulanger
9138e1ee52 Move svg4everybody to NPM 2016-06-30 16:38:27 -04:00
Chauncey McAskill
0c144b24f0 Updated NPM Manifest 2016-06-21 14:12:20 -04:00
Dominic
a64b6374e5 Merge pull request #47 from locomotivemtl/event-dispatch
Restructuring of scripts for better use of ES6 concepts
2016-05-30 10:42:07 -04:00
dominiclord
bb757a22f6 Reworking page visibility API + Adding more utils 2016-05-19 13:37:19 -04:00
dominiclord
b2abd51191 Testing addition of pseudo page visibility API 2016-05-18 23:58:08 -04:00
dominiclord
f07a6aba23 Restructuring of scripts for better use of ES6 concepts
- Optimized use of common properties (, , ...)
- Dispatching events in an attempt to de-globalize certain variables used in the past
- Attempt to organize files in a more logical manner
2016-05-18 23:12:36 -04:00
Antoine Boulanger
251a2c98af Merge pull request #45 from locomotivemtl/mcaskill-load-grunt-config
Added 'load-grunt-config' plugin
2016-04-26 09:53:56 -04:00
Chauncey McAskill
a4c1721e74 Added 'load-grunt-config' plugin
The plugin replaces the custom 'loadConfig()' function with a more robust and extensible solution.

It handles 'grunt.initConfig()' and 'load-grunt-tasks'.

Changes:
- Moved Grunt task configurations into a 'config/' sub-directory to allow room for custom plugins, modules, and tasks to be defined without being included by the config-loader;
- Updated '.eslintrc' to better lint module-based JS;
- Updated EditorConfig recommendations;
2016-04-11 16:08:58 -04:00
dominiclord
09016521ed Code style cleanup + Testing event dispatching between modules 2016-04-04 21:31:15 -04:00
dominiclord
6d3b8134f1 Improving Browserify speeds 2016-04-04 20:08:01 -04:00
Antoine Boulanger
061380abf9 Update normalize + jquery 2016-03-22 15:31:37 -04:00
Antoine Boulanger
7cbd524723 Merge pull request #44 from locomotivemtl/ant-move-dist
Move src assets files out of dist folder (charcoal new like), clean up grunt and related files, rename things, separate functions and mixins scss...
2016-03-22 15:25:54 -04:00
Antoine Boulanger
93c66c196d ; 2016-03-16 12:11:27 -04:00
dominiclord
5b700842af Updated jQuery CDN 2016-03-11 12:20:33 -05:00
Antoine Boulanger
9ccc53de8a Move src assets files out of dist folder, clean up grunt and related files, separate functions and mixins scss... 2016-03-11 11:02:59 -05:00
Antoine Boulanger
f9358916d5 Merge pull request #43 from locomotivemtl/bene-module-options
Data attributes as options for modules
2016-03-11 09:51:22 -05:00
beneroch
813ca8378e Moved curly braces 2016-03-11 09:47:43 -05:00