Skip to content

Commit

Permalink
gitignore generated sources
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Jan 24, 2014
1 parent a2e3a57 commit 76c16af
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 130 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
npm-debug.log
lib
test
.coveralls.yml
coverage
34 changes: 0 additions & 34 deletions lib/client.js

This file was deleted.

52 changes: 0 additions & 52 deletions lib/services/base.js

This file was deleted.

38 changes: 0 additions & 38 deletions lib/services/products.js

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
"url": "https://github.com/sphereio/sphere-node-sdk/blob/master/LICENSE-MIT"
}
],
"main": "main",
"main": "./lib",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"build": "grunt build",
"postpublish": "rm -rf lib",
"test": "grunt coverage"
},
"dependencies": {
Expand Down
5 changes: 2 additions & 3 deletions src/coffee/services/base.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ class BaseService

###*
* Initialize the class.
* @param {Rest} [@_rest] an instance of the Rest client (sphere-node-connect)
* @param {Rest} [_rest] an instance of the Rest client (sphere-node-connect)
* @return {BaseService}
###
constructor: (@_rest)->
@_projectEndpoint = '/'
@

###*
* Fetch resource defined by [@_projectEndpoint]
* Fetch resource defined by [_projectEndpoint]
* @return {Promise} a promise, fulfilled with an Object or rejected with a SphereError
###
fetch: ->
Expand Down
3 changes: 1 addition & 2 deletions src/coffee/services/products.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ class ProductService extends BaseService

###*
* Initialize the class.
* @param {Rest} [@_rest] an instance of the Rest client (sphere-node-connect)
* @param {Rest} [_rest] an instance of the Rest client (sphere-node-connect)
* @return {ProductService}
###
constructor: (rest)->
super(rest)
@_projectEndpoint = '/'
@

###*
* The {@link ProductService} service.
Expand Down

0 comments on commit 76c16af

Please sign in to comment.