Skip to content
Browse files

[enhance] Dom: renamed remove_attribute_unsafe to remove_attribute

  • Loading branch information...
1 parent 13afae4 commit 6caa4f26bd4bb3dce9d3793ac73c2e47939b4e3d @Aqua-Ye Aqua-Ye committed Jan 15, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 CHANGELOG
  2. +1 −1 lib/plugins/opabsl/jsbsl/bslDom.js
  3. +2 −2 lib/stdlib/core/xhtml/dom.opa
View
2 CHANGELOG
@@ -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
View
2 lib/plugins/opabsl/jsbsl/bslDom.js
@@ -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);
}
View
4 lib/stdlib/core/xhtml/dom.opa
@@ -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
)

0 comments on commit 6caa4f2

Please sign in to comment.
Something went wrong with that request. Please try again.