Skip to content

Commit

Permalink
chore(all): prepare release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Apr 5, 2017
1 parent 43d3196 commit e61f281
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-resources",
"version": "1.3.1",
"version": "1.4.0",
"description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.",
"keywords": [
"aurelia",
Expand Down
7 changes: 5 additions & 2 deletions dist/amd/aurelia-templating-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ define(['exports', 'aurelia-pal', './compose', './if', './with', './repeat', './
(0, _htmlResourcePlugin.configure)(config);

var viewEngine = config.container.get(_aureliaTemplating.ViewEngine);
viewEngine.addResourcePlugin('.css', {
'fetch': function fetch(address) {
var styleResourcePlugin = {
fetch: function fetch(address) {
var _ref;

return _ref = {}, _ref[address] = (0, _cssResource._createCSSResource)(address), _ref;
}
};
['.css', '.less', '.sass', '.scss', '.styl'].forEach(function (ext) {
return viewEngine.addResourcePlugin(ext, styleResourcePlugin);
});
}

Expand Down
7 changes: 5 additions & 2 deletions dist/commonjs/aurelia-templating-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,15 @@ function configure(config) {
(0, _htmlResourcePlugin.configure)(config);

var viewEngine = config.container.get(_aureliaTemplating.ViewEngine);
viewEngine.addResourcePlugin('.css', {
'fetch': function fetch(address) {
var styleResourcePlugin = {
fetch: function fetch(address) {
var _ref;

return _ref = {}, _ref[address] = (0, _cssResource._createCSSResource)(address), _ref;
}
};
['.css', '.less', '.sass', '.scss', '.styl'].forEach(function (ext) {
return viewEngine.addResourcePlugin(ext, styleResourcePlugin);
});
}

Expand Down
7 changes: 4 additions & 3 deletions dist/es2015/aurelia-templating-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ function configure(config) {
configureHtmlResourcePlugin(config);

let viewEngine = config.container.get(ViewEngine);
viewEngine.addResourcePlugin('.css', {
'fetch': function (address) {
let styleResourcePlugin = {
fetch(address) {
return { [address]: _createCSSResource(address) };
}
});
};
['.css', '.less', '.sass', '.scss', '.styl'].forEach(ext => viewEngine.addResourcePlugin(ext, styleResourcePlugin));
}

export { Compose, If, With, Repeat, Show, Hide, HTMLSanitizer, SanitizeHTMLValueConverter, Replaceable, Focus, configure, AttrBindingBehavior, OneTimeBindingBehavior, OneWayBindingBehavior, TwoWayBindingBehavior, ThrottleBindingBehavior, DebounceBindingBehavior, SelfBindingBehavior, SignalBindingBehavior, BindingSignaler, UpdateTriggerBindingBehavior, AbstractRepeater, RepeatStrategyLocator, NullRepeatStrategy, ArrayRepeatStrategy, MapRepeatStrategy, SetRepeatStrategy, NumberRepeatStrategy, createFullOverrideContext, updateOverrideContext, getItemsSourceExpression, isOneTime, updateOneTimeBinding, unwrapExpression, viewsRequireLifecycle };
7 changes: 5 additions & 2 deletions dist/native-modules/aurelia-templating-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,15 @@ function configure(config) {
configureHtmlResourcePlugin(config);

var viewEngine = config.container.get(ViewEngine);
viewEngine.addResourcePlugin('.css', {
'fetch': function fetch(address) {
var styleResourcePlugin = {
fetch: function fetch(address) {
var _ref;

return _ref = {}, _ref[address] = _createCSSResource(address), _ref;
}
};
['.css', '.less', '.sass', '.scss', '.styl'].forEach(function (ext) {
return viewEngine.addResourcePlugin(ext, styleResourcePlugin);
});
}

Expand Down
7 changes: 5 additions & 2 deletions dist/system/aurelia-templating-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ System.register(['aurelia-pal', './compose', './if', './with', './repeat', './sh
configureHtmlResourcePlugin(config);

var viewEngine = config.container.get(ViewEngine);
viewEngine.addResourcePlugin('.css', {
'fetch': function fetch(address) {
var styleResourcePlugin = {
fetch: function fetch(address) {
var _ref;

return _ref = {}, _ref[address] = _createCSSResource(address), _ref;
}
};
['.css', '.less', '.sass', '.scss', '.styl'].forEach(function (ext) {
return viewEngine.addResourcePlugin(ext, styleResourcePlugin);
});
}

Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.4.0"></a>
# [1.4.0](https://github.com/aurelia/templating-resources/compare/1.3.1...v1.4.0) (2017-04-05)


### Features

* **templating:** support popular CSS transpiler file extensions in the require element ([901cfd8](https://github.com/aurelia/templating-resources/commit/901cfd8))



<a name="1.3.0"></a>
# [1.3.0](https://github.com/aurelia/templating-resources/compare/1.2.0...v1.3.0) (2017-02-26)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-resources",
"version": "1.3.1",
"version": "1.4.0",
"description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit e61f281

Please sign in to comment.