-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #366 from SC5/dev
Changes for 0.2.16 into master
- Loading branch information
Showing
28 changed files
with
886 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
## 0.2.15 (2014-12-17) | ||
## 0.2.16 (2014-12-22) | ||
|
||
### Critical and major changes | ||
* Find variable declarations from every file. Use styleVariables to filter selected files (#[344](https://github.com/SC5/sc5-styleguide/pull/344)) | ||
* Feature: Custom KSS parameter for wrapper markup (#[338](https://github.com/SC5/sc5-styleguide/pull/338)) | ||
**The syntax for declaring a component wrapper has been changed. It is not compartible anymore. When updating change | ||
you wrapper components according to [documentation](https://github.com/SC5/sc5-styleguide#wrapper-markup).** | ||
### New features | ||
* Declare Angular directives in KSS comments (#[364](https://github.com/SC5/sc5-styleguide/pull/364)) | ||
|
||
### Bug fixes | ||
* Allow empty single-line comments (#[345](https://github.com/SC5/sc5-styleguide/pull/345)) | ||
* Fixes failed styleguide generation when section modifier has no markup (#[343](https://github.com/SC5/sc5-styleguide/pull/343)) | ||
* Fix: Do not detect @imports as variables (#[342](https://github.com/SC5/sc5-styleguide/pull/342)) | ||
### Improvements | ||
* Show variable source file name(s) (#[360](https://github.com/SC5/sc5-styleguide/pull/360)) | ||
* Nice looking designer tool for mobile devices (#[359](https://github.com/SC5/sc5-styleguide/pull/359)) | ||
* Hide absolute paths on client (#[358](https://github.com/SC5/sc5-styleguide/pull/358)) | ||
* Save only changed variables (#[355](https://github.com/SC5/sc5-styleguide/pull/355)) | ||
|
||
### Internal changes | ||
* Instruction how to deal with branches (#[346](https://github.com/SC5/sc5-styleguide/pull/346)) | ||
* Add Dockerfile to run demo in docker container (#[357](https://github.com/SC5/sc5-styleguide/pull/357)) | ||
* Minor fixes to releasing instruction (#[349](https://github.com/SC5/sc5-styleguide/pull/349)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM sc5io/ubuntu:latest | ||
ENV BINDHOST 0.0.0.0 | ||
ENV PORT 3000 | ||
ENV NODE_ENV production | ||
ADD . /app | ||
RUN cd /app && rm -rf node_modules && npm install | ||
WORKDIR /app | ||
CMD npm run demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,12 @@ | ||
{ | ||
"title": "SC5 Styleguide", | ||
"overviewPath": "../../README.md", | ||
"styleVariables": "sass/_styleguide_variables.scss", | ||
"styleVariables": "sass/*.scss", | ||
"sass": { | ||
"src": "lib/app/sass/app.scss", | ||
"includePaths": [ | ||
"node_modules/node-bourbon/assets/stylesheets", | ||
"node_modules/node-neat/assets/stylesheets" | ||
] | ||
}, | ||
"filesConfig": [ | ||
{ | ||
"name": "sgAppTest", | ||
"files": [ | ||
"demo/testDirective.js" | ||
], | ||
"template": "demo/testDirective.html" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
|
||
/* Puts angular directives declared in sections into config */ | ||
add: function(config, sections) { | ||
|
||
function add(content) { | ||
if (!config) { | ||
config = []; | ||
} | ||
config.push(content); | ||
} | ||
|
||
sections.forEach(function(section) { | ||
|
||
if (section['sg-angular-directive']) { | ||
|
||
section['sg-angular-directive'].files = section['sg-angular-directive'].file; | ||
if (!(section['sg-angular-directive'].files instanceof Array)) { | ||
section['sg-angular-directive'].files = [ | ||
section['sg-angular-directive'].files | ||
]; | ||
} | ||
|
||
add(section['sg-angular-directive']); | ||
} | ||
}); | ||
|
||
return config; | ||
|
||
} | ||
|
||
}; |
Oops, something went wrong.