Commit Graph

75 Commits

Author SHA1 Message Date
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
7190a7dccb Adding Babel transform for <= IE10 ES6 support 2016-07-14 14:41:30 -04:00
Antoine Boulanger
61a4d20f9b Delete htaccess 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
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
dominiclord
09016521ed Code style cleanup + Testing event dispatching between modules 2016-04-04 21:31:15 -04:00
Antoine Boulanger
061380abf9 Update normalize + jquery 2016-03-22 15:31:37 -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
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
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
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
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
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
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
027282655f Prefix and rem all the things 😲 2015-11-16 17:28:51 -05:00
Antoine Boulanger
061d343246 Add comment back 2015-10-01 09:49:08 -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
Antoine Boulanger
842efd2e00 Move grunt + other stuff to root + update all tasks paths, change autoprefixer-core for autoprefixer 2015-09-10 14:59:43 -04:00
Stephen Bégay
efd5f9b8b6 Merge pull request #34 from AntoineBoulanger/baker-js
[JS UPDATE PROPOSITION] More modular JavaScript system
2015-08-25 15:35:36 -04:00
Antoine Boulanger
6a73787d70 Remove button old resets 2015-08-19 15:23:50 -04:00
Antoine Boulanger
e0b05a9d92 More modular JavaScript system 2015-08-06 13:50:19 -04:00
Antoine Boulanger
2d48c28582 Add button resets styles for all tags: button, a, input... 2015-08-03 11:23:48 -04:00
Antoine Boulanger
cef2c79902 Update form: better & cleaner 2015-07-31 14:24:26 -04:00
stephenbe
61b57bdfcc Change urls default options 2015-07-31 11:37:29 -04:00
Stephen Bégay
51a8000607 Add default template controller in config.json file 2015-07-31 11:27:50 -04:00
Stephen Bégay
ed1aca351c Merge pull request #29 from stephenbe/grunt
Grunt : add JSHint
2015-07-20 14:14:55 -04:00
stephenbe
14fd6940cf Grunt : add JSHint 2015-07-20 14:13:32 -04:00
Antoine Boulanger
222557aa94 Update boilerplate.inc.footer.php
scripts
2015-07-15 18:15:41 -04:00
Antoine Boulanger
538da7bc35 Update and rename jquery-1.11.2.min.js to jquery-1.11.3.min.js 2015-07-07 17:10:39 -04:00
Antoine Boulanger
5182be6ffc jQuery https + update 2015-07-07 17:09:28 -04:00
stephenbe
7f3e009e10 Mixins : Vertical-center now a mixin 2015-07-02 16:52:49 -04:00
beneroch
b42664ad3f Set section from module init
No need to reload section from the module::init()
No more problem with empty section when on the home page ( / )
2015-06-08 10:35:21 -04:00
Antoine Boulanger
9a8e7479c2 Change comments syntax #25, Change imports syntax 2015-06-04 15:57:36 -04:00
Antoine Boulanger
1fab32203f Change grunt-autoprefixer for grunt-postcss 2015-06-04 15:40:23 -04:00