Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the Documentation for CEP_8.X #504

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions CEP_8.x/Documentation/CEP 8.0 HTML Extension Cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ Here is the definition for `CSInterface.dispatchEvent`. Refer to `CSInterface.js

```js
/**
* Triggers a CEP event programmatically. Yoy can use it to dispatch
* Triggers a CEP event programmatically. You can use it to dispatch
* an event of a predefined type, or of a type you have defined.
*
* @param event A \c CSEvent object.
Expand All @@ -1010,7 +1010,7 @@ Here are three samples to demonstrate how to dispatch an event in JavaScript.
var csInterface = new CSInterface();
var event = new CSEvent("com.adobe.cep.test", "APPLICATION");
event.data = "This is a test!";
cSInterface.dispatchEvent(event);
csInterface.dispatchEvent(event);
```


Expand All @@ -1023,7 +1023,7 @@ var event = new CSEvent();
event.type = "com.adobe.cep.test";
event.scope = "APPLICATION";
event.data = "This is a test!";
cSInterface.dispatchEvent(event);
csInterface.dispatchEvent(event);
```


Expand All @@ -1036,7 +1036,7 @@ var obj = new Object();
obj.a = "a";
obj.b = "b";
event.data = obj;
cSInterface.dispatchEvent(event);
csInterface.dispatchEvent(event);
```


Expand Down