summaryrefslogtreecommitdiffstats
path: root/src/selector.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-05 21:53:40 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-05 21:53:40 +0100
commit9f2696e8a2cf7e4eebc1cc7e31027fe2070094fa (patch)
treee3c3fc10be69a8e461c27680736f89ffb84e4165 /src/selector.js
parent306b167b46bf500f710855e503b335e22ab99497 (diff)
downloadsvg.js-9f2696e8a2cf7e4eebc1cc7e31027fe2070094fa.tar.gz
svg.js-9f2696e8a2cf7e4eebc1cc7e31027fe2070094fa.zip
removed unused comments and files
Diffstat (limited to 'src/selector.js')
-rw-r--r--src/selector.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/selector.js b/src/selector.js
index 6ee1207..7208153 100644
--- a/src/selector.js
+++ b/src/selector.js
@@ -2,29 +2,6 @@ import { map } from './utils.js'
import { adopt } from './adopter.js'
import { registerMethods } from './methods.js'
-// // Method for getting an element by id
-// SVG.get = function (id) {
-// var node = document.getElementById(idFromReference(id) || id)
-// return SVG.adopt(node)
-// }
-//
-// // Select elements by query string
-// SVG.select = function (query, parent) {
-// return SVG.utils.map((parent || document).querySelectorAll(query), function (node) {
-// return SVG.adopt(node)
-// })
-// }
-//
-// SVG.$$ = function (query, parent) {
-// return SVG.utils.map((parent || document).querySelectorAll(query), function (node) {
-// return SVG.adopt(node)
-// })
-// }
-//
-// SVG.$ = function (query, parent) {
-// return SVG.adopt((parent || document).querySelector(query))
-// }
-
export default function baseFind (query, parent) {
return map((parent || document).querySelectorAll(query), function (node) {
return adopt(node)