Skip to content
Permalink
Browse files

new NN

  • Loading branch information...
shanebdavis committed May 18, 2016
1 parent 39306c5 commit 7706573b08f9f36c33ea69b50854d34a26e9048b
@@ -0,0 +1 @@
dist/
@@ -4,6 +4,7 @@
"description": "art-suite",
"main": "index.coffee",
"dependencies": {
"neptune-namespaces": "git://github.com/Imikimi-LLC/neptune-namespaces.git",
"art-foundation": "git://github.com/Imikimi-LLC/art-foundation.git",
"art-canvas": "git://github.com/Imikimi-LLC/art-canvas.git",
"art-events": "git://github.com/Imikimi-LLC/art-events.git",
@@ -1,6 +1,5 @@
# generated by Neptune Namespaces
# generated by Neptune Namespaces v0.1.0
# file: art/index.coffee

(module.exports = require './namespace')

require './suite'
@@ -1,4 +1,4 @@
# generated by Neptune Namespaces
# generated by Neptune Namespaces v0.1.0
# file: art/namespace.coffee

require 'neptune-namespaces'
@@ -1,6 +1,6 @@
# generated by Neptune Namespaces
# generated by Neptune Namespaces v0.1.0
# file: art/suite/index.coffee

(module.exports = require './namespace')
.addModules
All: require './all'
All: require './all'
@@ -1,4 +1,4 @@
# generated by Neptune Namespaces
# generated by Neptune Namespaces v0.1.0
# file: art/suite/namespace.coffee

Art = require '../namespace'
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
<top_tag animal="(ᵔᴥᵔ)" fruit="orange">
<child_tag1 fruit="apple"/>
<child_tag2 planet="mars">
<grand_child_tag animal="horse" color="red"/>
</child_tag2>
</top_tag>
Binary file not shown.
@@ -0,0 +1 @@
<single_tag/>
@@ -0,0 +1,5 @@
ArtMocha = require "art-foundation/src/art/dev_tools/test/mocha"

ArtMocha.run ({assert})->
self.testAssetRoot = "/test/assets"
require './tests'
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><meta charset="utf-8"/></head><body><script type="text/javascript" charset="utf-8" src="/test.js"></script></body></html>
@@ -0,0 +1,5 @@
# generated by Neptune Namespaces v0.1.0
# file: tests/art/index.coffee

(module.exports = require './namespace')
require './suite'
@@ -0,0 +1,7 @@
# generated by Neptune Namespaces v0.1.0
# file: tests/art/namespace.coffee

Tests = require '../namespace'
module.exports = Tests.Art ||
Tests.addNamespace class Art extends Neptune.Base
;
@@ -0,0 +1,5 @@
# generated by Neptune Namespaces v0.1.0
# file: tests/art/suite/index.coffee

(module.exports = require './namespace')
.includeInNamespace(require './suite')
@@ -0,0 +1,7 @@
# generated by Neptune Namespaces v0.1.0
# file: tests/art/suite/namespace.coffee

Art = require '../namespace'
module.exports = Art.Suite ||
Art.addNamespace class Suite extends Neptune.Base
;
@@ -0,0 +1,16 @@
ArtSuite = require 'art-suite'
{wordsArray, isFunction} = ArtSuite
{isNamespace} = Neptune

suite "Art.Suite", ->
for klass in wordsArray """
Foundation
Atomic
Canvas
Engine
React
Flux
"""
test "#{klass} defined", ->
assert.eq klass, ArtSuite[klass].name
assert.ok isNamespace(ArtSuite[klass]), "#{klass} is a Neptune Namespace"
@@ -0,0 +1,5 @@
# generated by Neptune Namespaces v0.1.0
# file: tests/index.coffee

(module.exports = require './namespace')
require './art'
@@ -0,0 +1,7 @@
# generated by Neptune Namespaces v0.1.0
# file: tests/namespace.coffee

require 'neptune-namespaces'
module.exports = Neptune.Tests ||
Neptune.addNamespace class Tests extends Neptune.Base
;
@@ -1,3 +1,3 @@
module.exports = (require "art-foundation/configure_webpack")
entries: "index"
entries: "index test"
dirname: __dirname

0 comments on commit 7706573

Please sign in to comment.
You can’t perform that action at this time.