Permalink
Browse files

typed arrays: don't declare as module

TypedArrays is not a module, it is attached to the global object.
Don't register it with Node's module system.
  • Loading branch information...
1 parent b50d51e commit 3f7545442687c8c0968e788e4bd5f4ccd664e247 @deanm deanm committed with bnoordhuis Dec 23, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −1 src/node_extensions.h
  2. +0 −2 src/v8_typed_array.cc
View
@@ -22,7 +22,6 @@
NODE_EXT_LIST_START
NODE_EXT_LIST_ITEM(node_buffer)
-NODE_EXT_LIST_ITEM(node_typed_array)
#if HAVE_OPENSSL
NODE_EXT_LIST_ITEM(node_crypto)
#endif
View
@@ -861,5 +861,3 @@ int SizeOfArrayElementForType(v8::ExternalArrayType type) {
}
} // namespace v8_typed_array
-
-NODE_MODULE(node_typed_array, v8_typed_array::AttachBindings)

0 comments on commit 3f75454

Please sign in to comment.