Skip to content

Commit

Permalink
importing content-kit-compiler from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoitch committed Jan 30, 2015
1 parent ed3d0a0 commit 26cbd84
Show file tree
Hide file tree
Showing 49 changed files with 39 additions and 799 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"qunitjs": "^1.15.0"
},
"devDependencies": {
"content-kit-utils": "git://github.com/bustlelabs/content-kit-utils#master"
"content-kit-utils": "git://github.com/bustlelabs/content-kit-utils#master",
"content-kit-compiler": "git://github.com/bustlelabs/content-kit-compiler#master"
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import TextFormatCommand from './text-format';
import { getSelectionBlockTagName } from '../utils/selection-utils';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

var RegExpHeadingTag = /^(h1|h2|h3|h4|h5|h6)$/i;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import TextFormatCommand from './text-format';
import { getSelectionBlockElement, selectNode } from '../utils/selection-utils';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

function FormatBlockCommand(options) {
options = options || {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FormatBlockCommand from './format-block';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

function HeadingCommand() {
FormatBlockCommand.call(this, {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Command from './base';
import Message from '../views/message';
import Type from '../../content-kit-compiler/types/type';
import BlockModel from '../../content-kit-compiler/models/block';
import Type from 'node_modules/content-kit-compiler/src/types/type';
import BlockModel from 'node_modules/content-kit-compiler/src/models/block';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import { FileUploader } from '../utils/http-utils';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import TextFormatCommand from './text-format';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

function ItalicCommand() {
TextFormatCommand.call(this, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import TextFormatCommand from './text-format';
import Prompt from '../views/prompt';
import { getSelectionTagName } from '../utils/selection-utils';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

var RegExpHttp = /^https?:\/\//i;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import TextFormatCommand from './text-format';
import { getSelectionBlockElement, selectNode, getSelectionTagName } from '../utils/selection-utils';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

function ListCommand(options) {
TextFormatCommand.call(this, options);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Command from './base';
import Prompt from '../views/prompt';
import Message from '../views/message';
import EmbedModel from '../../content-kit-compiler/models/embed';
import EmbedModel from 'node_modules/content-kit-compiler/src/models/embed';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import { OEmbedder } from '../utils/http-utils';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ListCommand from './list';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

function OrderedListCommand() {
ListCommand.call(this, {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FormatBlockCommand from './format-block';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

function QuoteCommand() {
FormatBlockCommand.call(this, {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FormatBlockCommand from './format-block';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

function SubheadingCommand() {
FormatBlockCommand.call(this, {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ListCommand from './list';
import { inherit } from 'node_modules/content-kit-utils/src/object-utils';
import Type from '../../content-kit-compiler/types/type';
import Type from 'node_modules/content-kit-compiler/src/types/type';

function UnorderedListCommand() {
ListCommand.call(this, {
Expand Down
81 changes: 0 additions & 81 deletions src/js/content-kit-compiler/compiler.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/js/content-kit-compiler/models/block.js

This file was deleted.

43 changes: 0 additions & 43 deletions src/js/content-kit-compiler/models/embed.js

This file was deleted.

18 changes: 0 additions & 18 deletions src/js/content-kit-compiler/models/markup.js

This file was deleted.

33 changes: 0 additions & 33 deletions src/js/content-kit-compiler/models/model.js

This file was deleted.

Loading

0 comments on commit 26cbd84

Please sign in to comment.