Skip to content

Commit

Permalink
[enhance] Dom: renamed remove_attribute_unsafe to remove_attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Ye committed Jan 15, 2013
1 parent 13afae4 commit 6caa4f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Expand Up @@ -4,7 +4,7 @@ Updated APIs:
- added SHA-512 functions

* Dom:
- added remove_attribute_unsafe
- added remove_attribute

* Plugins
- Bootsrap.Modal: removed aria-labelledby and tabindex
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/opabsl/jsbsl/bslDom.js
Expand Up @@ -678,7 +678,7 @@ function set_attribute_unsafe(dom, name, value) {
/**
* @register {Dom.private.element, string -> void}
*/
function remove_attribute_unsafe(dom, name) {
function remove_attribute(dom, name) {
dom.removeAttr(name);
}

Expand Down
4 changes: 2 additions & 2 deletions lib/stdlib/core/xhtml/dom.opa
Expand Up @@ -1280,9 +1280,9 @@ Dom = {{
void
)

remove_attribute_unsafe(dom:dom, name:string): void =
remove_attribute(dom:dom, name:string): void =
(
do %% BslDom.remove_attribute_unsafe %%(of_selection(dom), name)
do %% BslDom.remove_attribute %%(of_selection(dom), name)
void
)

Expand Down

0 comments on commit 6caa4f2

Please sign in to comment.