Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
787a2a71
Commit
787a2a71
authored
Jan 06, 2018
by
happy-dev
Committed by
JC Brand
Jan 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos ? (#981)
parent
96742a66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
docs/source/plugin_development.rst
docs/source/plugin_development.rst
+5
-5
No files found.
docs/source/plugin_development.rst
View file @
787a2a71
...
...
@@ -10,7 +10,7 @@ Writing a plugin
Introduction
------------
Converse.js exposes a plugin architecture though which developers can modify
Converse.js exposes a plugin architecture th
r
ough which developers can modify
and extend its functionality.
Using plugins is good engineering practice, and using them is the *only* recommended
...
...
@@ -29,18 +29,18 @@ with the ability to "hook in" to the core code and other plugins.
Converse.js itself is composed out of plugins and uses pluggable.js. Take a look at the
`src <https://github.com/jcbrand/converse.js/tree/master/src>`_ directory. All
the files that follow the patter `converse-*.js` are plugins.
the files that follow the patter
n
`converse-*.js` are plugins.
Plugins (by way of Pluggable.js) enable developers to extend and override existing objects,
functions and the `Backbone <http://backbonejs.org/>`_ models and views that make up
Converse.js.
Besides that, in plugins you can also write new Backbone (or other) models and views,
in order to add new functionality.
in order to add
a
new functionality.
To more deeply understand how this plugin architecture works, please read the
`pluggable.js documentation <https://jcbrand.github.io/pluggable.js/>`_
and to understand its inner workins, please refer to the `annotated source code
and to understand its inner workin
g
s, please refer to the `annotated source code
<https://jcbrand.github.io/pluggable.js/docs/pluggable.html>`_.
.. note:: **Trying out a plugin in JSFiddle**
...
...
@@ -59,7 +59,7 @@ and to understand its inner workins, please refer to the `annotated source code
There is a `Yeoman <http://yeoman.io/>`_ code generator, called
`generator-conversejs <https://github.com/jcbrand/generator-conversejs>`_, which
you can use to generate plugin scaffolding/boilerplate
, which you can use
as a
you can use to generate plugin scaffolding/boilerplate
that serves
as a
starting point and basis for writing your plugin.
Please refer to the `generator-conversejs <https://github.com/jcbrand/generator-conversejs>`_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment