我用CommonJS的模块需要()除了反应,其是全球: // I don't want require React in every module:
// var React = require("react");
var MyComponent = React.createClass({ // React is global here
});
当运行上MyComponent的一个单元
我使用下面进入路径“我的文档”文件夹在Windows 7中,并通过其目录遍历: Dim diri As New DirectoryInfo(Environment.GetFolderPath(Environment.SpecialFolder.Personal))
For Each diri In diri.GetDirectories
MessageBox.Show(diri.Name)