Skip to content

Commit

Permalink
Updated to v2.0.1 with new namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeeghan committed Apr 25, 2020
1 parent 246aa2d commit fa1129e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The SCSS/Less and JS also allow for the ability to create static (non-responsive
To install via [npm](https://www.npmjs.com/), enter the following at the command line:

```bash
npm install ddbreakpoints
npm install --save @deloitte-digital-au/ddbreakpoints
```

### Migrating from SCSS v1.x to v2.x
Expand Down Expand Up @@ -599,7 +599,7 @@ The JS library is wrapped in a [UMD](https://github.com/umdjs/umd) module, so it

```js
// Browserify example
var bp = require('ddbreakpoints');
var bp = require('@deloitte-digital-au/ddbreakpoints');
```

Otherwise, ```DD.bp``` is used as a namespace on the window object.
Expand Down Expand Up @@ -682,6 +682,10 @@ Make sure to ensure that the values used here match the values used in the SCSS.

## Change log

`2.0.1` - April 2020

- Updated namespace to `@deloitte-digital-au/ddbreakpoints` and updated documentation to match.

`2.0.0` - April 2020

- **Major release**: Contains breaking changes and not backwards compatible due to the addition of support for [SASS Modules](https://sass-lang.com/blog/the-module-system-is-launched).
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DDBreakpoints",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "https://github.com/DeloitteDigitalAPAC/DDBreakpoints",
"authors": [ "Deloitte Digital Australia" ],
"description": "Breakpoints SCSS Mixin and JavaScript tool, used to accelerate the development process of responsive pages.",
Expand Down
2 changes: 1 addition & 1 deletion lib/dd.breakpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* @namespace bp
* @memberof DD
* @version 2.0.0
* @version 2.0.1
* @copyright 2012-2020 Deloitte Digital Australia - http://www.deloittedigital.com/au
* @author Deloitte Digital Australia [email protected]
* @license BSD 3-Clause (http://opensource.org/licenses/BSD-3-Clause)
Expand Down
2 changes: 1 addition & 1 deletion lib/dd.breakpoints.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Breakpoints for Less. Works with the Deloitte Digital DD.bp JavaScript
*
* @version 2.0.0
* @version 2.0.1
* @copyright 2012-2020 Deloitte Digital Australia - http://www.deloittedigital.com/au
* @author Deloitte Digital Australia [email protected]
* @license BSD 3-Clause (http://opensource.org/licenses/BSD-3-Clause)
Expand Down
2 changes: 1 addition & 1 deletion lib/dd.breakpoints.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Breakpoints for SCSS. Works with the Deloitte Digital DD.bp JavaScript
*
* @version 2.0.0
* @version 2.0.1
* @copyright 2012-2020 Deloitte Digital Australia - http://www.deloittedigital.com/au
* @author Deloitte Digital Australia [email protected]
* @license BSD 3-Clause (http://opensource.org/licenses/BSD-3-Clause)
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": "@deloitte-digital-au/ddbreakpoints",
"version": "2.0.0",
"version": "2.0.1",
"description": "Breakpoints SCSS Mixin and JavaScript tool, used to accelerate the development process of responsive pages.",
"main": "lib/dd.breakpoints.js",
"dependencies": {},
Expand Down

0 comments on commit fa1129e

Please sign in to comment.