diff --git a/.gitignore b/.gitignore index e7faf75..3645007 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ Icon # Files that might appear on external disk .Spotlight-V100 .Trashes +.grunt diff --git a/.npmignore b/.npmignore index f1250e5..300e945 100644 --- a/.npmignore +++ b/.npmignore @@ -2,3 +2,4 @@ support test examples *.sock +.grunt diff --git a/Gruntfile.js b/Gruntfile.js index 170e0e1..1cb1b8d 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -67,13 +67,26 @@ module.exports = function ConfigureGruntService(grunt) { copy: { docs: { files: [{ - src: ['docs/lib/intercom.io.js.html'], + src: './docs/intercom.io.js.html', dest: './docs/index.html' - }, { - src: ['docs/lib/*.html'], - dest: './docs/' }] } + }, + 'string-replace': { + docs: { + files: [{ + expand: true, + cwd: 'docs/lib/', + src: '*', + dest: 'docs/' + }], + options: { + replacements: [{ + pattern: /\.\.\//g, + replacement: './' + }] + } + } } }); @@ -87,7 +100,7 @@ module.exports = function ConfigureGruntService(grunt) { // Running `grunt doc` will generate documentation for Quad. // The documentation will be put into the `./docs` folder in project's root // folder. - grunt.registerTask('doc', ['docker', 'shell:sweetenDocker', 'copy:docs']); + grunt.registerTask('doc', ['docker', 'shell:sweetenDocker', 'string-replace:docs', 'copy:docs', 'gh-pages']); // @note `grunt docs` provides an alias for the `grunt doc` task grunt.registerTask('docs', ['doc']); }; diff --git a/History.md b/History.md index 279f1be..30cfea9 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,9 @@ +1.0.8 / 2015-4-25 +================== + + * Added `intercom.getPages` support + 1.0.7 / 2015-3-06 ================== diff --git a/LICENSE.md b/LICENSE.md index b7699c5..ff13f78 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # The MIT License (MIT) -Copyright (c) 2013-2014 Tarun Chaudhry <tarunc92@gmail.com> +Copyright (c) 2013-2015 Tarun Chaudhry <tarunc92@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Readme.md b/Readme.md index f65ef56..e697e00 100644 --- a/Readme.md +++ b/Readme.md @@ -177,7 +177,7 @@ __Note__: Every method returns a promise but accepts callbacks too. (The MIT License) -Copyright (c) 2014 Mike McDonald <mcdonald@firebase.com> +Copyright (c) 2013-2015 Mike McDonald <mcdonald@firebase.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/docs/IntercomError.js.html b/docs/IntercomError.js.html index c44fa87..9ddd368 100644 --- a/docs/IntercomError.js.html +++ b/docs/IntercomError.js.html @@ -3,16 +3,16 @@ IntercomError.js - - + + - - - - - + + + + +
-
-

-Module dependencies. -

+

Module dependencies.

4  var util = require('util');
-5
-6
+5  
+6  
 7  
@@ -61,10 +58,7 @@

IntercomError.js

-
-

-AbstractError error. -

+

AbstractError error.

@@ -77,16 +71,16 @@

IntercomError.js

-
11
+        
11  
 12  function AbstractError(message, constr) {
 13    Error.apply(this, arguments);
-14    Error.captureStackTrace(this, constr || this)
-15
+14    Error.captureStackTrace(this, constr || this);
+15  
 16    this.name = 'AbstractError';
 17    this.message = message;
-18  };
-19
-20
+18  }
+19  
+20  
 21  
@@ -96,19 +90,16 @@

IntercomError.js

-
-

-Inherit from Error. -

+

Inherit from Error.

-
22
+        
22  
 23  util.inherits(AbstractError, Error);
-24
-25
+24  
+25  
 26  
@@ -118,10 +109,7 @@

IntercomError.js

-
-

-IntercomError error. -

+

IntercomError error.

@@ -134,14 +122,14 @@

IntercomError.js

-
29
+        
29  
 30  function IntercomError(message) {
 31    AbstractError.apply(this, arguments);
 32    this.name = 'IntercomError';
 33    this.message = message;
-34  };
-35
-36
+34  }
+35  
+36  
 37  
@@ -151,20 +139,17 @@

IntercomError.js

-
-

-Inherit from AbstractError. -

+

Inherit from AbstractError.

-
38
+        
38  
 39  util.inherits(IntercomError, AbstractError);
-40
-41
-42
+40  
+41  
+42  
 43  
@@ -174,16 +159,13 @@

IntercomError.js

-
-

-Expose IntercomError. -

+

Expose IntercomError.

-
44
+        
44  
 45  module.exports = IntercomError;
 46  
diff --git a/docs/docco.css b/docs/docco.css index c9fc822..62c2797 100644 --- a/docs/docco.css +++ b/docs/docco.css @@ -30,3 +30,9 @@ .doc-tag * { color: #222; } .doc-tag { color: #777; } .doc-tag * { color: #222; } +.doc-tag { color: #777; } +.doc-tag * { color: #222; } +.doc-tag { color: #777; } +.doc-tag * { color: #222; } +.doc-tag { color: #777; } +.doc-tag * { color: #222; } diff --git a/docs/index.html b/docs/index.html index f091a76..22afc54 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,16 +3,16 @@ intercom.io.js - - + + - - - - - + + + + +