Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Here's what you should do. #16

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 2 additions & 21 deletions LICENSE
@@ -1,22 +1,3 @@
The MIT License (MIT)

Copyright (c) 2015 Randy Hunt

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The "Don't be a Dick" Public License

http://www.dbad-license.org/
97 changes: 4 additions & 93 deletions README.md
Expand Up @@ -3,97 +3,8 @@
# DICSS
Directly injected CSS

Forget SASS. Forget LESS. What you want is DICSS. Once you've had DICSS, you won't settle for LESS.
This project is a bad idea as technology and offensive to people who
take software seriously. As such, it's been removed.

Tired of separate build processes for your CSS and JS files? Fret no more. DICSS is Javascript. That means you can code your styles and your scripts in _one language_, and compile and minify everything to a single file. Once you try it, we're sure you'll love DICSS.

## Is it safe?
Don't worry. DICSS uses a wrapper.

## How do you use DICSS?
Just grab DICSS and stick it wherever you like. DICSS works equally well in your `<head>` or in your `<body>`.

```
<head>
<script src="dicss.js"></script>
</head>
```

Then, go ahead and start putting DICSS in! Put 'em everywhere you like. Nobody will judge you for what you do with your DICSS.

```
DICSS.putIn('body', 'margin: 0');
DICSS.putIn('p', {
"height": "100%",
"width": "100%",
"&.protection": {
"border": "solid 1px transparent"
},
"a": {
"color": "#fff"
}
});
```

And when you're done with a style, you can easily remove it:

```
DICSS.pullOut('a', 'color');
```

## The possibilities are endless
Since DICSS accepts JSON objects as styles, you can keep your CSS organized very methodically:

```
var widgetDICSS = {
'div.widget': {
'a': {
font: '1em Verdana,Arial,sans-serif',
margin: '.5em'
}
//... etc
}
};
```

In fact, there's no reason you couldn't put your DICSS in the back-end, and then deliver them to the client, as needed, via REST service.

## Why no min version?
It's not the size of DICSS that matters, it's what you can do with it.

## Can DICSS be extended?
Yes! You can add whatever you want to DICSS. Just pass an object of methods into `DICSS.extend()`.

DICSS keeps on growing! Some popular DICSS add-ons include

* *COCSS* (cross-origin DICSS),
* *SECSS* (security enhanced DICSS)
* *DICSS-Pics (DICSS plugin for working with images)
* *Circum-Sizer* (calculate the circumference of a rounded element in CSS)

Okay, so we admit, those add-ons don't actually exist yet. But there's nothing stopping you from making them!

Got something you want to add to DICSS? Let us know! Help us make DICSS bigger and better than ever!


## Is DICSS compatible with other frameworks?
Yes! There are projects currently underway to integrate DICSS with Knockout (KOCSS), Backbone (BoneDICSS), and Angular (Angular-DICSS).

## Does DICSS work with LaTeX?
Yes, but it takes longer.

## It's not working. Help!
Is it in yet? Go to your developer tools console and type `DICSS`. If it's `undefined`, that means you haven't put DICSS in yet.

## It's still not working!
Don't overthink it. DICSS is only as hard as you make it.

## I don't like DICSS.
That's okay. While we believe most people are fond of DICSS, we realize that DICSS isn't for everyone. There are plenty of alternatives. Feel free to use them instead. And please, never force someone to use DICSS if they're not willing.

## THIS IS NUTS!
No, this is DICSS. NUTS is something else.


[travis-image]: https://img.shields.io/travis/letsgetrandy/DICSS/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/letsgetrandy/DICSS
Deepest apologies for creating a project that furthered the sexism
prevalent in our industry.
91 changes: 0 additions & 91 deletions dicss.js

This file was deleted.

32 changes: 0 additions & 32 deletions package.json

This file was deleted.

47 changes: 0 additions & 47 deletions tests/dicss.spec.js

This file was deleted.

24 changes: 0 additions & 24 deletions tests/index.html

This file was deleted.