Skip to content

Commit 1b25e5c

Browse files
author
Kerrick Long
committed
Initial open source release
1 parent c67f271 commit 1b25e5c

8 files changed

+408
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ build/Release
2323
# Deployed apps should consider commenting this line out:
2424
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
2525
node_modules
26+
27+
# Operating system junk files
28+
.DS_Store

Gruntfile.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = function(grunt) {
2+
grunt.initConfig({
3+
uglify: {
4+
options: {
5+
report: 'gzip',
6+
sourceMap: true,
7+
preserveComments: 'some',
8+
wrap: 'Talker'
9+
},
10+
dist: {
11+
files: {
12+
'dist/talker.min.js': [
13+
'src/talker.js'
14+
]
15+
}
16+
}
17+
}
18+
});
19+
20+
grunt.loadNpmTasks('grunt-contrib-uglify');
21+
22+
grunt.registerTask('default', ['uglify']);
23+
};
24+

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
talker.js
22
=========
33

4-
A tiny, promise-based library for cross-origin communication between frames and windows.
4+
A tiny (under 4kB), promise-based library for cross-origin communication between frames and windows.
5+
6+
Building
7+
--------
8+
9+
```
10+
npm install -g grunt-cli
11+
npm install
12+
grunt
13+
```

bower.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "talker.js",
3+
"version": "1.0.0",
4+
"homepage": "https://github.com/secondstreet/talker.js",
5+
"author": "Second Street <[email protected]>",
6+
"description": "A tiny, promise-based library for cross-origin communication between frames and windows.",
7+
"main": "dist/talker.js",
8+
"moduleType": [
9+
"globals"
10+
],
11+
"keywords": [
12+
"iframe",
13+
"postMessage",
14+
"cross-domain",
15+
"cross-origin",
16+
"promise"
17+
],
18+
"license": "MIT",
19+
"ignore": [
20+
"**/.*",
21+
"node_modules",
22+
"bower_components",
23+
"test",
24+
"tests"
25+
]
26+
}

dist/talker.min.js

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/talker.min.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "talker.js",
3+
"version": "1.0.0",
4+
"description": "A tiny, promise-based library for cross-origin communication between frames and windows.",
5+
"main": "src/talker.js",
6+
"devDependencies": {
7+
"grunt": "^0.4.5",
8+
"grunt-contrib-uglify": "^0.5.0"
9+
},
10+
"scripts": {
11+
"test": "echo \"Error: no test specified\" && exit 1"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "git://github.com/secondstreet/talker.js.git"
16+
},
17+
"keywords": [
18+
"iframe",
19+
"postMessage",
20+
"cross-domain",
21+
"cross-origin",
22+
"promise"
23+
],
24+
"author": "Second Street <[email protected]>",
25+
"license": "MIT",
26+
"bugs": {
27+
"url": "https://github.com/secondstreet/talker.js/issues"
28+
},
29+
"homepage": "https://github.com/secondstreet/talker.js"
30+
}

0 commit comments

Comments
 (0)