Commit Graph

215 Commits

Author SHA1 Message Date
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
beneroch
f118cda66e Antoine était pressé 2016-03-09 13:22:19 -05:00
Antoine Boulanger
a5a400cb84 Merge pull request #42 from AntoineBoulanger/master
Separate app in functions, init after var, modules extends module, add default destroy function
2016-03-04 10:20:33 -05:00
Antoine Boulanger
fa5d7e2754 Seperate app in functions, init after var, modules extends module, add default destroy function 2016-02-29 11:31:31 -05:00
Antoine Boulanger
c2c01aa14d Merge pull request #41 from AntoineBoulanger/master
Remove templates js, remove modules prefix, add globals module, rename svg sprite, update jquery, add svg4everybody, fix grunt tasks
2016-02-19 15:17:01 -05:00
Antoine Boulanger
8ce1de6d0a Remove templates js, remove modules prefix, add globals module, rename svg sprite, update jquery, add svg4everybody, fix grunt tasks 2016-02-16 14:34:11 -05:00
Antoine Boulanger
240db72b06 Merge pull request #40 from locomotivemtl/es5-to-es6
ES6 merge with master (without charcoal)
2016-02-04 14:33:08 -05:00
dominiclord
3506a95ee9 Reworked modules a bit:
- Element containing the module becomes a default parameter
- Different modules can share the same containing element ()
2016-01-28 14:42:59 -05:00
Quentin Hocdé
041157db10 Merge branch 'master' of https://github.com/locomotivemtl/locomotive-boilerplate into es5-to-es6
# Conflicts:
#	Gruntfile.js
#	grunt_tasks/browserSync.js
#	grunt_tasks/jshint.js
#	grunt_tasks/phplint.js
#	grunt_tasks/postcss.js
#	grunt_tasks/svgstore.js
#	grunt_tasks/watch.js
#	www/assets/scripts/dist/app.js
#	www/assets/scripts/src/app.js
#	www/assets/scripts/src/app/globals.js
#	www/assets/scripts/src/templates/Generic.js
#	www/assets/scripts/src/templates/generic.js
#	www/assets/scripts/src/widgets/generic.js
#	www/modules/boilerplate/assets/scripts/src/templates/generic.js
2016-01-26 14:35:00 -05:00
Quentin Hocdé
e5d1f0791b ES6 without charcoal BIG UPDATE 2016-01-26 13:36:46 -05:00
Antoine Boulanger
442d74b453 Merge pull request #39 from locomotivemtl/removing-charcoal
Charcoal Boilerplate → Locomotive front-end boilerplate
2016-01-05 14:05:13 -05:00
dominiclord
fccb2cc3de Proper type checking of template ident 2015-12-08 16:46:33 -05:00
dominiclord
4c75102da5 Consolidation of widgets and modules into modules + cleaning up module classes 2015-12-08 13:24:02 -05:00
dominiclord
39d10692b3 Proceeding with ES6 modules (with the help of Browserify)
- Added necessary grunt tasks and npm packages
- Concept of Global functions to be revised
2015-12-08 12:35:32 -05:00
dominiclord
581da4d658 Testing ES6 2015-12-07 16:50:04 -05:00
dominiclord
675f421fd8 Removing tag, as it pertains to Charcoal 2015-12-07 11:18:58 -05:00
dominiclord
984832c4e9 Mixup between SCSS mixin and CSS class 2015-12-07 11:18:36 -05:00
dominiclord
b012a7a991 Charcoal Boilerplate -> Locomotive front-end boilerplate
- Removing Charcoal files and configuration to be backend agnostic (therefore moving the assets)
- Using HTML5 Boilerplate .htaccess to which framework specific rules can be added later on
- Updating README with more information and documentation on the boilerplate
2015-12-07 10:35:27 -05:00
Antoine Boulanger
822dd4c8b6 Merge pull request #38 from AntoineBoulanger/baker-prefix
Prefix and rem all the things 😲 
2015-11-20 13:30:01 -05:00
Antoine Boulanger
027282655f Prefix and rem all the things 😲 2015-11-16 17:28:51 -05:00
Antoine Boulanger
aee3230fc6 Merge pull request #36 from AntoineBoulanger/baker-update
Simpler grid, better headings, some tools, clean stuff
2015-10-01 09:50:12 -04:00
Antoine Boulanger
061d343246 Add comment back 2015-10-01 09:49:08 -04:00
Antoine Boulanger
6c94f0b786 Remove contributors 2015-09-30 14:46:53 -04:00
Antoine Boulanger
0f7a40b936 Simpler grid, better headings, some tools, clean stuff 2015-09-30 14:39:40 -04:00
Antoine Boulanger
d3ab026728 Tweak screen widths 2015-09-29 09:46:56 -04:00