This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,089 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
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.10.0 |
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 @@ | ||
.node-version |
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 @@ | ||
language: node_js |
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,12 @@ | ||
<p align="center"> | ||
<a href="https://hacss.io" target="_blank"><img width="256" src="https://raw.githubusercontent.com/hacss/assets/master/logos/hacss-black.svg"></a><br> | ||
Compose Plugins | ||
</p> | ||
|
||
<p align="center"> | ||
<a href="https://travis-ci.org/hacss/hacss"><img src="https://img.shields.io/travis/hacss/compose-plugins/master.svg" alt="Build Status"></a> | ||
<a href="https://github.com/hacss/hacss/releases"><img src="https://img.shields.io/npm/v/@hacss/compose-plugins.svg" alt="Latest Release"></a> | ||
<a href="https://github.com/hacss/hacss/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/@hacss/compose-plugins.svg" alt="License"></a> | ||
</p> | ||
|
||
This can be used to create a plugin on the basis of other plugins. |
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,10 @@ | ||
var compose = require("@hacss/compose-plugins"); | ||
var copy = require("@hacss/plugin-copy"); | ||
var del = require("@hacss/plugin-delete"); | ||
|
||
module.exports = function(spec) { | ||
return compose( | ||
del(Object.keys(spec)), | ||
copy(spec), | ||
); | ||
}; |
Oops, something went wrong.