Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zaide
BakuJS
Commits
7616faa2
Commit
7616faa2
authored
Apr 24, 2016
by
Zéfling
🎨
Browse files
correction baku.dom.name
parent
ae78e1cb
Changes
1
Show whitespace changes
Inline
Side-by-side
baku.dom.js
View file @
7616faa2
...
...
@@ -6,11 +6,11 @@ baku.dom = {
*/
'
id
'
:
function
(
id
)
{
return
document
.
getElementById
(
id
)
},
/**
* get a element by name ( name="xxx" )
* get a element
s
by name ( name="xxx" )
* @param name the name element
* @return HTMLElement
*/
'
name
'
:
function
(
name
)
{
return
document
.
getElementByName
(
name
)
},
'
name
'
:
function
(
name
)
{
return
document
.
getElement
s
ByName
(
name
)
},
/**
* get all elements that containts all classes list in params ( class="xxx yyy" )
* @param classes class list (separete with space)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment