Skip to content

Commit

Permalink
Initial open source release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerrick Long committed Jul 15, 2014
1 parent c67f271 commit 1b25e5c
Show file tree
Hide file tree
Showing 8 changed files with 408 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ build/Release
# Deployed apps should consider commenting this line out:
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules

# Operating system junk files
.DS_Store
24 changes: 24 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
options: {
report: 'gzip',
sourceMap: true,
preserveComments: 'some',
wrap: 'Talker'
},
dist: {
files: {
'dist/talker.min.js': [
'src/talker.js'
]
}
}
}
});

grunt.loadNpmTasks('grunt-contrib-uglify');

grunt.registerTask('default', ['uglify']);
};

11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
talker.js
=========

A tiny, promise-based library for cross-origin communication between frames and windows.
A tiny (under 4kB), promise-based library for cross-origin communication between frames and windows.

Building
--------

```
npm install -g grunt-cli
npm install
grunt
```
26 changes: 26 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "talker.js",
"version": "1.0.0",
"homepage": "https://github.com/secondstreet/talker.js",
"author": "Second Street <[email protected]>",
"description": "A tiny, promise-based library for cross-origin communication between frames and windows.",
"main": "dist/talker.js",
"moduleType": [
"globals"
],
"keywords": [
"iframe",
"postMessage",
"cross-domain",
"cross-origin",
"promise"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
7 changes: 7 additions & 0 deletions dist/talker.min.js

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

1 change: 1 addition & 0 deletions dist/talker.min.js.map

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

30 changes: 30 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "talker.js",
"version": "1.0.0",
"description": "A tiny, promise-based library for cross-origin communication between frames and windows.",
"main": "src/talker.js",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-uglify": "^0.5.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git://github.com/secondstreet/talker.js.git"
},
"keywords": [
"iframe",
"postMessage",
"cross-domain",
"cross-origin",
"promise"
],
"author": "Second Street <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/secondstreet/talker.js/issues"
},
"homepage": "https://github.com/secondstreet/talker.js"
}
Loading

0 comments on commit 1b25e5c

Please sign in to comment.