Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
'egjs' is a set of UI interactions, effects and utilities components library using jQuery, which brings easiest and fastest way to build web application in your way.
- Demo: http://codepen.io/egjs/
- Online API Documentation - Latest : https://egjs.github.io/latest/doc - For specific version :
https://egjs.github.io/[VERSION]/doc
For latest version, check out - https://github.com/egjs/egjs.github.io
https://egjs.github.io/[VERSION]/dist/eg.js
https://egjs.github.io/[VERSION]/dist/eg.min.js
# Intall bower if not (admin account required)
$ npm install bower -g
# then intall egjs using bower
$ bower install egjs
Internet Explorer | Chrome | FireFox | Safari | iOS | Android |
---|---|---|---|---|---|
7+ | Latest | Latest | Latest | 7+ | 2.3+ (except 3.x) |
egjs has following dependencies.
|jQuery|hammer.js|Outlayer| |---|---|---|---| |1.7.0+ |2.0.4+|1.4.1+|
jQuery
, others are not mandatory. Required dependencies may differ according components.Load dependency libraries(jquery.js, hammer.js, outlayer.js) first, then load eg.js(or eg.min.js).
<script src="bower_components/jquery/jquery.js"></script>
<script src="bower_components/hammer.js/hammer.js"></script>
<script src="bower_components/outlayer/outlayer.js"></script>
<script src="dist/eg.js"></script>
All done, ready to start using egjs!
egjs has eg
namespace and can be used as below example.
var Klass = eg.Class({
"construct" : function(){}
});
var Komponent = eg.Class.extend(eg.Component,{
"construct" : function(){}
});
For anyone interested to develop egjs, follow below instructions.
# Install grunt-cli and bower globally (admin account required)
$ npm install grunt-cli -g # grunt-cli
$ npm install bower -g # bower
# make directory and enter
$ mkdir egjs && cd egjs
# get the clone from the repo
$ git clone https://github.com/egjs/egjs.git
# install bower dependency modules
$ bower install
Run grunt build task to build.
$ grunt build
If the build successfully complete :
eg.js
and eg.min.js
are created in dist
folder.doc
folder, and can be accessed doc/index.html
.After development has been done from your branch, must run unit test
before push.
Running grunt test
task, jshint, qunit and istanbul coverage task will be run.
$ grunt test
./report/index.html
.If you find a bug, please report us via issues page.
egjs is released under the MIT license.
FAQs
egjs is Javascript components group that brings easiest and fastest way to build a web application in your way.
The npm package egjs receives a total of 7 weekly downloads. As such, egjs popularity was classified as not popular.
We found that egjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.