Skip to content

Commit ce97453

Browse files
Merge pull request #320 from matestack/fix_spelling_errors
Change spelling of behaviour to behavior
2 parents 8938cf6 + 5de1765 commit ce97453

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/issue_template.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<!-- This is a template only, remove/add sections below as appropriate (e.g. for a new feature, there might be no 'current behaviour'.) -->
1+
<!-- This is a template only, remove/add sections below as appropriate (e.g. for a new feature, there might be no 'current behavior'.) -->
22

33
<!-- First indicate whether you want to request an ENHANCEMENT or report a BUG by using the correct Github label in the side panel* -->
44

5-
**What is the current behaviour?**
5+
**What is the current behavior?**
66

7-
<!-- add current behaviour here -->
7+
<!-- add current behavior here -->
88

9-
**If the current behaviour is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug might get fixed faster if we can run your code and it doesn't have extra dependencies. Add a link to a sample repo and/or any relevant code below:**
9+
**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug might get fixed faster if we can run your code and it doesn't have extra dependencies. Add a link to a sample repo and/or any relevant code below:**
1010

1111
<!-- add additional links/info here -->
1212

13-
**What is the expected behaviour?**
13+
**What is the expected behavior?**
1414

15-
<!-- add expected behaviour here -->
15+
<!-- add expected behavior here -->
1616

1717
**Which versions of Matestack, and which browser/OS are affected by this issue? Did this work in previous versions of Matestack?**
1818

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ none
5353

5454
### Bugfixes
5555

56-
* Unexpected behaviour when creating a record in progress by jonasjabari
56+
* Unexpected behavior when creating a record in progress by jonasjabari
5757
* couldn't find file 'matestack_ui_core_manifest.js' on dummy app by jonasjabari
5858
* Add For Attribute to Stand Alone Label Component by bdlb77
5959
* Form component doesn't work on component-level by jonasjabari

docs/architecture/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ The Cells get wrapped by a `component` tag. `dynamic_tag_attributes` returns a h
399399
- `"ref": component_id` may be used to identify the specific instance of this Component on one Page
400400
- `:params": @url_params.to_json` is used to pass request params to the Vue.js Component instance
401401
- `":component-config": @component_config.to_json` is used to pass configuration to the Vue.js Component instance
402-
- this is very useful if a Vue.js component relies on meta data to perfom its desired behaviour during runtime
402+
- this is very useful if a Vue.js component relies on meta data to perfom its desired behavior during runtime
403403
- example: the dynamic core Component `transition` gets a `path` config when used in a `response` method. As the value is just a symbol referencing a rails route, the Component needs to translate the symbol to a string on the server-side. This string is then added to the `@component_config` and parsed by the `transition` Vue.js component instance during browser runtime
404404
- `"inline-template": true` needs to be set in order to tell Vue.js that this component uses the server-side rendered markup as template.
405405

docs/concepts/component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This document aims to give a brief introducing to the different kinds of compone
88

99
## Core Components
1010

11-
See [here](/docs/components/README.md) for a list of available `core components`. In general, they are separated into HTML-only **static** components and **dynamic** components that come with Javascript-powered, dynamic behaviour.
11+
See [here](/docs/components/README.md) for a list of available `core components`. In general, they are separated into HTML-only **static** components and **dynamic** components that come with Javascript-powered, dynamic behavior.
1212

1313
If you miss a component that you think we're missing in the `core components` right now, [create an issue](https://github.com/basemate/matestack-ui-core/issues/new) in our GitHub!
1414

spec/rails_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
# instead of true.
4242
config.use_transactional_fixtures = true
4343

44-
# RSpec Rails can automatically mix in different behaviours to your tests
44+
# RSpec Rails can automatically mix in different behaviors to your tests
4545
# based on their file location, for example enabling you to call `get` and
4646
# `post` in specs under `spec/controllers`.
4747
#
48-
# You can disable this behaviour by removing the line below, and instead
48+
# You can disable this behavior by removing the line below, and instead
4949
# explicitly tag your specs with their type, e.g.:
5050
#
5151
# RSpec.describe UsersController, :type => :controller do

spec/usage/base/component_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ def response
297297

298298
end
299299

300-
it "components can use async component to wrap static components and add basic dynamic behaviour" #not working right now
300+
it "components can use async component to wrap static components and add basic dynamic behavior" #not working right now
301301

302-
it "pages can use async component to wrap static components and add basic dynamic behaviour" do
302+
it "pages can use async component to wrap static components and add basic dynamic behavior" do
303303

304304
module Matestack::Ui::Core::SomeStaticComponent
305305
class SomeStaticComponent < Matestack::Ui::StaticComponent

0 commit comments

Comments
 (0)