Skip to content

Commit

Permalink
Just "Social icons" (remove "sharing")
Browse files Browse the repository at this point in the history
  • Loading branch information
adamschwartz committed Jun 4, 2014
1 parent 6b1622c commit e415b1c
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = (grunt) ->
compile:
expand: true
flatten: true
src: 'social-sharing-icons.coffee'
src: 'social-icons.coffee'
dest: './'
ext: '.js'

Expand All @@ -18,8 +18,8 @@ module.exports = (grunt) ->
banner: "/*! <%= pkg.name %> <%= pkg.version %> */\n"

dist:
src: 'social-sharing-icons.js'
dest: 'social-sharing-icons.min.js'
src: 'social-icons.js'
dest: 'social-icons.min.js'

grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-contrib-coffee'
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
## Social Sharing Icons
## Social Icons
> SVG social icons for your website
### Eager app store
Visit [Eager app store](http://eager.io)

### Manual include
```HTML
<script src="social-sharing-icons.min.js"></script>
<script src="social-icons.min.js"></script>
```

### Example usage

```javascript
SocialSharingIcons.init(document.querySelector('.social-sharing-icons'), {
SocialIcons.init(document.querySelector('.social-icons'), {
icons: {
facebook: {
enabled: true,
Expand All @@ -27,4 +27,4 @@ SocialSharingIcons.init(document.querySelector('.social-sharing-icons'), {
});
```

__[Demo](https://rawgit.com/EagerIO/SocialSharingIcons/master/example.html)__
__[Demo](https://rawgit.com/EagerIO/SocialIcons/master/example.html)__
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "social-sharing-icons",
"name": "social-icons",
"version": "0.0.9",
"description": "Social sharing icon links for a website.",
"description": "Social icon links for a website.",
"authors": [
"Adam Schwartz <adam.flynn.schwartz@gmail.com>"
],
Expand Down
8 changes: 4 additions & 4 deletions example.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<body>
<div class="social-sharing-icons"></div>
<script src="social-sharing-icons.min.js"></script>
<div class="social-icons"></div>
<script src="social-icons.min.js"></script>
<script>
SocialSharingIcons.init(document.querySelector('.social-sharing-icons'), {
SocialIcons.init(document.querySelector('.social-icons'), {
icons: {
facebook: {
enabled: true,
Expand All @@ -16,7 +16,7 @@
color: '#70c2b5'
});
</script>
<pre><code>SocialSharingIcons.init(document.querySelector('.social-sharing-icons'), {
<pre><code>SocialIcons.init(document.querySelector('.social-icons'), {
icons: {
facebook: {
enabled: true,
Expand Down
4 changes: 2 additions & 2 deletions install.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"body": [
{
"type": "script",
"src": "./social-sharing-icons.js"
"src": "./social-icons.js"
},
{
"type": "script",
"contents": "SocialSharingIcons.init(Eager.createElement(EAGER_OPTIONS.container), EAGER_OPTIONS)"
"contents": "SocialIcons.init(Eager.createElement(EAGER_OPTIONS.container), EAGER_OPTIONS)"
}
]
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "social-sharing-icons",
"version": "0.0.9",
"description": "Social sharing icon links for a website.",
"name": "social-icons",
"version": "0.1.0",
"description": "Social icon links for a website.",
"authors": [
"Adam Schwartz <adam.flynn.schwartz@gmail.com>"
],
Expand Down
2 changes: 1 addition & 1 deletion social-sharing-icons.coffee → social-icons.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SVG =
</svg>
"""

window.SocialSharingIcons =
window.SocialIcons =
init: (element, options) ->
return unless element

Expand Down
2 changes: 1 addition & 1 deletion social-sharing-icons.js → social-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
};

window.SocialSharingIcons = {
window.SocialIcons = {
init: function(element, options) {
var htmlString, icon, type, _ref;
if (!element) {
Expand Down
4 changes: 2 additions & 2 deletions social-sharing-icons.min.js → social-icons.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e415b1c

Please sign in to comment.