Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
## 0.15.0 (2015-03-25)


#### Bug Fixes

* **bower.json:** fixes naming ([210d4b8b](https://github.com/sofa/sofa-core/commit/210d4b8b207b104796aa65711942a506d2b93276))


### 0.14.2 (2015-02-23)


#### Bug Fixes

* **build:** fixed integration with new build process ([85435581](https://github.com/sofa/sofa-core/commit/854355818c93e683c97f89e124d9b245d506f7f8))


#### Features

* **configService:** add set method ([887641c0](https://github.com/sofa/sofa-core/commit/887641c0f1d5cb74b6c698f5e27dc6a56eb85617))
* **sofa.ConfigService:** adds Angular configService to build ([e677627c](https://github.com/sofa/sofa-core/commit/e677627c36a201018f1f96238b1feb32cff9eb0c))
* **sofa.core:** integrates new build task ([3860aef6](https://github.com/sofa/sofa-core/commit/3860aef6a26624922741cf12f06d920c7d906451))


#### Breaking Changes

* the new build task renames distribution files from dot-case to camel-case.

Before:

`dist/sofa.core.js`

After:

`dist/sofaCore.js`

([3860aef6](https://github.com/sofa/sofa-core/commit/3860aef6a26624922741cf12f06d920c7d906451))


### 0.13.2 (2015-02-04)


Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "sofa-core",
"version": "0.14.2",
"version": "0.15.1",
"homepage": "http://www.sofa.io",
"authors": [
"Pascal Precht <pascal@couchcommerce.com>"
],
"description": "Sofa Web SDK core components.",
"main": "dist/sofa.core.js",
"main": "dist/sofaCore.js",
"devDependencies": {
"sofa-testing": "0.1.x"
},
Expand Down
2 changes: 1 addition & 1 deletion dist/sofaCore.angular.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* sofa-core - v0.14.2 - Mon Feb 23 2015 11:58:34 GMT+0100 (CET)
* sofa-core - v0.15.0 - Wed Mar 25 2015 14:30:59 GMT+0100 (CET)
* http://www.sofa.io
*
* Copyright (c) 2014 CouchCommerce GmbH (http://www.couchcommerce.com / http://www.sofa.io) and other contributors
Expand Down
2 changes: 1 addition & 1 deletion dist/sofaCore.angular.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* sofa-core - v0.14.2 - Mon Feb 23 2015 11:58:34 GMT+0100 (CET)
* sofa-core - v0.15.0 - Wed Mar 25 2015 14:30:59 GMT+0100 (CET)
* http://www.sofa.io
*
* Copyright (c) 2014 CouchCommerce GmbH (http://www.couchcommerce.com / http://www.sofa.io) and other contributors
Expand Down
4 changes: 4 additions & 0 deletions dist/sofaCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ sofa.define('sofa.ConfigService', function () {
var self = {};

sofa.Config = sofa.Config || {};

if(document.location.host.indexOf('localhost') >= 0 || document.location.host.indexOf('testcenter') >= 0) {
sofa.Config = sofa.ConfigDev;
}

/**
* @sofadoc method
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": "sofa-core",
"version": "0.14.2",
"version": "0.15.1",
"description": "Sofa Web SDK core components.",
"main": "dist/sofa.core.js",
"homepage": "http://www.sofa.io",
Expand Down