Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

update "scribe-common" includes to include "src" #217

Merged
merged 4 commits into from
Jul 16, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Plumbing.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function (pipelines) {
preserveLicenseComments: false,
paths: {
'lodash-amd': '../bower_components/lodash-amd',
'scribe-common': '../bower_components/scribe-common/src'
'scribe-common': '../bower_components/scribe-common'
}
});

Expand Down
2 changes: 1 addition & 1 deletion examples/amd.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<script>
require({
paths: {
'scribe-common': '../bower_components/scribe-common/src',
'scribe-common': '../bower_components/scribe-common',
'lodash-amd': '../bower_components/lodash-amd',
'html-janitor': '../bower_components/html-janitor/html-janitor'
}
Expand Down
24 changes: 0 additions & 24 deletions src/api/element.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/dom-observer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
define([
'lodash-amd/modern/arrays/flatten',
'lodash-amd/modern/collections/toArray',
'scribe-common/element',
'scribe-common/node'
'scribe-common/src/element',
'scribe-common/src/node'
], function (
flatten,
toArray,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/core/formatters/html/enforce-p-elements.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
define([
'lodash-amd/modern/arrays/last',
'../../../../api/element'
'scribe-common/src/element'
], function (
last,
element
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define([
'scribe-common/element',
'scribe-common/src/element',
'lodash-amd/modern/collections/contains'
], function (
element,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/core/patches/commands/insert-html.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['../../../../api/element'], function (element) {
define(['scribe-common/src/element'], function (element) {

'use strict';

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/core/patches/commands/insert-list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define(['../../../../api/element',
'scribe-common/node'], function (element, nodeHelpers) {
define(['scribe-common/src/element',
'scribe-common/src/node'], function (element, nodeHelpers) {

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/core/patches/events.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['../../../api/element'], function (element) {
define(['scribe-common/src/element'], function (element) {

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script>
require.config({
paths: {
'scribe-common': '../../bower_components/scribe-common/src',
'scribe-common': '../../bower_components/scribe-common',
'lodash-amd': '../../bower_components/lodash-amd',
'html-janitor': '../../bower_components/html-janitor/html-janitor'
}
Expand Down