Skip to content

Commit aac0f64

Browse files
authored
Merge pull request #4 from techlab/v3-beta
v3 Release
2 parents b338e7b + bc0f4e8 commit aac0f64

39 files changed

+2885
-1600
lines changed

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/mpp-sc.txt
2+
/bower_components
3+
/node_modules/
4+
/vendor/
5+
coverage
6+
.DS_Store
7+
8+
# IDE Files
9+
#-------------------------
10+
/nbproject/
11+
/nbproject/private/
12+
.idea/*
13+
.vscode/*
14+
.tmp
15+
## Sublime Text cache files
16+
*.tmlanguage.cache
17+
*.tmPreferences.cache
18+
*.stTheme.cache
19+
*.sublime-workspace
20+
*.sublime-project
21+
/examples/test-page.html

.npmignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Automatically ignored per:
2+
# https://www.npmjs.org/doc/developers.html#Keeping-files-out-of-your-package
3+
#
4+
# .*.swp
5+
# ._*
6+
# .DS_Store
7+
# .git
8+
# .hg
9+
# .lock-wscript
10+
# .svn
11+
# .wafpickle-*
12+
# CVS
13+
# npm-debug.log
14+
# node_modules
15+
16+
*.seed
17+
*.log
18+
*.csv
19+
*.dat
20+
*.out
21+
*.pid
22+
*.gz
23+
*.orig
24+
*.jql.js
25+
26+
work
27+
build
28+
src
29+
test
30+
spec
31+
pids
32+
logs
33+
results
34+
coverage
35+
lib-cov
36+
html-report
37+
xunit.xml
38+
39+
.project
40+
.idea
41+
.settings
42+
.iml
43+
*.sublime-workspace
44+
*.sublime-project
45+
46+
ehthumbs.db
47+
Icon?
48+
Thumbs.db
49+
.AppleDouble
50+
.LSOverride
51+
.Spotlight-V100
52+
.Trashes

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: node_js
2+
node_js:
3+
- "node"

CONTRIBUTING.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Contributing
2+
3+
## What can I contribute?
4+
- Fix a bug you found or already reported on the [GitHub Issues Tracker](https://github.com/techlab/SmartCart/issues/).
5+
- Add new features to the project.
6+
- Add new test cases.
7+
- Add documentation
8+
- Add a demo page
9+
- [Donate](https://www.paypal.me/dipuraj) money for the project on [Paypal](https://www.paypal.me/dipuraj)
10+
11+
## How to contribute code
12+
Here are the basic steps to get started contributing:
13+
14+
1. Fork the [repo](https://github.com/techlab/SmartCart/) and get development running on your computer.
15+
2. Replicate the issue you're trying to fix or spec out the feature you're trying to add.
16+
3. Change the code to fix the bug or add the feature. All changes should happen in the relevant `src/js/*.js` and `src/css/*.css` files.
17+
4. Build the code by running `npm run build` or `gulp build`
18+
5. Run the test cases by running `npm test` or `gulp test`, you can also add more test cases based on your new change.
19+
6. Verify that your fix or feature works.
20+
7. Commit your changes with an informative description
21+
8. Open a pull request to the [repo](https://github.com/techlab/SmartCart/) with your new commit and a descriptive message about what the PR does.
22+
23+
## Reporting bugs
24+
### Make sure it is a bug related to this project
25+
Before reporting the bug, please make sure that the bug is in the project and not from your own code or any other library used.
26+
27+
### Try the latest version
28+
Bugs in the older versions of the project may have already been fixed.
29+
In order to avoid reporting known issues, make sure you are always testing against the latest release.
30+
Also make sure the problem hasn't already been reported on the [GitHub Issues Tracker](https://github.com/techlab/SmartCart/issues/).
31+
If not, create a new issue there and include your test case.
32+
33+
### Notes for pull request
34+
- Follow the same code style as the library.
35+
- Run the test suites in the `test` directory first by running `npm test` or `gulp test`.
36+
- Don't modify any files in the `dist` directory.

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Dipu Raj
4+
http://www.techlaboratory.net
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

SmartCart2-Events.htm

Lines changed: 0 additions & 97 deletions
This file was deleted.

SmartCart2-MultipleCart.htm

Lines changed: 0 additions & 49 deletions
This file was deleted.

bower.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "jquery-smartcart",
3+
"version": "v3.0.1",
4+
"homepage": "http://techlaboratory.net/smartcart",
5+
"authors": [
6+
"Dipu Raj <hello@techlaboratory.net>"
7+
],
8+
"description": "The smart interactive jQuery Shopping Cart plugin with PayPal payment support",
9+
"main": [
10+
"./dist/css/smart_cart.css",
11+
"./dist/js/jquery.smartCart.js"
12+
],
13+
"keywords": [
14+
"jquery",
15+
"cart",
16+
"paypal",
17+
"shopping",
18+
"bootstrap",
19+
"ui",
20+
"jquery-plugin"
21+
],
22+
"dependencies": {
23+
"jquery": ">= 1.9.0",
24+
"bootstrap": ">= 3.0.0"
25+
},
26+
"license": "MIT",
27+
"ignore": [
28+
"**/.*",
29+
"node_modules",
30+
"composer.json",
31+
"examples",
32+
"bower_components",
33+
".git*",
34+
".travis*",
35+
"*bower.json",
36+
"*jquery.json",
37+
"test"
38+
]
39+
}

composer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "techlab/jquery-smartcart",
3+
"description": "The smart interactive jQuery Shopping Cart plugin with PayPal payment support",
4+
"homepage": "http://techlaboratory.net/smartcart",
5+
"license": "MIT",
6+
"support": {
7+
"source": "https://github.com/techlab/SmartCart",
8+
"issues": "https://github.com/techlab/SmartCart/issues",
9+
"docs": "http://techlaboratory.net/smartcart/documentation"
10+
},
11+
"keywords": [
12+
"jquery",
13+
"cart",
14+
"paypal",
15+
"shopping",
16+
"bootstrap",
17+
"ui",
18+
"jquery-plugin"
19+
],
20+
"authors": [
21+
{
22+
"name": "Dipu Raj",
23+
"email": "hello@techlaboratory.net",
24+
"homepage": "http://dipuraj.me"
25+
}
26+
],
27+
"require": {
28+
"components/jquery": ">=1.9",
29+
"components/bootstrap": ">=3.0.0"
30+
}
31+
}

0 commit comments

Comments
 (0)