-
Notifications
You must be signed in to change notification settings - Fork 5
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
5 changed files
with
43 additions
and
40 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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
node_modules/ | ||
npm-debug.log | ||
.* | ||
!.git* | ||
!/.npmrc | ||
/node_modules | ||
/npm-debug.log |
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
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 |
---|---|---|
|
@@ -14,9 +14,8 @@ | |
"license": "MIT", | ||
"author": "Francesco Trotta <[email protected]> (https://github.com/fasttime)", | ||
"files": [ | ||
"jquery-*.screwed.js" | ||
], | ||
"main": "jquery-3.3.1.screwed", | ||
"main": "jquery-3.3.1.screwed.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/fasttime/jquery-screwed.git" | ||
|
@@ -26,10 +25,9 @@ | |
}, | ||
"devDependencies": { | ||
"del": "~3.0.0", | ||
"gulp": "~3.9.1", | ||
"gulp-fasttime-lint": "~0.3.0", | ||
"gulp": "~4.0.0", | ||
"gulp-fasttime-lint": "~0.6.0", | ||
"jquery": "3.3.1", | ||
"jscrewit": "~2.7.0", | ||
"run-sequence": "~2.2.1" | ||
"jscrewit": "~2.9.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 |
---|---|---|
@@ -1,10 +1,8 @@ | ||
jQuery *Screwed* | ||
================ | ||
# jQuery *Screwed* | ||
|
||
jQuery JavaScript library made using only six different characters: `!` `(` `)` `+` `[` `]` | ||
|
||
Usage | ||
----- | ||
## Usage | ||
|
||
You can use jQuery Screwed anywhere in your code like the regular jQuery. | ||
|
||
|
@@ -20,29 +18,43 @@ $(function(){ | |
</script> | ||
``` | ||
|
||
Creation | ||
-------- | ||
## Hosting Services | ||
|
||
The following is a list of URLs that can be used to serve jQuery Screwed with proper Content-Type | ||
header. | ||
|
||
### From NPM | ||
|
||
* https://cdn.jsdelivr.net/npm/[email protected] | ||
* https://unpkg.com/[email protected] | ||
|
||
### From GitHub | ||
|
||
* https://cdn.jsdelivr.net/gh/fasttime/[email protected]/jquery-3.3.1.screwed.js | ||
* https://cdn.staticaly.com/gh/fasttime/jquery-screwed/3.3.1-screwed.1/jquery-3.3.1.screwed.js | ||
* https://gitcdn.xyz/repo/fasttime/jquery-screwed/3.3.1-screwed.1/jquery-3.3.1.screwed.js | ||
* https://rawcdn.githack.com/fasttime/jquery-screwed/3.3.1-screwed.1/jquery-3.3.1.screwed.js | ||
|
||
## Creation | ||
|
||
jQuery Screwed was created with [JScrewIt](https://github.com/fasttime/JScrewIt). | ||
Below are the steps to recreate it manually. | ||
|
||
* Install [Node.js](https://nodejs.org) if you haven't done so yet. | ||
* Install JScrewIt: run in the command line<br> | ||
`$ npm install -g jscrewit` | ||
`npm install -g jscrewit` | ||
* Download jQuery—current stable version is 3.3.1: https://code.jquery.com/jquery-3.3.1.min.js | ||
* Replace path names as appropriate and run<br> | ||
`$ node jscrewit -ct -f BROWSER path/to/source/jquery-3.3.1.min.js | ||
`node jscrewit -ct -f BROWSER path/to/source/jquery-3.3.1.min.js | ||
path/to/dest/jquery-3.3.1.screwed.js` | ||
|
||
Browser Support | ||
--------------- | ||
## Browser Support | ||
|
||
jQuery Screwed supports all browsers also | ||
[supported by jQuery 3.x](https://jquery.com/browser-support/). | ||
Node.js is *not* supported. | ||
|
||
Credits | ||
------- | ||
## Credits | ||
|
||
jQuery Screwed is based on [jQuery](https://github.com/jquery/jquery). | ||
jQuery is Copyright JS Foundation and other contributors, and licensed under the MIT license. |
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