Skip to content

Commit 91154cc

Browse files
committed
Strip tailing whitespace
1 parent 6ee6a45 commit 91154cc

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A Drupal project usually consists of the following:
1919
* Perhaps even some PHP libraries found on GitHub
2020
* Custom code written by you and your team mates
2121

22-
The most popular approach to assembling these parts is using [Drush Make](http://drush.ws/docs/make.txt).
22+
The most popular approach to assembling these parts is using [Drush Make](http://drush.ws/docs/make.txt).
2323

2424
Meanwhile the PHP Community has gathered around another dependency manager, [Composer](https://getcomposer.org/). It is even used for [managing dependencies for Drupal 8 Core](https://drupal.org/node/1764330).
2525

@@ -51,7 +51,7 @@ The core version of Drupal to be used with the project is specified using the [C
5151

5252
Adding the following package to the `repositories` and `requires` sections will download Drupal 7.28 to the root of the Composer project:
5353

54-
```json
54+
```json
5555
{
5656
"repositories": [
5757
{
@@ -101,7 +101,7 @@ All Drupal projects to be retrieved should be added as dependencies in the forma
101101
The following will download the [Chaos tool suite (ctools)](https://drupal.org/project/ctools) module version 1.4 for Drupal 7.
102102

103103

104-
```json
104+
```json
105105
{
106106
"require": {
107107
"drupal/ctools": "7.1.4"
@@ -139,11 +139,11 @@ You specify the version of each project using [Composer package version constrai
139139

140140
In this example the following releases of Drupal 7 modules will be downloaded:
141141

142-
* Latest stable minor release of Chaos tool suite 1.x
142+
* Latest stable minor release of Chaos tool suite 1.x
143143
* Latest stable release of Features
144144
* Latest development release of Views 3.x
145145

146-
```json
146+
```json
147147
{
148148
"require": {
149149
"drupal/ctools": "7.1.*",
@@ -275,23 +275,23 @@ Non-Drupal non-Composer libraries can be retrieved by specifying them as custom
275275
Example downloading jQuery UI 1.10.4:
276276

277277
```json
278-
{
278+
{
279279
"repositories": [
280280
{
281281
"type": "package",
282-
"package": {
282+
"package": {
283283
"name": "jquery/jqueryui",
284284
"version": "1.10.4",
285285
"type": "drupal-library",
286-
"dist": {
286+
"dist": {
287287
"url": "http://jqueryui.com/resources/download/jquery-ui-1.10.4.zip",
288288
"type": "zip"
289289
},
290-
"require": {
290+
"require": {
291291
"composer/installers": "~1.0"
292-
}
293-
}
294-
}
292+
}
293+
}
294+
}
295295
],
296296
"require": {
297297
"jquery/jquery.ui": "1.10.4"
@@ -369,4 +369,3 @@ Using Composer to manage a Drupal project would not be possible without the work
369369
* [Non-destructive archive installer](https://github.com/azt3k/non-destructive-archive-installer) used to install Drupal Core.
370370
* [Composer installers](https://github.com/composer/installers) used to specify custom location of packages.
371371
* [Netresearch patches plugin](https://github.com/netresearch/composer-patches-plugin) for applying patches to Composer projects.
372-

0 commit comments

Comments
 (0)