Skip to content

Commit

Permalink
Rename dom-for in file paths to domFor
Browse files Browse the repository at this point in the history
  • Loading branch information
barneycarroll committed Jun 10, 2022
1 parent 7baa2fc commit 5ab2752
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var hyperscript = require("./hyperscript")
var request = require("./request")
var mountRedraw = require("./mount-redraw")
var domFor = require("./render/dom-for")
var domFor = require("./render/>domFor")

var m = function m() { return hyperscript.apply(this, arguments) }
m.m = hyperscript
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion render/render.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict"

var Vnode = require("../render/vnode")
var df = require("../render/dom-for")
var df = require("../render/>domFor")
var delayedRemoval = df.delayedRemoval
var domFor = df.domFor

Expand Down
8 changes: 4 additions & 4 deletions render/tests/test-dom-for.js → render/tests/test-domFor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
const o = require("ospec")
const components = require("../../test-utils/components")
const domMock = require("../../test-utils/domMock")
const vdom = require("../../render/render")
const m = require("../../render/hyperscript")
const fragment = require("../../render/fragment")
const domFor = require("../../render/dom-for").domFor
const vdom = require("../render")
const m = require("../hyperscript")
const fragment = require("../fragment")
const domFor = require("../../render/>domFor").domFor

o.spec("domFor(vnode)", function() {
let $window, root, render
Expand Down

0 comments on commit 5ab2752

Please sign in to comment.