mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-12 11:15:14 +02:00
Fix spelling (#534)
This commit is contained in:
parent
c4539c1a7d
commit
de377775a9
@ -36,10 +36,10 @@
|
||||
### 0.10.0
|
||||
#### Added
|
||||
- Response information to drivers. [#391](https://github.com/MontFerret/ferret/pull/391), [#450](https://github.com/MontFerret/ferret/pull/450)
|
||||
- Сompilation check whether parameter values are provided. [#396](https://github.com/MontFerret/ferret/pull/396)
|
||||
- Compilation check whether parameter values are provided. [#396](https://github.com/MontFerret/ferret/pull/396)
|
||||
- Allowed HTTP response codes to HTTP driver. [#398](https://github.com/MontFerret/ferret/pull/398)
|
||||
- IO functions to standard library. [#403](https://github.com/MontFerret/ferret/pull/403), [#405](https://github.com/MontFerret/ferret/pull/405), [#452](https://github.com/MontFerret/ferret/pull/452)
|
||||
- Сompilation check whether a variable name is unique. [#416](https://github.com/MontFerret/ferret/pull/416)
|
||||
- Compilation check whether a variable name is unique. [#416](https://github.com/MontFerret/ferret/pull/416)
|
||||
- Loading HTML page into memory. Supported by all drivers. [#413](https://github.com/MontFerret/ferret/pull/434)
|
||||
|
||||
#### Fixed
|
||||
|
@ -35,7 +35,7 @@ export default class FormsPage extends React.Component {
|
||||
});
|
||||
};
|
||||
|
||||
this.handleTtextarea = (evt) => {
|
||||
this.handleTextarea = (evt) => {
|
||||
evt.preventDefault();
|
||||
|
||||
this.setState({
|
||||
@ -110,7 +110,7 @@ export default class FormsPage extends React.Component {
|
||||
id: "textarea_input",
|
||||
rows:"5",
|
||||
className: "form-control",
|
||||
onChange: this.handleTtextarea
|
||||
onChange: this.handleTextarea
|
||||
}
|
||||
),
|
||||
e("small", {
|
||||
|
@ -101,7 +101,7 @@ func copyFromNamespace(fns *core.Functions, namespace string) error {
|
||||
namespace += "::"
|
||||
|
||||
// core.Functions cast every function name to upper case. Thus
|
||||
// namespace also shoud be in upper case.
|
||||
// namespace also should be in upper case.
|
||||
namespace = strings.ToUpper(namespace)
|
||||
|
||||
for _, name := range fns.Names() {
|
||||
@ -113,7 +113,7 @@ func copyFromNamespace(fns *core.Functions, namespace string) error {
|
||||
|
||||
if _, exists := fns.Get(noprefix); exists {
|
||||
return errors.Errorf(
|
||||
`collision occured: "%s" already registered`,
|
||||
`collision occurred: "%s" already registered`,
|
||||
noprefix,
|
||||
)
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
// Match reports whether name matches the pattern.
|
||||
// @param pattern (String) - The pattern.
|
||||
// @param name (String) - The name.
|
||||
// @returns (Boolean) - True if the name mathes the pattern.
|
||||
// @returns (Boolean) - True if the name matches the pattern.
|
||||
func Match(_ context.Context, args ...core.Value) (core.Value, error) {
|
||||
err := core.ValidateArgs(args, 2, 2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user